yc_plugin_learn 1.0.5
yc_plugin_learn: ^1.0.5 copied to clipboard
演示项目:flutter项目嵌入原生代码、嵌入原生view,双方交互事件,在原生插件中使用第三方工具,
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add yc_plugin_learn
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
yc_plugin_learn: ^1.0.5
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:yc_plugin_learn/yc_plugin_learn.dart';