getCurrentStep method

int getCurrentStep()

Get the current step index (0-based)

Implementation

int getCurrentStep() {
  final currentData =
      Backpack.instance.read('${navigationHubState}_current_tab');
  return (currentData is int) ? currentData : 0;
}