MyBody.itemBuilder constructor
const
MyBody.itemBuilder({
- Key? key,
- required int? itemCount,
- required IndexedWidgetBuilder? itemBuilder,
- Widget? topWidget,
- num? padding,
- int left = 0,
- int top = 0,
- int right = 0,
- num? space,
- bool bottom = true,
- bool slide = false,
- Color? backgroundColor,
- Decoration? decoration,
- EasyRefreshController? controller,
- OnRefreshCallback? refresh,
- OnLoadCallback? load,
- bool fullLine = true,
- bool noList = false,
- bool? listEx,
- Header? header,
- bool topShrink = false,
- double? cacheExtent,
Implementation
const MyBody.itemBuilder({
Key? key,
required this.itemCount,
required this.itemBuilder,
this.topWidget,
this.padding,
this.left = 0,
this.top = 0,
this.right = 0,
this.space,
this.bottom = true,
this.slide = false,
this.backgroundColor,
this.decoration,
this.controller,
this.refresh,
this.load,
this.fullLine = true,
this.noList = false,
this.listEx,
this.header,
this.footer,
this.topShrink = false,
this.cacheExtent,
}) : child = null,
children = null,
super(key: key);