ListViewRF constructor
ListViewRF({
- required DataSourceRF dataSource,
- int? pageSize,
- double bottomSpacing = 50,
- dynamic decoration,
- EdgeInsets? padding,
- String orderField = '1',
- String orderSort = 'desc',
- bool showDataLoader = true,
- bool? enableSwipe,
- bool shrinkWrap = true,
- bool isVertical = true,
- bool selfScroll = false,
- required ListViewBuilder builder,
- Function? onTap,
- Function? onItemDelete,
- bool clearListOnInit = true,
- Widget? noDataWidget,
- 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
});