canUndo property
bool
get
canUndo
Whether there is a previous drawing state available to undo.
Implementation
bool get canUndo => _undoStack.isNotEmpty;
Whether there is a previous drawing state available to undo.
bool get canUndo => _undoStack.isNotEmpty;