Pagination_Core is a lightweight, flexible package designed to simplify pagination logic in Flutter applications. It provides a reusable pagination handler that works seamlessly with any state management solution, such as Provider, Bloc, or Riverpod. The package abstracts common pagination tasks like loading states, page fetching, and error handling, enabling developers to implement infinite scrolling or paginated lists efficiently. With minimal boilerplate, it supports various platforms including mobile, web, and desktop. Ideal for apps requiring data streaming from APIs with dynamic page sizes.
Use cases
- Infinite scroll lists
- API-driven paginated data
- Dynamic page size handling
- Cross-platform pagination
- Customizable loading states
Key features
- Works with any state management
- Minimal boilerplate
- Supports multiple platforms
- Handles loading and error states
- Configurable page size
Suitable for
- Developers using custom state management
- Apps with large datasets
- Cross-platform projects
- Infinite scroll implementations
- Reusable pagination logic
Considerations
- Requires manual integration with data sources
- No built-in caching
- Not tailored for specific UI components
- Depends on external state management
- Limited to basic pagination patterns
