useRootNavigator property
The useRootNavigator argument is used to determine whether to push the route for openBuilder to the Navigator furthest from or nearest to the given context.
By default, useRootNavigator is false and the route created will push to the nearest navigator.
Implementation
final bool useRootNavigator;