XGridViewBuilder constructor
const
XGridViewBuilder({
- Key? key,
- required int count,
- required List<
Widget> children, - double childAspectRatio = 1,
- double? mainAxisSpacing,
- double? crossAxisSpacing,
- ScrollPhysics physics = const BouncingScrollPhysics(),
- bool shrinkWrap = true,
- Axis scrollDirection = Axis.vertical,
- int maxLength = 0,
- EdgeInsetsGeometry? padding,
- ScrollController? controller,
- XListModel? xmodel,
- bool enablePullUp = true,
- bool enablePullDown = true,
Implementation
const XGridViewBuilder({
Key? key,
required this.count,
required this.children,
this.childAspectRatio = 1,
this.mainAxisSpacing,
this.crossAxisSpacing,
this.physics = const BouncingScrollPhysics(),
this.shrinkWrap = true,
this.scrollDirection = Axis.vertical,
this.maxLength = 0,
this.padding,
this.controller,
this.xmodel,
this.enablePullUp = true,
this.enablePullDown = true,
}) : super(key: key);