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;