canRedo property

bool canRedo

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

Implementation

bool get canRedo =>
    stateManager.position < stateManager.stateHistory.length - 1;