MyBody.itemBuilder constructor

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