route method
Creates the GoRoute
for this navigable widget
Implementation
@override
@nonVirtual
RouteBase route() {
return ShellRoute(
navigatorKey: _shellNavigatorKey,
builder: buildFeatureContainer,
routes: [
SignInWidget(
parentNavigatorKey: _shellNavigatorKey,
// all routes within the shell should use
// the same transition page builder
pageBuilder: _transitionPageBuilder,
// the sign in widget needs the initial
// logged in route to navigate to after
// successful sign in
initialLoggedInRoute: initialLoggedInRoute,
).route(),
],
);
}