mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
restructured the add to app samples (#698)
This commit is contained in:
32
add_to_app/plugin/flutter_module_using_plugin/pubspec.yaml
Normal file
32
add_to_app/plugin/flutter_module_using_plugin/pubspec.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
name: flutter_module_using_plugin
|
||||
description: An example Flutter module that uses a plugin.
|
||||
|
||||
version: 1.0.0+1
|
||||
|
||||
environment:
|
||||
sdk: ">=2.6.0-dev <3.0.0"
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
sdk: flutter
|
||||
provider: ^4.1.0
|
||||
url_launcher: ^5.2.5
|
||||
sensors: ^0.4.2
|
||||
|
||||
dev_dependencies:
|
||||
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
|
||||
Reference in New Issue
Block a user