builder property
The widget builder for a stateful shell route.
Similar to GoRoute.builder, but with an additional StatefulNavigationShell parameter. StatefulNavigationShell is a Widget responsible for managing the nested navigation for the matching sub-routes. Typically, a shell route builds its shell around this Widget. StatefulNavigationShell can also be used to access information about which branch is active, and also to navigate to a different branch (using StatefulNavigationShell.goBranch).
Custom implementations may choose to ignore the child parameter passed to the builder function, and instead use StatefulNavigationShell to create a custom container for the branch Navigators.
Implementation
final StatefulShellRouteBuilder? builder;