canRedo method
Check if redo is available. Returns true if possible.
Implementation
bool canRedo() {
if (_currentIndex < _history.length) {
return true;
} else {
return false;
}
}
Check if redo is available. Returns true if possible.
bool canRedo() {
if (_currentIndex < _history.length) {
return true;
} else {
return false;
}
}