LoadMoreView constructor

const LoadMoreView({
  1. Key? key,
  2. required LoadMoreCallback onLoadMore,
  3. required bool isEmpty,
  4. required bool isError,
  5. required List<Widget> slivers,
  6. Widget? completeView,
  7. String? completeText,
  8. Widget? loadView,
  9. Widget? emptyView,
  10. Widget? errorView,
  11. double? height = 30,
  12. String? loadingText,
  13. String? errorText,
  14. String? emptyText,
  15. bool? disableLoadMoreIfNotFullPage = false,
  16. int? duration = 0,
  17. double? scrollOffset = 100,
})

Implementation

const LoadMoreView(
    {Key? key,
    required this.onLoadMore,
    required this.isEmpty,
    required this.isError,
    required this.slivers,
    this.completeView,
    this.completeText,
    this.loadView,
    this.emptyView,
    this.errorView,
    this.height = 30,
    this.loadingText,
    this.errorText,
    this.emptyText,
    this.disableLoadMoreIfNotFullPage = false,
    this.duration = 0,
    this.scrollOffset = 100})
    : super(key: key);