pager
0.0.6, released 3 years ago by an unverified publisher
A Flutter widget that provides numeric pagination controls.
What it does
It displays page numbers, next/previous arrows, and optional items‑per‑page selector. The widget notifies when the page or items‑per‑page changes so the UI can update accordingly.
AI-written summary of version 0.0.6, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a simple numeric pagination UI for tables or lists
- You want a ready‑made pager without writing custom logic
Skip it when
- You require infinite scrolling or virtual pagination
- You need highly custom styling beyond the provided options
Strengths
- Easy to drop‑in and use
- Supports items‑per‑page selection and arrow disabling
- Works on all Flutter platforms
Weaknesses
- Limited visual customization
- No built‑in integration with data fetching logic
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Pager(
currentPage: _currentPage,
totalPages: 5,
onPageChanged: (page) => setState(() => _currentPage = page),
);Alternatives
Packages that do the same job and could replace pager.
- search_page
Build custom search experiences using Flutter's SearchDelegate foundation.
50Compare - flutter_html_table
Renders HTML table tags within the flutter_html package using flutter_layout_grid.
60Compare - flutter_custom_tab_bar
Custom tab bar widget with multiple indicator styles including vertical round, standard, linear, and round.
44Compare - vtable
A Flutter table widget with virtualization, sorting, and custom cell rendering.
48Compare