PageTabScaffold<T> constructor

const PageTabScaffold<T>({
  1. required PageTabController pageTabController,
  2. required PageEntries items,
  3. Widget? drawer,
  4. Widget? endDrawer,
  5. Widget? bottomSheet,
  6. Color? backgroundColor,
  7. bool? resizeToAvoidBottomInset,
  8. bool primary = true,
  9. DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
  10. bool extendBody = false,
  11. bool extendBodyBehindAppBar = false,
  12. Color? drawerScrimColor,
  13. double? drawerEdgeDragWidth,
  14. bool drawerEnableOpenDragGesture = true,
  15. bool endDrawerEnableOpenDragGesture = true,
  16. String? restorationId,
  17. Widget? floatingActionButton,
  18. dynamic title,
  19. dynamic subtitle,
  20. Color? appBarBackgroundColor,
  21. Widget? leading,
  22. List<Widget>? actions,
  23. Widget wrapper(
    1. Widget
    )?,
  24. Color? iconColor,
  25. Color? activeIconColor,
  26. BottomNavigationBarType? bottomNavigationBarType,
  27. bool? scrollableTabs,
  28. Color? labelColor,
  29. Color? titleColor,
  30. bool showUnselectedLabels = true,
  31. double? tabHeight,
  32. FloatingActionButtonLocation? floatingActionButtonLocation,
  33. bool useDrawerInstedOfBottomNavigationBar = false,
  34. Color? bottomBarBackgroundColor,
  35. GlobalKey<ScaffoldState>? scaffoldKey,
  36. bool automaticallyImplyLeading = true,
  37. void onNavigate(
    1. int oldPageIndex,
    2. int oldTabIndex,
    3. int newPageIndex,
    4. int newTabIndex,
    )?,
  38. Widget tabBuilder(
    1. PageEntry page,
    2. TabEntry tab
    )?,
  39. double? leadingWidth,
})

Implementation

const PageTabScaffold({
  required this.pageTabController,
  required this.items,
  this.drawer,
  this.endDrawer,
  this.bottomSheet,
  this.backgroundColor,
  this.resizeToAvoidBottomInset,
  this.primary = true,
  this.drawerDragStartBehavior = DragStartBehavior.start,
  this.extendBody = false,
  this.extendBodyBehindAppBar = false,
  this.drawerScrimColor,
  this.drawerEdgeDragWidth,
  this.drawerEnableOpenDragGesture = true,
  this.endDrawerEnableOpenDragGesture = true,
  this.restorationId,
  this.floatingActionButton,
  this.title,
  this.subtitle,
  this.appBarBackgroundColor,
  this.leading,
  this.actions,
  this.wrapper,
  this.iconColor,
  this.activeIconColor,
  this.bottomNavigationBarType,
  this.scrollableTabs,
  this.labelColor,
  this.titleColor,
  this.showUnselectedLabels = true,
  this.tabHeight,
  this.floatingActionButtonLocation,
  this.useDrawerInstedOfBottomNavigationBar = false,
  this.bottomBarBackgroundColor,
  this.scaffoldKey,
  this.automaticallyImplyLeading = true,
  this.onNavigate,
  this.tabBuilder,
  this.leadingWidth,
}) : super(key: pageTabController);