MyListViewPublic constructor

const MyListViewPublic({
  1. Key? key,
  2. required ItemBuilder itemBuilder,
  3. required RequestDataCallback requestData,
  4. int pageSize = 10,
  5. EdgeInsetsGeometry? padding,
  6. double? itemExtent,
  7. MyListController? controller,
  8. Function? onRefresh,
  9. bool canLoadMore = true,
  10. bool firstRefresh = true,
  11. String? emptyText,
})

Implementation

const MyListViewPublic(
    {Key? key,
    required this.itemBuilder,
    required this.requestData,
    this.pageSize = 10,
    this.padding,
    this.itemExtent,
    this.controller,
    this.onRefresh,
    this.canLoadMore = true,
    this.firstRefresh = true,
    this.emptyText})
    : super(key: key);