canRedo property

bool get canRedo

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

Implementation

bool get canRedo => historyPosition < paintHistory.length;