buildWidget abstract method

Widget? buildWidget(
  1. BuildContext context,
  2. GoRouterState state,
  3. ShellRouteContext shellRouteContext
)

Attempts to build the Widget representing this shell route.

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

Implementation

Widget? buildWidget(BuildContext context, GoRouterState state,
    ShellRouteContext shellRouteContext);