smart_scroll_refresh 1.1.0
smart_scroll_refresh: ^1.1.0 copied to clipboard
A lightweight and flexible Flutter pagination widget that works with any scrollable layout.
1.1.0 #
Added #
- Pull-to-refresh support
enablePullToRefreshparameteruseRefreshIndicatorparameter for default indicatoronRefreshcallback for manual data refresh- Customizable
refreshIndicatorWidget - Unit and widget tests for pagination and refresh logic
🔄 Improved #
- Better state synchronization between refresh and pagination
- Improved protection against duplicate fetch calls
🛠 Internal #
- Minor performance optimizations
- Code cleanup and refactoring
1.0.0 #
Initial release
Features #
- Automatic infinite scroll pagination
PaginatedListViewfor ListView.builderPaginatedGridViewfor grid layoutsPaginatedScrollViewfor custom layouts- Supports
.map(),forloops, andList.generate - Built-in loading indicator
- Safe against multiple concurrent fetches
- Optional
PaginationController - State-management agnostic
Notes #
- ScrollController is managed internally
- Compatible with any backend pagination strategy