MementoScope constructor
const
MementoScope({})
Creates a scope under which you can use undo/redo methods.
The parameters maxCapacity, refs and child must no be null.
Implementation
const MementoScope({
Key? key,
this.maxCapacity = 256,
this.refs = const [],
required this.child,
}) : super(key: key);