infinite_scroll_plus 2.0.1
infinite_scroll_plus: ^2.0.1 copied to clipboard
Lightweight Flutter package for infinite scrolling, lazy loading, search, and sort in ListView & GridView.
Changelog #
All notable changes to this package will be documented in this file. This project follows early-stage semantic versioning during development.
2.0.1 #
- Required Document Changes done
2.0.0 — Major Upgrade 🎉 #
Added #
onLoadMorenow receivesLoadMoreRequestfor full API pagination control (page, offset, cursor).- Error handling support via
errorBuilderwith retry callback. - Updated example app with proper
_loadMoreusingLoadMoreRequest. - Skeleton loader improvements for initial empty state.
- Fully compatible ListView and GridView with search & sort.
Changed #
- Breaking change:
onLoadMore()must acceptLoadMoreRequestparameter. - Skeleton loader now optional via
enableSkeletonLoader. - API and example updated for v2.0.0 usage.
1.0.4 #
Added #
- Built-in skeleton loaders for ListView and GridView.
- Optional
enableSkeletonLoaderflag. - Customizable
skeletonWidgetandemptyWidgetsupport. - Configurable
loadMoreOffsetfor pagination trigger distance.
Improved #
- Pagination stability when search or sort state changes.
- Scroll trigger debouncing using max scroll extent tracking.
- Overall UX consistency across list and grid views.
Fixed #
- Edge cases where pagination could stop after data mutations.
1.0.1 to 1.0.3 #
- Code formatting and Dart analyzer cleanups.
1.0.0 — Major Upgrade 🎉 #
Added #
- Search support using
searchQueryandonSearch. - Sort support using
applySortandonSort. - Generic item system (
InfiniteScrollList<T>andInfiniteScrollGrid<T>). - New improved example app with search, sort, and view toggle.
- Cleaner API replacing
itemCountwithitems.
Changed #
- Refactored
itemBuildersignature:Widget Function(BuildContext context, T item, int index)
0.0.12 – 0.0.14 #
0.0.9 #
0.0.8 #
0.0.7 #
Added #
- Full DartDoc coverage for all public APIs.
- Optional loadingWidget parameter.
- Detailed documentation for constructors, properties, and methods.
Changed #
- Removed unnecessary library infinite_scroll_plus; declaration.
- Improved scroll detection documentation.
Fixed #
- public_member_api_docs lint compliance.
0.0.6 #
Added #
- Complete library-level documentation.
- Inline comments for InfiniteScrollList and InfiniteScrollGrid.
- Clarified ItemWidgetBuilder typedef.
Fixed #
- Dangling doc comment warnings.
- Dart formatter issues.
Improved #
- Scroll controller lifecycle handling.
- Readability and maintainability of scroll logic.