canUndo property

bool get canUndo

Whether undo can be performed.

Implementation

bool get canUndo => _undoStack.isNotEmpty;