canRedo property

bool get canRedo

Whether redo is available.

Implementation

bool get canRedo => _index < _history.length - 1;