BartMenuRoute.bottomBarBuilder constructor

BartMenuRoute.bottomBarBuilder({
  1. required String? label,
  2. required IconBuilder builder,
  3. required String path,
  4. required BartPageBuilder pageBuilder,
  5. RouteTransitionsBuilder? transitionsBuilder,
  6. Duration? transitionDuration,
  7. bool cache = true,
  8. IconData? selectedIcon,
})

Implementation

factory BartMenuRoute.bottomBarBuilder({
  required String? label,
  required IconBuilder builder,
  required String path,
  required BartPageBuilder pageBuilder,
  RouteTransitionsBuilder? transitionsBuilder,
  Duration? transitionDuration,
  bool cache = true,
  IconData? selectedIcon,
}) =>
    BartMenuRoute._(
      label: label,
      iconBuilder: builder,
      path: path,
      cache: cache,
      type: BartMenuRouteType.bottomNavigation,
      pageBuilder: pageBuilder,
      settings: RouteSettings(name: path),
      transitionsBuilder: transitionsBuilder,
      transitionDuration: transitionDuration,
      selectedIcon: selectedIcon,
      showBottomBar: true,
    );