screenshot_detect_plugin_flutter 1.0.0
screenshot_detect_plugin_flutter: ^1.0.0 copied to clipboard
A simple package to detect user screenshots and get path images.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add screenshot_detect_plugin_flutterWith Flutter:
$ flutter pub add screenshot_detect_plugin_flutterThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
screenshot_detect_plugin_flutter: ^1.0.0Alternatively, 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:screenshot_detect_plugin_flutter/screenshot_detect.dart';
import 'package:screenshot_detect_plugin_flutter/screenshot_detect_plugin_flutter_method_channel.dart';
import 'package:screenshot_detect_plugin_flutter/screenshot_detect_plugin_flutter_platform_interface.dart';