NavigationState constructor Null safety

const NavigationState(
  1. int index
)

Implementation

const NavigationState(this.index);