NIB / PLAYGROUND
Pagination playground — NibComponents
Try pagination in Flutter. Change a controlled page and make the displayed data follow it.
Open interactive viewChange a controlled page and make the displayed data follow it.
Read the full component guide and API
Public widgets and APIs
- NibPagination
- NibPaginationVariant
- paginationRange
Example Dart code
// Inside State; update the rows alongside currentPage in a real screen.
NibPagination(
currentPage: page,
totalPages: 12,
onPageChanged: (next) => setState(() => page = next),
)Playground controls
| Control | Type | Options or range | Help |
|---|---|---|---|
| Total pages | number | 1.0–30.0 | |
| Layout | choice | numbered, compact | |
| Show first and last buttons | toggle | ||
| Disable page changes | toggle | ||
| Animate active page | toggle |