This plugin allows Flutter desktop apps to take screenshots.
English | 简体中文
| Linux | macOS | Windows |
|---|---|---|
| ✔️ | ✔️ | ✔️ |
⚠️ macOS only supports non-sandbox mode.
Add this to your package's pubspec.yaml file:
dependencies:
screen_capturer: ^0.1.0Or
dependencies:
screen_capturer:
git:
url: https://github.com/leanflutter/screen_capturer.git
ref: mainimport 'package:screen_capturer/screen_capturer.dart';
CapturedData? capturedData = await ScreenCapturer.instance.capture(
imagePath: '<path>',
);Please see the example app of this plugin for a full example.
- Biyi (比译) - A convenient translation and dictionary app.