RefreshWidget constructor
const
RefreshWidget({
- Key? key,
- RefreshListStyle listStyle = RefreshListStyle.list,
- Widget child = const SizedBox(),
- List<
Widget> ? slivers, - OnRefreshCall? onRefresh,
- OnLoadCall? onLoad,
- bool enableRefresh = true,
- bool enableLoad = true,
- Widget? emptyWidget,
- bool isVisibilityFirstLoadWidget = true,
- bool enableControlFinishRefresh = true,
- RefreshInitCall? initCall,
- double scrollMaxRatioLoad = 0.7,
- Widget? loadIndicatorWidget,
- ScrollController? scrollController,
Implementation
const RefreshWidget({
Key? key,
this.listStyle = RefreshListStyle.list,
this.child = const SizedBox(),
this.slivers,
this.onRefresh,
this.onLoad,
this.enableRefresh = true,
this.enableLoad = true,
this.emptyWidget,
this.isVisibilityFirstLoadWidget = true,
this.enableControlFinishRefresh = true,
this.footer,
this.initCall,
this.scrollMaxRatioLoad = 0.7,
this.loadIndicatorWidget,
this.scrollController,
}) : super(key: key);