PaginatedGridView<T, Q> constructor

const PaginatedGridView<T, Q>({
  1. Key? key,
  2. required PaginatedSearchControllerProvider<T, Q> paginatedController,
  3. required WidgetFromItemBuilder<T> itemBuilder,
  4. required SliverGridDelegate gridDelegate,
  5. WidgetBuilder? loadingBuilder,
  6. PaginationErrorBuilder? errorBuilder,
  7. WidgetBuilder? emptyBuilder,
  8. Axis scrollDirection = Axis.vertical,
  9. bool reverse = false,
  10. ScrollController? controller,
  11. bool? primary,
  12. ScrollPhysics? physics,
  13. bool shrinkWrap = false,
  14. double? cacheExtent,
  15. int? semanticChildCount,
  16. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  17. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  18. String? restorationId,
  19. Clip clipBehavior = Clip.hardEdge,
})

Implementation

const PaginatedGridView({
  super.key,
  required super.paginatedController,
  required super.itemBuilder,
  required this.gridDelegate,
  super.loadingBuilder,
  super.errorBuilder,
  super.emptyBuilder,
  this.scrollDirection = Axis.vertical,
  this.reverse = false,
  this.controller,
  this.primary,
  this.physics,
  this.shrinkWrap = false,
  this.cacheExtent,
  this.semanticChildCount,
  this.dragStartBehavior = DragStartBehavior.start,
  this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  this.restorationId,
  this.clipBehavior = Clip.hardEdge,
});