LoadAny constructor

LoadAny({
  1. required LoadStatus status,
  2. required CustomScrollView child,
  3. required LoadMoreCallback onLoadMore,
  4. bool endLoadMore = true,
  5. double bottomTriggerDistance = 200,
  6. double footerHeight = 40,
  7. LoadMoreBuilder? loadMoreBuilder,
  8. String loadingMsg = '加载中...',
  9. String errorMsg = '加载失败,点击重试',
  10. 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 = '没有更多了',
});