canUndo property

bool get canUndo

Whether undo history is available.

Implementation

bool get canUndo => _undoStack.isNotEmpty;