BartMenuRoute.innerRoute constructor

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

Implementation

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