dl_share_plugin 0.0.1 dl_share_plugin: ^0.0.1 copied to clipboard
share media via wechat & dingtalk
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add dl_share_plugin
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
dl_share_plugin: ^0.0.1
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:dl_share_plugin/enums.dart';
import 'package:dl_share_plugin/share_api.pigeon.dart';
import 'package:dl_share_plugin/share_flutter_api_impl.dart';
import 'package:dl_share_plugin/unify_share.dart';