builder method

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

builder is used to build the widget

Implementation

@override
Widget builder(
  BuildContext context,
  GoRouterState state,
  StatefulNavigationShell navigationShell,
) {
  return ListenerWidget(
    child: AppNavigationBar(
      navigationShell: navigationShell,
    ),
  );
}