clipshare_clipboard_listener 1.0.4
clipshare_clipboard_listener: ^1.0.4 copied to clipboard
Supports clipboard monitoring on Windows、Android、Linux platforms, with support for text and images. For Android 10+ devices, background clipboard monitoring is supported (requires Shizuku).
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add clipshare_clipboard_listener
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
clipshare_clipboard_listener: ^1.0.4
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:clipshare_clipboard_listener/clipboard_manager.dart';
import 'package:clipshare_clipboard_listener/enums.dart';
import 'package:clipshare_clipboard_listener/models/app_info.dart';
import 'package:clipshare_clipboard_listener/models/clipboard_source.dart';
import 'package:clipshare_clipboard_listener/models/notification_content_config.dart';