GridIntervalView.nestedChildren constructor
const
GridIntervalView.nestedChildren({
- Key? key,
- Axis? direction,
- Widget? separator,
- num? mainSpace,
- num? crossSpace,
- num? ratio,
- num? mainPadding,
- num? crossPadding,
- num? height,
- num? width,
- Color? color,
- bool shrinkWrap = true,
- bool primary = false,
- ScrollPhysics physics = const NeverScrollableScrollPhysics(),
- required dynamic crossAxisCount,
- 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);