BartMenuRoute.innerRoute constructor
BartMenuRoute.innerRoute({
- required String path,
- required BartPageBuilder pageBuilder,
- RouteTransitionsBuilder? transitionsBuilder,
- Duration? transitionDuration,
- bool cache = false,
- 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,
);