erase_restore 0.0.1 erase_restore: ^0.0.1 copied to clipboard
erase_restore is a Flutter package that provides a simple and customizable way to implement eraser and undo/redo functionality for images. With this package, you can easily add an image eraser tool to [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add erase_restore
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
erase_restore: ^0.0.1
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:erase_restore/erase_restore.dart';