CustomPaginatedGridView<T> constructor

const CustomPaginatedGridView<T>({
  1. Key? key,
  2. required Widget itemBuilder(
    1. BuildContext,
    2. int
    ),
  3. required int? itemCount,
  4. int? crossAxisCount,
  5. bool load = false,
  6. ScrollPhysics? physics,
  7. String? noDataText,
  8. double? noDataHeight,
  9. Color? noDataColor,
  10. VoidCallback? onMaxScrollExtent,
  11. bool isLastPage = false,
  12. bool wantLoadMore = true,
  13. EdgeInsets? padding,
  14. Future<void> onRefresh()?,
  15. Future<void> onLoadMore()?,
})

Implementation

const CustomPaginatedGridView({
  super.key,
  required this.itemBuilder,
  required this.itemCount,
  this.crossAxisCount,
  this.load = false,
  this.physics,
  this.noDataText,
  this.noDataHeight,
  this.noDataColor,
  this.onMaxScrollExtent,
  this.isLastPage = false,
  this.wantLoadMore = true,
  this.padding,
  this.onRefresh,
  this.onLoadMore,
});