flutter/examples/platform_channel
Greg Spencer 5d0d1b038f
Add Bash and Zsh command-line completion for flutter (#19243)
This uses @kevmoo's completion package to do command line completion for flutter, and a new command "bash-completion" (with alias "zsh-completion") that will output the necessary shell script setup code, and adds the hidden command "completion" that does the actual completion.

Because it adds a dependency, I also had to do flutter update-packages --force-upgrade.

Fixes #18988.
2018-07-13 21:24:36 -07:00
..
android Upgradle Gradle dependencies to match Android Studio 3.1.2 (#18080) 2018-06-01 09:57:40 +02:00
ios Enable universal iOS binaries for examples (#17357) 2018-05-07 14:13:40 -07:00
lib Fix strong mode error in platform_channel/main.dart (#15624) 2018-03-16 16:21:33 -07:00
test_driver enable always_put_control_body_on_new_line lint (#9950) 2017-05-10 09:41:55 +02:00
pubspec.yaml Add Bash and Zsh command-line completion for flutter (#19243) 2018-07-13 21:24:36 -07:00
README.md Rename platform_services to platform_channel (#9018) 2017-03-27 11:17:31 +02:00

Example of calling platform services from Flutter

This project demonstrates how to connect a Flutter app to platform specific services.

You can read more about accessing platform and third-party services in Flutter.

iOS

You can use the commands flutter build and flutter run from the app's root directory to build/run the app or you can open ios/Runner.xcworkspace in Xcode and build/run the project as usual.

Android

You can use the commands flutter build and flutter run from the app's root directory to build/run the app or to build with Android Studio, open the android folder in Android Studio and build the project as usual.