canUndo property

bool get canUndo

True when undo is possible.

Implementation

bool get canUndo => _undo.isNotEmpty;