A Flutter widget that combines pull-to-refresh and load-more functionality for seamless pagination. It simplifies the implementation of infinite scrolling by automatically triggering refresh and load more actions based on user gestures. Ideal for lists that dynamically fetch data from APIs or local sources, it enhances user experience with smooth interactions across all platforms. The package is lightweight and integrates easily into existing scrollable widgets like ListView or CustomScrollView.
Use cases
- Infinite scrolling feeds
- Dynamic data loading in lists
- Pull-to-refresh with auto-load more
- Offline-first app data sync
- Real-time content updates
Key features
- Pull-to-refresh support
- Automatic load-more detection
- Cross-platform compatibility
- Simple integration with ScrollViews
- Configurable refresh and load thresholds
Suitable for
- Developers building dynamic list interfaces
- Apps requiring real-time data updates
- Projects with pagination needs
- Teams prioritizing UX consistency
- Flutter apps targeting multiple platforms
Considerations
- Requires proper state management
- May need custom logic for complex loading states
- Not ideal for non-scrollable content
- Performance depends on data source efficiency
- Needs handling of edge cases like network errors