LoadAny constructor
LoadAny({
- required LoadStatus status,
- required CustomScrollView child,
- required LoadMoreCallback onLoadMore,
- bool endLoadMore = true,
- double bottomTriggerDistance = 200,
- LoadMoreBuilder? loadMoreBuilder,
- String loadingMsg = '加载中...',
- String errorMsg = '加载失败,点击重试',
- String finishMsg = '没有更多了',
Implementation
LoadAny({
required this.status,
required this.child,
required this.onLoadMore,
this.endLoadMore = true,
this.bottomTriggerDistance = 200,
this.footerHeight = 40,
this.loadMoreBuilder,
this.loadingMsg = '加载中...',
this.errorMsg = '加载失败,点击重试',
this.finishMsg = '没有更多了',
});