mirror of https://github.com/flutter/samples.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
1004 B
23 lines
1004 B
# Platform Channel Samples
|
|
|
|
A sample app which demonstrates how to use `MethodChannel`, `EventChannel`, `BasicMessageChannel` and `MessageCodec` in Flutter.
|
|
|
|
This sample is currently being built. Not all platforms and functionality are in place.
|
|
|
|
## Goals
|
|
|
|
* Demonstrate how to use `MethodChannel` to invoke platform methods.
|
|
* Demonstrate how to use `EventChannel` to listen continuous value changes from the platform.
|
|
* Demonstrate how to use `BasicMessageChanngel` and `MessageCodec` to send messages of different types across the platform.
|
|
|
|
## Questions/issues
|
|
|
|
If you have a general question about Platform Channels in Flutter, the
|
|
best places to go are:
|
|
|
|
* [The FlutterDev Google Group](https://groups.google.com/forum/#!forum/flutter-dev)
|
|
* [The Flutter Gitter channel](https://gitter.im/flutter/flutter)
|
|
* [StackOverflow](https://stackoverflow.com/questions/tagged/flutter)
|
|
|
|
If you run into an issue with the sample itself, please file an issue [here](https://github.com/flutter/samples/issues).
|