PaginatedGridViewExtent<T> constructor

const PaginatedGridViewExtent<T>({
  1. Key? key,
  2. required ItemBuilder<T> itemBuilder,
  3. required PageFuture<T> pageFuture,
  4. required double maxCrossAxisExtent,
  5. double childAspectRatio = 1.0,
  6. double crossAxisSpacing = 0.0,
  7. double mainAxisSpacing = 0.0,
  8. int pageSize = 10,
  9. EdgeInsetsGeometry? padding,
  10. NoItemsFoundBuilder? noItemsFoundBuilder,
  11. Widget? noItemsFoundWidget,
  12. PagewiseLoadController<T>? pageLoadController,
  13. bool mutable = false,
  14. bool showRefreshIndicator = false,
  15. Axis scrollDirection = Axis.vertical,
  16. bool shrinkWrap = false,
  17. ScrollPhysics? physics,
})

Implementation

const PaginatedGridViewExtent({
  super.key,
  required this.itemBuilder,
  required this.pageFuture,
  required this.maxCrossAxisExtent,
  this.childAspectRatio = 1.0,
  this.crossAxisSpacing = 0.0,
  this.mainAxisSpacing = 0.0,
  this.pageSize = 10,
  this.padding,
  this.noItemsFoundBuilder,
  this.noItemsFoundWidget,
  this.pageLoadController,
  this.mutable = false,
  this.showRefreshIndicator = false,
  this.scrollDirection = Axis.vertical,
  this.shrinkWrap = false,
  this.physics,
});