MobileView.builder constructor

MobileView.builder({
  1. Key? key,
  2. required List<Widget>? slivers,
  3. required DetailWidgetBuilder detailBuilder,
  4. required int itemCount,
  5. required IndexedWidgetBuilder itemBuilder,
  6. required Key? detailScaffoldKey,
  7. required bool useRootNavigator,
  8. required NavigatorState? navigator,
  9. required Widget? nullItems,
  10. required Widget? emptyItems,
})

Implementation

MobileView.builder({
  Key? key,
  required this.slivers,
  required this.detailBuilder,
  required int itemCount,
  required IndexedWidgetBuilder itemBuilder,
  required this.detailScaffoldKey,
  required this.useRootNavigator,
  required this.navigator,
  required this.nullItems,
  required this.emptyItems,
})   : childDelagate = SliverChildBuilderDelegate(
        itemBuilder,
        childCount: itemCount,
        addAutomaticKeepAlives: false,
        addRepaintBoundaries: false,
        addSemanticIndexes: false,
      ),
      super(key: key);