builder method

Widget builder(
  1. BuildContext context,
  2. GoRouterState state,
  3. StatefulNavigationShell navigationShell
)

builder is used to build the widget

Implementation

Widget builder(
  BuildContext context,
  GoRouterState state,
  StatefulNavigationShell navigationShell,
) => throw UnimplementedError('One of `builder` or `pageBuilder` must be implemented.');