Package selection guidance compiled from public package information, community data, and project usage.
Pager is a Flutter widget designed to create customizable numerical pagination interfaces, ideal for implementing paged displays such as custom paged tables. It provides a clean, reusable way to navigate between pages with intuitive controls and supports various styling options. Built with simplicity and flexibility in mind, it integrates seamlessly into apps targeting multiple platforms.
Use cases
Custom paged table implementations
Navigating large datasets in lists
Building user-friendly page navigation
Creating responsive data grids
Implementing infinite scroll with discrete pages
Enhancing UX in data-heavy applications
Key features
Numerical page indicators
Configurable page range display
Support for forward and backward navigation
Easy integration with ListView or DataTable
Customizable styling via theme or properties
Cross-platform compatibility
Suitable for
Developers building data-intensive UIs
Teams needing lightweight pagination
Apps requiring custom table pagination
Flutter projects targeting multiple platforms
UI designers wanting control over pagination appearance
Considerations
Does not handle data loading automatically
Requires manual state management for page changes
Limited to numerical pagination (no infinite scroll)
Not optimized for very large page counts
No built-in support for accessibility features
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
Pager
Numeric pagination suitable for multiple cases, such as, custom paged table.
Getting started
You should ensure that you add the pager as a dependency in your flutter project.
dependencies:pager:^0.0.6
Example Project
There is a example project in the example folder. Check it out. Otherwise, keep reading to get up and running.
Usage
Need to include the import the package to the dart file where it will be used, use the below command,