RefreshListWidget constructor
RefreshListWidget({
- required Widget child,
- OnInitializeCall? onInitialize,
- OnRefreshCall? onRefresh,
- OnLoadCall? onLoad,
- bool enableControlFinishRefresh = true,
- bool enableControlFinishLoad = true,
- bool isAutoLoad = true,
- FirstLoadType firstLoadType = FirstLoadType.pull,
- Widget? emptyWidget,
- bool? isVisibilityFirstLoadWidget,
- ScrollController? scrollController,
- OnFinishLoadCall? finishLoadCall,
- 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});