forward method

bool forward({
  1. ScrollDirection direction = ScrollDirection.forward,
})

Implementation

bool forward({ScrollDirection direction = ScrollDirection.forward}) {
  if (currentFragment.canRedo.value) {
    _hostState!._direction = direction;
    currentFragment.historyRedo();
    return true;
  }
  return false;
}