buildPage method

  1. @override
Page? buildPage(
  1. BuildContext context,
  2. GoRouterState state,
  3. ShellRouteContext shellRouteContext
)

Attempts to build the Page representing this shell route.

Returns null if this shell route does not build a Page, but instead uses a Widget to represent itself (see buildWidget).

Implementation

@override
Page<dynamic>? buildPage(context, state, shellRouteContext) {
  return super.buildPage(context, state, shellRouteContext)?.nest(_nest);
}