SilSmartRefresherWidget constructor

const SilSmartRefresherWidget({
  1. required Widget childBuild(
    1. BuildContext context,
    2. List data
    ),
  2. required Future loadDataFuture({
    1. bool? manuallyRefresh,
    2. int? page,
    }),
  3. required SilSmartRefresherInterface? interface,
  4. Key? key,
  5. bool isShowFooterNoData = true,
  6. RefreshController? refreshController,
  7. List? datas,
  8. bool? enablePullUp,
  9. bool enablePullDown = true,
  10. bool showLoading = true,
})

Implementation

const SilSmartRefresherWidget({
  required this.childBuild,
  required this.loadDataFuture,
  required this.interface,
  Key? key,
  this.isShowFooterNoData = true,
  this.refreshController,
  this.datas,
  this.enablePullUp,
  this.enablePullDown = true,
  this.showLoading = true,
}) : super(key: key);