getNavigator method
Implementation
@protected
NavigatorState getNavigator({bool root = false}) {
if (root && !ControlScope.root.isInitialized) {
return Navigator.of(context, rootNavigator: true);
}
return Navigator.of(getContext(root: root));
}