canUndo property

bool get canUndo

Implementation

bool get canUndo => _undoRedoEnabled && _undoStack.isNotEmpty;