canUndo property

bool get canUndo
inherited

Whether currently an undo operation is possible.

Implementation

bool get canUndo => _undoIndex + 1 < _undoHistory.length;