widget_screenshot 0.0.9
widget_screenshot: ^0.0.9 copied to clipboard
Screenshot for widget,support long screenshot like ListView, support backgroundColor, format (png, jpeg), quality (0~100), merge extraImages (like header, footer or watermark)
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add widget_screenshot
copied to clipboard
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
widget_screenshot: ^0.0.9
copied to clipboard
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:widget_screenshot/widget_screenshot.dart';
copied to clipboard