Commit 9fd2e83a authored by tongzifang's avatar tongzifang

add boost

parent f141ac00
...@@ -117,6 +117,15 @@ packages: ...@@ -117,6 +117,15 @@ packages:
description: flutter description: flutter
source: sdk source: sdk
version: "0.0.0" version: "0.0.0"
flutter_boost:
dependency: transitive
description:
path: "."
ref: "4.2.0"
resolved-ref: "48b84d813b537ca7e837ff2ad2dc51f437f7459e"
url: "https://github.com/alibaba/flutter_boost.git"
source: git
version: "3.0.0"
flutter_lints: flutter_lints:
dependency: "direct dev" dependency: "direct dev"
description: description:
......
...@@ -2,39 +2,14 @@ name: base_data_channel ...@@ -2,39 +2,14 @@ name: base_data_channel
description: data channel plugin description: data channel plugin
version: 0.0.1 version: 0.0.1
homepage: homepage:
environment: environment:
sdk: '>=2.19.4 <3.0.0' sdk: '>=2.19.4 <3.0.0'
flutter: ">=2.5.0" flutter: ">=2.5.0"
dependencies:
flutter:
sdk: flutter
flutter_web_plugins:
sdk: flutter
plugin_platform_interface: ^2.0.2
pigeon: ^9.1.0
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:
sdk: flutter sdk: flutter
flutter_lints: ^2.0.0 flutter_lints: ^2.0.0
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter packages.
flutter: flutter:
# This section identifies this Flutter project as a plugin project.
# The 'pluginClass' specifies the class (in Java, Kotlin, Swift, Objective-C, etc.)
# which should be registered in the plugin registry. This is required for
# using method channels.
# The Android 'package' specifies package in which the registered class is.
# This is required for using method channels on Android.
# The 'ffiPlugin' specifies that native code should be built and bundled.
# This is required for using `dart:ffi`.
# All these are used by the tooling to maintain consistency when
# adding or updating assets for this project.
plugin: plugin:
platforms: platforms:
android: android:
...@@ -51,34 +26,14 @@ flutter: ...@@ -51,34 +26,14 @@ flutter:
web: web:
pluginClass: BaseDataChannelWeb pluginClass: BaseDataChannelWeb
fileName: base_data_channel_web.dart fileName: base_data_channel_web.dart
dependencies:
# To add assets to your plugin package, add an assets section, like this: flutter:
# assets: sdk: flutter
# - images/a_dot_burr.jpeg flutter_web_plugins:
# - images/a_dot_ham.jpeg sdk: flutter
# plugin_platform_interface: ^2.0.2
# For details regarding assets in packages, see pigeon: ^9.1.0
# https://flutter.dev/assets-and-images/#from-packages flutter_boost:
# git:
# An image asset can refer to one or more resolution-specific "variants", see url: 'https://github.com/alibaba/flutter_boost.git'
# https://flutter.dev/assets-and-images/#resolution-aware ref: '4.2.0'
\ No newline at end of file
# To add custom fonts to your plugin package, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts in packages, see
# https://flutter.dev/custom-fonts/#from-packages
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment