BartMenuRoute.innerRoute constructor

BartMenuRoute.innerRoute({
  1. required String path,
  2. required BartPageBuilder pageBuilder,
  3. RouteTransitionsBuilder? transitionsBuilder,
  4. Duration? transitionDuration,
  5. bool cache = false,
  6. bool showBottomBar = true,
})

Implementation

factory BartMenuRoute.innerRoute({
  required String path,
  required BartPageBuilder pageBuilder,
  RouteTransitionsBuilder? transitionsBuilder,
  Duration? transitionDuration,
  bool cache = false,
  bool showBottomBar = true,
}) =>
    BartMenuRoute._(
      path: path,
      type: BartMenuRouteType.subRoute,
      pageBuilder: pageBuilder,
      cache: cache,
      settings: RouteSettings(name: path),
      transitionsBuilder: transitionsBuilder,
      transitionDuration: transitionDuration,
      showBottomBar: showBottomBar,
    );