BaseCustomGridScrollView<T> constructor

const BaseCustomGridScrollView<T>({
  1. required PagingController<int, T> pagingController,
  2. required dynamic itemBuilder(
    1. T,
    2. int
    ),
  3. required AutoScrollController? controller,
  4. required VoidCallback onRefresh,
  5. required RefreshController refreshController,
  6. EdgeInsetsGeometry? padding,
  7. double? crossAxisSpacing,
  8. double? mainAxisSpacing,
  9. Color? backgroundColor,
  10. double? childAspectRatio,
  11. int? crossAxisCount,
  12. Axis? scrollDirection,
  13. bool? isPrimary,
  14. bool? isController = true,
  15. bool? isLastPage = false,
  16. String? message,
  17. Key? key,
})

Implementation

const BaseCustomGridScrollView({
  required this.pagingController,
  required this.itemBuilder,
  required this.controller,
  required this.onRefresh,
  required this.refreshController,
  this.padding,
  this.crossAxisSpacing,
  this.mainAxisSpacing,
  this.backgroundColor,
  this.childAspectRatio,
  this.crossAxisCount,
  this.scrollDirection,
  this.isPrimary,
  this.isController = true,
  this.isLastPage = false,
  this.message,
  Key? key,
}) : super(key: key);