gesturesshare 0.0.1
gesturesshare: ^0.0.1 copied to clipboard
Flutter 隔空传送分享插件,支持 HarmonyOS/OpenHarmony。通过系统 ShareKit 注册隔空传送监听,用户触发手势时自动分享指定图片与 App Linking。
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add gesturesshareThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
gesturesshare: ^0.0.1Alternatively, 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:gesturesshare/gesturesshare.dart';