zyg_flutter_plugin 0.0.94 copy "zyg_flutter_plugin: ^0.0.94" to clipboard
zyg_flutter_plugin: ^0.0.94 copied to clipboard

连接状态回调方法,增加状态参数

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add zyg_flutter_plugin

With Flutter:

 $ flutter pub add zyg_flutter_plugin

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  zyg_flutter_plugin: ^0.0.94

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:zyg_flutter_plugin/zyg_flutter_plugin.dart';