goToStep method

void goToStep(
  1. int stepIndex
)

Jump to a specific step by index

Implementation

void goToStep(int stepIndex) {
  final actions = NavigationHubStateActions(navigationHubState);
  actions.currentTabIndex(stepIndex);
}