UndoHistoryValue constructor
Creates a value for whether the current undo stack can undo or redo.
The canUndo
and canRedo
arguments must have a value, but default to
false.
Implementation
const UndoHistoryValue({this.canUndo = false, this.canRedo = false});