GridIntervalView constructor

const GridIntervalView({
  1. Key? key,
  2. Axis? direction,
  3. Widget? separator,
  4. num? mainSpace,
  5. num? crossSpace,
  6. num? mainPadding,
  7. num? crossPadding,
  8. num? height,
  9. num? width,
  10. Color? color,
  11. bool shrinkWrap = false,
  12. bool primary = false,
  13. ScrollPhysics physics = const BouncingScrollPhysics(),
  14. required IndexedWidgetBuilder? itemBuilder,
  15. num? ratio,
  16. required dynamic crossAxisCount,
  17. required int? itemCount,
  18. num? cacheExtent,
})

Implementation

const GridIntervalView({
  Key? key,
  this.direction,
  this.separator,
  this.mainSpace,
  this.crossSpace,
  this.mainPadding,
  this.crossPadding,
  this.height,
  this.width,
  this.color,
  this.shrinkWrap = false,
  this.primary = false,
  this.physics = const BouncingScrollPhysics(),
  required this.itemBuilder,
  this.ratio,
  required this.crossAxisCount,
  required this.itemCount,
  this.cacheExtent,
})  : children = null,
      super(key: key);