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? loadView,
  7. Widget? emptyView,
  8. Widget? errorView,
  9. double? height = 30,
  10. String? loadingText,
  11. String? errorText,
  12. String? emptyText,
  13. bool? disableLoadMoreIfNotFullPage = false,
  14. int? duration = 0,
})

Implementation

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