AutoTabsScaffold constructor

const AutoTabsScaffold({
  1. Key? key,
  2. List<PageRouteInfo>? routes,
  3. bool lazyLoad = true,
  4. int homeIndex = -1,
  5. Duration animationDuration = const Duration(milliseconds: 300),
  6. Curve animationCurve = Curves.ease,
  7. AnimatedIndexedStackTransitionBuilder? transitionBuilder,
  8. BottomNavigationBuilder? bottomNavigationBuilder,
  9. bool inheritNavigatorObservers = true,
  10. NavigatorObserversBuilder navigatorObservers = AutoRouterDelegate.defaultNavigatorObserversBuilder,
  11. Widget? floatingActionButton,
  12. FloatingActionButtonBuilder? floatingActionButtonBuilder,
  13. FloatingActionButtonLocation? floatingActionButtonLocation,
  14. FloatingActionButtonAnimator? floatingActionButtonAnimator,
  15. List<Widget>? persistentFooterButtons,
  16. Widget? drawer,
  17. DrawerCallback? onDrawerChanged,
  18. Widget? endDrawer,
  19. DrawerCallback? onEndDrawerChanged,
  20. Color? drawerScrimColor,
  21. Color? backgroundColor,
  22. Widget? bottomSheet,
  23. bool? resizeToAvoidBottomInset,
  24. bool primary = true,
  25. DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
  26. double? drawerEdgeDragWidth,
  27. bool drawerEnableOpenDragGesture = true,
  28. bool endDrawerEnableOpenDragGesture = true,
  29. String? restorationId,
  30. bool extendBody = false,
  31. bool extendBodyBehindAppBar = false,
  32. AppBarBuilder? appBarBuilder,
  33. 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,
});