AutoTabsScaffold constructor
const
AutoTabsScaffold({
- Key? key,
- List<
PageRouteInfo> ? routes, - bool lazyLoad = true,
- int homeIndex = -1,
- Duration animationDuration = const Duration(milliseconds: 300),
- Curve animationCurve = Curves.ease,
- AnimatedIndexedStackTransitionBuilder? transitionBuilder,
- Widget? floatingActionButton,
- FloatingActionButtonBuilder? floatingActionButtonBuilder,
- FloatingActionButtonLocation? floatingActionButtonLocation,
- FloatingActionButtonAnimator? floatingActionButtonAnimator,
- Widget? drawer,
- DrawerCallback? onDrawerChanged,
- Widget? endDrawer,
- DrawerCallback? onEndDrawerChanged,
- Color? drawerScrimColor,
- Color? backgroundColor,
- Widget? bottomSheet,
- bool? resizeToAvoidBottomInset,
- bool primary = true,
- DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
- double? drawerEdgeDragWidth,
- bool drawerEnableOpenDragGesture = true,
- bool endDrawerEnableOpenDragGesture = true,
- String? restorationId,
- bool extendBody = false,
- bool extendBodyBehindAppBar = false,
- AppBarBuilder? appBarBuilder,
- GlobalKey<
ScaffoldState> ? scaffoldKey,
Default constructor;
Implementation
const AutoTabsScaffold({
super.key,
this.routes,
this.lazyLoad = true,
this.homeIndex = -1,
this.animationDuration = const Duration(milliseconds: 300),
this.animationCurve = Curves.ease,
this.transitionBuilder,
this.bottomNavigationBuilder,
this.inheritNavigatorObservers = true,
this.navigatorObservers =
AutoRouterDelegate.defaultNavigatorObserversBuilder,
this.floatingActionButton,
this.floatingActionButtonBuilder,
this.floatingActionButtonLocation,
this.floatingActionButtonAnimator,
this.persistentFooterButtons,
this.drawer,
this.onDrawerChanged,
this.endDrawer,
this.onEndDrawerChanged,
this.drawerScrimColor,
this.backgroundColor,
this.bottomSheet,
this.resizeToAvoidBottomInset,
this.primary = true,
this.drawerDragStartBehavior = DragStartBehavior.start,
this.drawerEdgeDragWidth,
this.drawerEnableOpenDragGesture = true,
this.endDrawerEnableOpenDragGesture = true,
this.restorationId,
this.extendBody = false,
this.extendBodyBehindAppBar = false,
this.appBarBuilder,
this.scaffoldKey,
});