1
0
mirror of https://github.com/flutter/samples.git synced 2026-03-22 04:17:50 +00:00
Files
samples/add_to_app/android_view
Matt Boetger 023e072b80 Add Content Sizing Sample (#2787)
This is a sample add-to-app Android project based off the existing add-to-app Android sample project.  This one makes minor changes to show how content-sizing can be achieved.

Adding a content resizing sample for Android to support
https://github.com/flutter/flutter/pull/179753
2026-01-30 19:16:21 +00:00
..

android_view

An example of an Android app that integrates a Flutter add-to-app module at a view level.

tl;dr

If you're just looking to get up and running quickly, these bash commands will fetch packages and set up dependencies (note that the above commands assume you're building for both iOS and Android, with both toolchains installed):

  #!/bin/bash
  set -e

  cd flutter_module_using_plugin/
  flutter pub get

  # For Android builds:
  open -a "Android Studio" ../android_view # macOS only
  # Or open the ../android_fullscreen folder in Android Studio for other platforms.

Getting Started

For more information about Flutter, check out flutter.dev.

For instructions on how to integrate Flutter modules into your existing applications, see Flutter's add-to-app documentation.