canUndo property

bool canUndo

Determines whether undo actions can be performed on the current state.

Implementation

bool get canUndo => screenshotHistoryPosition > 0;