BaseTabScaffold constructor
const
BaseTabScaffold({
- Key? key,
- BaseAppBar? appBar,
- Color? backgroundColor,
- BaseTabBar? tabBar,
- List<
Widget> ? tabViews, - bool resizeToAvoidBottomInset = true,
- CupertinoTabController? controller,
- Map<
String, WidgetBuilder> ? routes = const <String, WidgetBuilder>{}, - String? restorationId,
- List<
String?> ? restorationScopeIds, - RouteFactory? onGenerateRoute,
- String? defaultTitle,
- RouteFactory? onUnknownRoute,
- Widget? floatingActionButton,
- FloatingActionButtonLocation? floatingActionButtonLocation,
- FloatingActionButtonAnimator? floatingActionButtonAnimator,
- Widget? drawer,
- Widget? endDrawer,
- Widget? bottomSheet,
- bool primary = true,
- DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
- bool extendBody = false,
- bool extendBodyBehindAppBar = false,
- Color? drawerScrimColor,
- double? drawerEdgeDragWidth,
- bool drawerEnableOpenDragGesture = true,
- bool endDrawerEnableOpenDragGesture = true,
- List<
Key?> ? tabViewKeys, - DrawerCallback? onDrawerChanged,
- DrawerCallback? onEndDrawerChanged,
- 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);