PrismListView constructor
const
PrismListView({
- Key? key,
- Axis scrollDirection = Axis.vertical,
- bool reverse = false,
- ScrollController? controller,
- bool? primary,
- ScrollPhysics? physics,
- bool shrinkWrap = false,
- EdgeInsetsGeometry? padding,
- ScrollCacheExtent? scrollCacheExtent,
- ScrollViewKeyboardDismissBehavior? keyboardDismissBehavior,
- Clip clipBehavior = Clip.hardEdge,
- required int itemCount,
- required IndexedWidgetBuilder itemBuilder,
- double gap = 0,
- double? itemExtent,
- double estimatedItemExtent = SliverPrismList.defaultEstimatedItemExtent,
- ChildIndexGetter? findChildIndexCallback,
- ListController? listController,
- bool addRepaintBoundaries = true,
Implementation
const PrismListView({
super.key,
super.scrollDirection,
super.reverse,
super.controller,
super.primary,
super.physics,
super.shrinkWrap,
super.padding,
super.scrollCacheExtent,
super.keyboardDismissBehavior,
super.clipBehavior,
required this.itemCount,
required this.itemBuilder,
this.gap = 0,
this.itemExtent,
this.estimatedItemExtent = SliverPrismList.defaultEstimatedItemExtent,
this.findChildIndexCallback,
this.listController,
this.addRepaintBoundaries = true,
}) : super(semanticChildCount: itemCount);