builder method

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

builder is used to build the widget

Implementation

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