canUndo property

bool get canUndo

Whether undo is available

Implementation

bool get canUndo => _undoStack.isNotEmpty;