shutter 1.3.0
shutter: ^1.3.0 copied to clipboard
Renders a Flutter project's widget previews to PNG, reusing the ones it already has, and diffs two runs pixel by pixel into before and after images of a change.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate shutterUse it
The package has the following executables:
$ shutter
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add shutterThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
shutter: ^1.3.0Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:shutter/shutter.dart';