MobileView.builder constructor
MobileView.builder({
- Key? key,
- required List<
Widget> ? slivers, - required DetailWidgetBuilder detailBuilder,
- required int itemCount,
- required IndexedWidgetBuilder itemBuilder,
- required Key? detailScaffoldKey,
- required Widget? nullItems,
- 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);