MyBody constructor
const
MyBody({
- Key? key,
- required List<
Widget> ? children, - 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({
Key? key,
required this.children,
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,
}) : this.child = null,
itemBuilder = null,
itemCount = null,
super(key: key);