MyGridViewNormal<T> constructor

MyGridViewNormal<T>(
  1. List<T> data,
  2. int crossAxisCount,
  3. double smallCellExtent,
  4. IndexedWidgetBuilder itemBuilder, {
  5. double spaceMain = 0.0,
  6. double spaceCross = 0.0,
  7. AxisDirection? crossDirection,
  8. Function? onRefresh,
  9. Function? loadMore,
  10. double bigCellExtent = 0.0,
  11. double childRatio = 1.0,
  12. bool shrinkWrap = false,
  13. Axis scrollDirection = Axis.vertical,
  14. EdgeInsets? padding,
  15. double? height,
  16. dynamic canScroll = false,
  17. Color? bgColor,
})

Implementation

MyGridViewNormal(
    this.data, this.crossAxisCount, this.smallCellExtent, this.itemBuilder,
    {this.spaceMain = 0.0,
    this.spaceCross = 0.0,
    this.crossDirection,
    this.onRefresh,
    this.loadMore,
    this.bigCellExtent = 0.0,
    this.childRatio = 1.0,
    this.shrinkWrap = false,
    this.scrollDirection = Axis.vertical,
    this.padding,
    this.height,
    this.canScroll = false,
    this.bgColor});