canUndo property

bool get canUndo

True when undo is possible.

Implementation

bool get canUndo => _undoStack.isNotEmpty;