CustomPaginatedListView<T> constructor
const
CustomPaginatedListView<T> ({
- Key? key,
- required int? itemCount,
- required NullableIndexedWidgetBuilder? itemBuilder,
- ScrollPhysics physics = const AlwaysScrollableScrollPhysics(),
- Widget? child,
- EdgeInsets? padding,
- dynamic onMaxScrollExtent()?,
- void onBackInitialScroll()?,
- Future<
void> onLoadMore()?, - bool isLastPage = false,
- bool wantLoadMore = true,
- Color? noDataColor,
- bool load = false,
- Future<
void> onRefresh()?, - String noDataText = 'No data found',
- bool reverse = false,
- double? noDataHeight,
- bool shrinkWrap = false,
- EdgeInsets? loaderPadding,
Implementation
const CustomPaginatedListView({
super.key,
required this.itemCount,
required this.itemBuilder,
this.physics = const AlwaysScrollableScrollPhysics(),
this.child,
this.padding,
this.onMaxScrollExtent,
this.onBackInitialScroll,
this.onLoadMore,
this.isLastPage = false,
this.wantLoadMore = true,
this.noDataColor,
this.load = false,
this.onRefresh,
this.noDataText = 'No data found',
this.reverse = false,
this.noDataHeight,
this.shrinkWrap = false, this.loaderPadding,
});