NyPullToRefresh<T>.grid  constructor 
      const
      NyPullToRefresh<T>.grid ({ 
    
    
- Key? key,
- int? crossAxisCount = 2,
- double? mainAxisSpacing = 0,
- double? crossAxisSpacing = 0,
- dynamic onRefresh()?,
- dynamic beforeRefresh()?,
- dynamic afterRefresh(- dynamic data
 
- required dynamic data(- int iteration
 
- List<T> transform(- List<T> 
 
- List<
- required Widget child(- BuildContext context,
- dynamic data
 
- Widget? empty,
- LoadingStyle? loadingStyle,
- String? stateName,
- Axis? scrollDirection,
- bool? reverse,
- ScrollController? controller,
- bool? primary,
- ScrollPhysics? physics,
- bool? shrinkWrap,
- EdgeInsets? padding = EdgeInsets.zero,
- double? itemExtent,
- Widget? prototypeItem,
- ChildIndexGetter? findChildIndexCallback,
- bool addAutomaticKeepAlives = true,
- bool addRepaintBoundaries = true,
- bool addSemanticIndexes = true,
- double? cacheExtent,
- int? semanticChildCount,
- DragStartBehavior? dragStartBehavior,
- ScrollViewKeyboardDismissBehavior? keyboardDismissBehavior,
- String? restorationId,
- String? headerStyle,
- Clip? clipBehavior,
- Widget? header,
- List sort(- dynamic items
 
Implementation
const NyPullToRefresh.grid(
    {super.key,
    this.crossAxisCount = 2,
    this.mainAxisSpacing = 0,
    this.crossAxisSpacing = 0,
    this.onRefresh,
    this.beforeRefresh,
    this.afterRefresh,
    required this.data,
    this.transform,
    required this.child,
    this.empty,
    this.loadingStyle,
    this.stateName,
    this.scrollDirection,
    this.reverse,
    this.controller,
    this.primary,
    this.physics,
    this.shrinkWrap,
    this.padding = EdgeInsets.zero,
    this.itemExtent,
    this.prototypeItem,
    this.findChildIndexCallback,
    this.addAutomaticKeepAlives = true,
    this.addRepaintBoundaries = true,
    this.addSemanticIndexes = true,
    this.cacheExtent,
    this.semanticChildCount,
    this.dragStartBehavior,
    this.keyboardDismissBehavior,
    this.restorationId,
    this.headerStyle,
    this.clipBehavior,
    this.header,
    this.footerLoadingIcon,
    this.sort})
    : kind = "grid",
      separatorBuilder = null;