ResponsiveListScaffold constructor

ResponsiveListScaffold({
  1. Key? key,
  2. double tabletBreakpoint = 720.0,
  3. required DetailWidgetBuilder detailBuilder,
  4. PreferredSizeWidget? appBar,
  5. Widget? drawer,
  6. List<Widget>? slivers,
  7. Widget? endDrawer,
  8. required List<Widget> children,
  9. bool primary = true,
  10. DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
  11. Color? backgroundColor,
  12. Widget? bottomNavigationBar,
  13. Widget? bottomSheet,
  14. Widget? floatingActionButton,
  15. FloatingActionButtonAnimator? floatingActionButtonAnimator,
  16. FloatingActionButtonLocation? floatingActionButtonLocation,
  17. List<Widget>? persistentFooterButtons,
  18. bool? resizeToAvoidBottomInset,
  19. bool? resizeToAvoidBottomPadding,
  20. Widget? tabletItemNotSelected,
  21. Flexible? tabletSideMenu,
  22. Widget? nullItems,
  23. Widget? emptyItems,
  24. int tabletFlexDetailView = 8,
  25. int tabletFlexListView = 3,
  26. Key? scaffoldKey,
  27. Key? detailScaffoldKey,
  28. bool mobileRootNavigator = false,
  29. NavigatorState? mobileNavigator,
})

Implementation

ResponsiveListScaffold({
  Key? key,
  this.tabletBreakpoint = 720.0,
  required this.detailBuilder,
  this.appBar,
  this.drawer,
  this.slivers,
  this.endDrawer,
  required List<Widget> children,
  this.primary = true,
  // this.extendBody = false,
  this.drawerDragStartBehavior = DragStartBehavior.start,
  this.backgroundColor,
  this.bottomNavigationBar,
  this.bottomSheet,
  this.floatingActionButton,
  this.floatingActionButtonAnimator,
  this.floatingActionButtonLocation,
  this.persistentFooterButtons,
  this.resizeToAvoidBottomInset,
  this.resizeToAvoidBottomPadding,
  this.tabletItemNotSelected,
  this.tabletSideMenu,
  this.nullItems,
  this.emptyItems,
  this.tabletFlexDetailView = 8,
  this.tabletFlexListView = 3,
  this.scaffoldKey,
  this.detailScaffoldKey,
  this.mobileRootNavigator = false,
  this.mobileNavigator,
})  : childDelagate = SliverChildListDelegate(
        children,
        addAutomaticKeepAlives: false,
        addRepaintBoundaries: false,
        addSemanticIndexes: false,
      ),
      super(key: key);