XListViewBuilder constructor
const
XListViewBuilder({
- Key? key,
- required int itemCount,
- required IndexedWidgetBuilder itemBuilder,
- EdgeInsetsGeometry? padding,
- ScrollController? controller,
- Axis scrollDirection = Axis.vertical,
- ScrollPhysics physics = const BouncingScrollPhysics(),
- bool shrinkWrap = true,
- int maxLength = 0,
- Widget? separatorLine,
- XListModel? xmodel,
- bool enablePullUp = true,
- 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);