InfiniteScrollGrid constructor

const InfiniteScrollGrid({
  1. Key? key,
  2. required List<Widget> children,
  3. dynamic onLoadingStart(
    1. int page
    )?,
  4. bool everythingLoaded = false,
  5. EdgeInsetsGeometry? padding,
  6. bool shrinkWrap = false,
  7. ScrollPhysics? physics,
  8. bool reverse = false,
  9. bool? primary,
  10. double? itemExtent,
  11. Widget? prototypeItem,
  12. double? cacheExtent,
  13. int? semanticChildCount,
  14. String? restorationId,
  15. bool addAutomaticKeepAlives = true,
  16. bool addRepaintBoundaries = true,
  17. bool addSemanticIndexes = true,
  18. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  19. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  20. Clip clipBehavior = Clip.hardEdge,
  21. Widget? loadingWidget,
  22. Axis scrollDirection = Axis.vertical,
  23. required int crossAxisCount,
  24. double crossAxisSpacing = 0.0,
  25. double mainAxisSpacing = 0.0,
  26. double childAspectRatio = 1.0,
})

Implementation

const InfiniteScrollGrid({
  Key? key,
  required this.children,
  this.onLoadingStart,
  this.everythingLoaded = false,
  this.padding,
  this.shrinkWrap = false,
  this.physics,
  this.reverse = false,
  this.primary,
  this.itemExtent,
  this.prototypeItem,
  this.cacheExtent,
  this.semanticChildCount,
  this.restorationId,
  this.addAutomaticKeepAlives = true,
  this.addRepaintBoundaries = true,
  this.addSemanticIndexes = true,
  this.dragStartBehavior = DragStartBehavior.start,
  this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  this.clipBehavior = Clip.hardEdge,
  this.loadingWidget,
  this.scrollDirection = Axis.vertical,
  required this.crossAxisCount,
  this.crossAxisSpacing = 0.0,
  this.mainAxisSpacing = 0.0,
  this.childAspectRatio = 1.0,
}) : super(key: key);