shouldPopToBaseRoute property
whether the navbar should pop to base route of current tab when the selected navbarItem is tapped all the routes from that navigator are popped. feature similar to Instagram's navigation bar defaults to true.
Implementation
final bool shouldPopToBaseRoute;