ResponsiveListScaffold.builder constructor

ResponsiveListScaffold.builder({
  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 int itemCount,
  9. required IndexedWidgetBuilder itemBuilder,
  10. bool primary = true,
  11. DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
  12. Color? backgroundColor,
  13. Widget? bottomNavigationBar,
  14. Widget? bottomSheet,
  15. Widget? floatingActionButton,
  16. Widget? nullItems,
  17. Widget? emptyItems,
  18. FloatingActionButtonAnimator? floatingActionButtonAnimator,
  19. FloatingActionButtonLocation? floatingActionButtonLocation,
  20. List<Widget>? persistentFooterButtons,
  21. bool? resizeToAvoidBottomInset,
  22. bool? resizeToAvoidBottomPadding,
  23. Widget? tabletItemNotSelected,
  24. Flexible? tabletSideMenu,
  25. int tabletFlexDetailView = 8,
  26. int tabletFlexListView = 4,
  27. Key? scaffoldKey,
  28. Key? detailScaffoldKey,
  29. bool mobileRootNavigator = false,
  30. NavigatorState? mobileNavigator,
})

Implementation

ResponsiveListScaffold.builder({
  Key? key,
  this.tabletBreakpoint = 720.0,
  required this.detailBuilder,
  this.appBar,
  this.drawer,
  this.slivers,
  this.endDrawer,
  required int itemCount,
  required IndexedWidgetBuilder itemBuilder,
  this.primary = true,
  // this.extendBody = false,
  this.drawerDragStartBehavior = DragStartBehavior.start,
  this.backgroundColor,
  this.bottomNavigationBar,
  this.bottomSheet,
  this.floatingActionButton,
  this.nullItems,
  this.emptyItems,
  this.floatingActionButtonAnimator,
  this.floatingActionButtonLocation,
  this.persistentFooterButtons,
  this.resizeToAvoidBottomInset,
  this.resizeToAvoidBottomPadding,
  this.tabletItemNotSelected,
  this.tabletSideMenu,
  this.tabletFlexDetailView = 8,
  this.tabletFlexListView = 4,
  this.scaffoldKey,
  this.detailScaffoldKey,
  this.mobileRootNavigator = false,
  this.mobileNavigator,
})  : childDelagate = SliverChildBuilderDelegate(
        itemBuilder,
        childCount: itemCount,
        addAutomaticKeepAlives: false,
        addRepaintBoundaries: false,
        addSemanticIndexes: false,
      ),
      super(key: key);