clipshare_clipboard_listener 1.0.2
clipshare_clipboard_listener: ^1.0.2 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 Dart:
$ dart pub add clipshare_clipboard_listener
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 dart pub get
):
dependencies:
clipshare_clipboard_listener: ^1.0.2
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: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';