MyBody constructor

const MyBody({
  1. Key? key,
  2. required List<Widget>? children,
  3. Widget? topWidget,
  4. num? padding,
  5. int left = 0,
  6. int top = 0,
  7. int right = 0,
  8. num? space,
  9. bool bottom = true,
  10. bool slide = false,
  11. Color? backgroundColor,
  12. Decoration? decoration,
  13. EasyRefreshController? controller,
  14. OnRefreshCallback? refresh,
  15. OnLoadCallback? load,
  16. bool fullLine = true,
  17. bool noList = false,
  18. bool? listEx,
  19. Header? header,
  20. Footer? footer,
  21. bool topShrink = false,
  22. 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);