canUndo property

bool get canUndo

Implementation

bool get canUndo => _undoStack.isNotEmpty;