screenshot_detect_plugin_flutter 1.0.6
screenshot_detect_plugin_flutter: ^1.0.6 copied to clipboard
A simple package to detect user screenshots and get path images for Android and IOS.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add screenshot_detect_plugin_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
screenshot_detect_plugin_flutter: ^1.0.6
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: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';