canRedo property
bool
get
canRedo
Determines whether redo actions can be performed on the current state.
Implementation
bool get canRedo => screenshotHistoryPosition < history.length - 1;
Determines whether redo actions can be performed on the current state.
bool get canRedo => screenshotHistoryPosition < history.length - 1;