canUndo property
Whether currently an undo operation is possible.
Implementation
bool get canUndo => _undoIndex + 1 < _undoHistory.length;
Whether currently an undo operation is possible.
bool get canUndo => _undoIndex + 1 < _undoHistory.length;