undo_redo 0.1.5
undo_redo: ^0.1.5 copied to clipboard
A simple, lightweight package for adding undo/redo functionality to your Flutter apps, suitable for both primitives and complex objects
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add undo_redo
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
undo_redo: ^0.1.5
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:undo_redo/undo_redo.dart';