GridIntervalView.nestedChildren constructor

const GridIntervalView.nestedChildren({
  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 List<Widget>? children,
})

嵌套的 不能滑动

Implementation

const GridIntervalView.nestedChildren({
  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.children,
})   : itemCount = children?.length,
      itemBuilder = null,
      this.cacheExtent = null,
      super(key: key);