device_screenshot 0.0.5
device_screenshot: ^0.0.5 copied to clipboard
A Flutter plugin that can helps you to take screenshot your overall device.
Device Screenshot
💡 Overview #
A Flutter plugin that can helps you to take screenshot your overall device using media projection and foreground service.
The plugin currently supports Android only and doesn't support IOS because the feature of media projection is not available there
💻 Usage #
First, add flutter_native_splash as a dependency in your pubspec.yaml file.
dependencies:
flutter:
sdk: flutter
device_screenshot: ^0.0.5
Don't forget to flutter pub get.
Import the package:
import 'package:device_screenshot/device_screenshot.dart';
Use the singleton instance of DeviceScreenshot to access all the available methods, for example:
DeviceScreenshot.instance.checkMediaProjectionService()