XListBuild constructor

const XListBuild({
  1. Key? key,
  2. bool? expanded = true,
  3. required bool show,
  4. Color? backgroundColor,
  5. required int itemCount,
  6. AnimationType? animationType,
  7. EasyRefreshController? controller,
  8. FutureOr onRefresh()?,
  9. FutureOr onLoad()?,
  10. required Widget itemBuilder(
    1. int index
    ),
  11. Widget? empty,
  12. Widget? title,
})

Implementation

const XListBuild({
  super.key,
  this.expanded = true,
  required this.show,
  this.backgroundColor,
  required this.itemCount,
  this.animationType,
  this.controller,
  this.onRefresh,
  this.onLoad,
  required this.itemBuilder,
  this.empty,
  this.title,
});