BaseTabScaffold constructor

const BaseTabScaffold({
  1. Key? key,
  2. BaseAppBar? appBar,
  3. Color? backgroundColor,
  4. BaseTabBar? tabBar,
  5. List<Widget>? tabViews,
  6. bool resizeToAvoidBottomInset = true,
  7. CupertinoTabController? controller,
  8. Map<String, WidgetBuilder>? routes = const <String, WidgetBuilder>{},
  9. String? restorationId,
  10. List<String?>? restorationScopeIds,
  11. List<GlobalKey<NavigatorState>?>? navigatorKeys,
  12. RouteFactory? onGenerateRoute,
  13. String? defaultTitle,
  14. RouteFactory? onUnknownRoute,
  15. List<NavigatorObserver> navigatorObservers = const <NavigatorObserver>[],
  16. Widget? floatingActionButton,
  17. FloatingActionButtonLocation? floatingActionButtonLocation,
  18. FloatingActionButtonAnimator? floatingActionButtonAnimator,
  19. List<Widget>? persistentFooterButtons,
  20. Widget? drawer,
  21. Widget? endDrawer,
  22. Widget? bottomSheet,
  23. bool primary = true,
  24. DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
  25. bool extendBody = false,
  26. bool extendBodyBehindAppBar = false,
  27. Color? drawerScrimColor,
  28. double? drawerEdgeDragWidth,
  29. bool drawerEnableOpenDragGesture = true,
  30. bool endDrawerEnableOpenDragGesture = true,
  31. List<Key?>? tabViewKeys,
  32. DrawerCallback? onDrawerChanged,
  33. DrawerCallback? onEndDrawerChanged,
  34. BaseParam? baseParam,
})

Implementation

const BaseTabScaffold({
  Key? key,
  this.appBar,
  this.backgroundColor,
  this.tabBar,
  this.tabViews,
  this.resizeToAvoidBottomInset = true,
  this.controller,
  this.routes = const <String, WidgetBuilder>{},
  this.restorationId,
  this.restorationScopeIds,
  this.navigatorKeys,
  this.onGenerateRoute,
  this.defaultTitle,
  this.onUnknownRoute,
  this.navigatorObservers = const <NavigatorObserver>[],
  this.floatingActionButton,
  this.floatingActionButtonLocation,
  this.floatingActionButtonAnimator,
  this.persistentFooterButtons,
  this.drawer,
  this.endDrawer,
  this.bottomSheet,
  this.primary = true,
  this.drawerDragStartBehavior = DragStartBehavior.start,
  this.extendBody = false,
  this.extendBodyBehindAppBar = false,
  this.drawerScrimColor,
  this.drawerEdgeDragWidth,
  this.drawerEnableOpenDragGesture = true,
  this.endDrawerEnableOpenDragGesture = true,
  this.tabViewKeys,
  this.onDrawerChanged,
  this.onEndDrawerChanged,
  BaseParam? baseParam,
}) : super(key: key, baseParam: baseParam);