infinite_paging_widget 0.2.0
infinite_paging_widget: ^0.2.0 copied to clipboard
A Flutter infinite scroll list/grid with load-more pagination. Supports empty, loading, error, header, and footer slots.
0.2.0 #
- Additive APIs on
InfinitePagingWidget(existing 0.1.0 surface unchanged):onRefresh— wraps content inRefreshIndicator.adaptivefor pull-to-refresh.scrollDirection,reverse,cacheExtent,primary,keyboardDismissBehavior.noMoreWidget— end-of-list builder when!hasMoreand items are non-empty.loadMorePadding— optional padding around the bottom loading slot.enableLoadMore— disable near-bottom pagination without clearinghasMore.
- Example app: pull-to-refresh and
noMoreWidgetend-of-list message. - Tests covering refresh,
noMoreWidget, andenableLoadMore: false. - Minimum Flutter SDK raised to
>=3.41.0(usesScrollCacheExtent).
0.1.0 #
- Initial release of
infinite_paging_widget. InfinitePagingWidgetwith list and grid layouts viaPagingDisplayType.- Near-bottom scroll listener triggers
onLoadMorewith in-flight guards. - Empty, loading, error, header, and footer slots.
- Example app, widget tests, and documentation assets.
