rootNav property

NavigatorState get rootNav

Returns the root navigator state.

context.rootNavigator is equivalent to widgets.Navigator.of with rootNavigator: true.

Implementation

widgets.NavigatorState get rootNav {
  return widgets.Navigator.of(this, rootNavigator: true);
}