PrismListView constructor

const PrismListView({
  1. Key? key,
  2. Axis scrollDirection = Axis.vertical,
  3. bool reverse = false,
  4. ScrollController? controller,
  5. bool? primary,
  6. ScrollPhysics? physics,
  7. bool shrinkWrap = false,
  8. EdgeInsetsGeometry? padding,
  9. ScrollCacheExtent? scrollCacheExtent,
  10. ScrollViewKeyboardDismissBehavior? keyboardDismissBehavior,
  11. Clip clipBehavior = Clip.hardEdge,
  12. required int itemCount,
  13. required IndexedWidgetBuilder itemBuilder,
  14. double gap = 0,
  15. double? itemExtent,
  16. double estimatedItemExtent = SliverPrismList.defaultEstimatedItemExtent,
  17. ChildIndexGetter? findChildIndexCallback,
  18. ListController? listController,
  19. 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);