initialIndex property
int
get
initialIndex
The initial tab index when the navigation hub first loads.
Override this to start the hub on a specific tab. Unlike getCurrentIndex, this is only read once during initialisation.
Implementation
int get initialIndex => 0;