ListViewRF constructor

ListViewRF({
  1. required DataSourceRF dataSource,
  2. int? pageSize,
  3. double bottomSpacing = 50,
  4. dynamic decoration,
  5. EdgeInsets? padding,
  6. String orderField = '1',
  7. String orderSort = 'desc',
  8. bool showDataLoader = true,
  9. bool? enableSwipe,
  10. bool shrinkWrap = true,
  11. bool isVertical = true,
  12. bool selfScroll = false,
  13. required ListViewBuilder builder,
  14. Function? onTap,
  15. Function? onItemDelete,
  16. bool clearListOnInit = true,
  17. Widget? noDataWidget,
  18. ScrollController? scrollController,
})

Implementation

ListViewRF({
  required this.dataSource,
  this.pageSize,
  this.bottomSpacing = 50,
  this.decoration,
  this.padding,
  this.orderField = '1',
  this.orderSort = 'desc',
  this.showDataLoader = true,
  this.enableSwipe,
  this.shrinkWrap = true,
  this.isVertical = true,
  //this.physics = const AlwaysScrollableScrollPhysics(),
  this.selfScroll = false,
  required this.builder,
  this.onTap,
  this.onItemDelete,
  this.clearListOnInit = true,
  this.noDataWidget,
  this.scrollController, //expose controller
});