A plugin to capture the entire screen or part of it on desktop platforms.
macOS | Windows | Linux | |
---|---|---|---|
Support | ✅ | ✅ | ❌ |
final area = await ScreenCapture().captureEntireScreen();
final topLeftCorner = Rect.fromLTWH(0, 0, 100, 100);
final area = await ScreenCapture().captureScreenArea(topLeftCorner);
final color = await ScreenCapture().captureScreenColor(100, 100);
There are 2 widgets you can use to see a live preview of a screen area or a pixel color. They both display what's under the mouse cursor.
Screen area preview:
SizedBox(
width: 72,
height: 72,
child: ScreenAreaLiveView(areaSize: 72 / 4),
)
Color live preview:
SizedBox(
width: 48,
height: 48,
child: ScreenColorLiveView(),
)
See the example app for a complete usage example.
- Linux is not supported yet.
- Capturing on multiple screens is not supported yet.
- Capturing on high-resolution screens (e.g. Retina displays) is not supported yet.
- Hexee Pro - Palette editor & Advanced color toolkit for designers and developers.
Feel free to submit a pull request to add your project to this list.