mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +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 `///`). - [x] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-devrel channel on [Discord]. <!-- Links --> [Flutter Style Guide]: https://github.com/flutter/flutter/blob/master/docs/contributing/Style-guide-for-Flutter-repo.md [CLA]: https://cla.developers.google.com/ [Discord]: https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md [Contributors Guide]: https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
35 lines
1013 B
YAML
35 lines
1013 B
YAML
name: flutter_module_using_plugin
|
|
description: An example Flutter module that uses a plugin.
|
|
|
|
version: 1.0.0+1
|
|
|
|
environment:
|
|
sdk: ^3.4.0-0
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
provider: ^6.0.2
|
|
url_launcher: ^6.0.20
|
|
sensors_plus: ^5.0.1
|
|
|
|
dev_dependencies:
|
|
analysis_defaults:
|
|
path: ../../../analysis_defaults
|
|
flutter_test:
|
|
sdk: flutter
|
|
|
|
flutter:
|
|
uses-material-design: true
|
|
|
|
# This section identifies your Flutter project as a module meant for
|
|
# embedding in a native host app. These identifiers should _not_ ordinarily
|
|
# be changed after generation - they are used to ensure that the tooling can
|
|
# maintain consistency when adding or modifying assets and plugins.
|
|
# They also do not have any bearing on your native host application's
|
|
# identifiers, which may be completely independent or the same as these.
|
|
module:
|
|
androidX: true
|
|
androidPackage: dev.flutter.example.flutter_module_using_plugin
|
|
iosBundleIdentifier: dev.flutter.example.flutterModuleUsingPlugin
|