GridIntervalView.nested constructor

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

嵌套的 不能滑动

Implementation

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