RefreshListWidget constructor

RefreshListWidget({
  1. required Widget child,
  2. OnInitializeCall? onInitialize,
  3. OnRefreshCall? onRefresh,
  4. OnLoadCall? onLoad,
  5. bool enableControlFinishRefresh = true,
  6. bool enableControlFinishLoad = true,
  7. bool isAutoLoad = true,
  8. FirstLoadType firstLoadType = FirstLoadType.pull,
  9. Widget? emptyWidget,
  10. bool? isVisibilityFirstLoadWidget,
  11. Footer? footer,
  12. ScrollController? scrollController,
  13. OnFinishLoadCall? finishLoadCall,
  14. Widget? loadIndicatorWidget,
})

Implementation

RefreshListWidget(
    {required this.child,
    this.onInitialize,
    this.onRefresh,
    this.onLoad,
    this.enableControlFinishRefresh = true,
    this.enableControlFinishLoad = true,
    this.isAutoLoad = true,
    this.firstLoadType = FirstLoadType.pull,
    this.emptyWidget,
    this.isVisibilityFirstLoadWidget,
    this.footer,
    this.scrollController,
    this.finishLoadCall,
    this.loadIndicatorWidget});