mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
* Start enforcing use_key_in_widget_constructors and file_names lints * dart format * analysis fixes * analysis fixes, pt2 * analysis fixes, part 3 * Revert platform_design (test failure) * More reverts * Notate why we aren't enforcing a lint
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.