XListViewBuilder constructor

const XListViewBuilder({
  1. Key? key,
  2. required int itemCount,
  3. required IndexedWidgetBuilder itemBuilder,
  4. EdgeInsetsGeometry? padding,
  5. ScrollController? controller,
  6. Axis scrollDirection = Axis.vertical,
  7. ScrollPhysics physics = const BouncingScrollPhysics(),
  8. bool shrinkWrap = true,
  9. int maxLength = 0,
  10. Widget? separatorLine,
  11. XListModel? xmodel,
  12. bool enablePullUp = true,
  13. bool enablePullDown = true,
})

Implementation

const XListViewBuilder({
  Key? key,
  required this.itemCount,
  required this.itemBuilder,
  this.padding,
  this.controller,
  this.scrollDirection = Axis.vertical,
  this.physics = const BouncingScrollPhysics(),
  this.shrinkWrap = true,
  this.maxLength = 0,
  this.separatorLine,
  this.xmodel,
  this.enablePullUp = true,
  this.enablePullDown = true,
}) : super(key: key);