XGridViewBuilder constructor

const XGridViewBuilder({
  1. Key? key,
  2. required int count,
  3. required List<Widget> children,
  4. double childAspectRatio = 1,
  5. double? mainAxisSpacing,
  6. double? crossAxisSpacing,
  7. ScrollPhysics physics = const BouncingScrollPhysics(),
  8. bool shrinkWrap = true,
  9. Axis scrollDirection = Axis.vertical,
  10. int maxLength = 0,
  11. EdgeInsetsGeometry? padding,
  12. ScrollController? controller,
  13. XListModel? xmodel,
  14. bool enablePullUp = true,
  15. 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);