canUndoState property

bool get canUndoState

Whether the state can be done

Implementation

bool get canUndoState => _undoQueue.length > 1;