builder property

GoRouterWidgetBuilder? builder
finalinherited

A custom builder for this route.

For example:

GoRoute(
  path: '/',
  builder: (BuildContext context, GoRouterState state) => FamilyPage(
    families: Families.family(
      state.pathParameters['id'],
    ),
  ),
),

Implementation

final GoRouterWidgetBuilder? builder;