mirror of
https://github.com/flutter/samples.git
synced 2026-03-22 04:17:50 +00:00
## Pre-launch Checklist - [x] I read the [Flutter Style Guide] _recently_, and have followed its advice. - [x] I signed the [CLA]. - [x] I read the [Contributors Guide]. - [x] I updated/added relevant documentation (doc comments with `///`). - [ ] All existing and new tests are passing. --------- Co-authored-by: David Iglesias <ditman@gmail.com> Co-authored-by: Mark Thompson <2554588+MarkTechson@users.noreply.github.com> Co-authored-by: John Ryan <ryjohn@google.com>
federated_plugin
A Flutter plugin sample that shows how to implement a federated plugin to retrieve current battery level on different platforms.
This sample is currently being built. Not all platforms and functionality are in place.
Goals for this sample
- Show how to develop a federated plugin which supports Android, iOS, web & desktop.
- Demonstrate how to use Platform Channels to communicate with different platforms including Web and Desktop.
Questions/issues
If you have a general question about Flutter, the best places to go are:
If you run into an issue with the sample itself, please file an issue here.