Skip to content
pubscout

number_pagination

1.1.6, released 2 years ago by blogdeveloperspot.blogspot.com

A customizable Flutter widget for classic web-style page number pagination.

WASM-ready
$ flutter pub add number_pagination
Source repository

What it does

Provides a widget that displays page numbers and navigation buttons (first, previous, next, last) for moving through multiple pages of content. It features extensive customization options for colors, text styling, button sizes, and spacing.

AI-written summary of version 1.1.6, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want web-style numeric pagination instead of infinite scrolling.
  • You need a customizable pagination widget with direct page jumping.

Skip it when

  • You prefer an infinite scrolling or lazy loading list UX.
  • Your application relies entirely on continuous list fetching without discrete pages.

Strengths

  • Simple to use without external package dependencies.
  • Highly customizable appearance including fonts, colors, sizes, and icons.
  • Supports responsive design and various platforms.

Weaknesses

  • Limited to standard number pagination use cases.
  • Does not handle the underlying data fetching or state management logic on its own.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
NumberPagination(
  onPageChanged: (int nextPage) {
    setState(() {
      _currentPage = nextPage;
    });
  },
  pageSize: 10,
  currentPage: _currentPage,
  totalPages: 100,
)

Alternatives

Packages that do the same job and could replace number_pagination.

  • paging_view

    Flutter widgets for infinite‑scroll, paginated lists, grids and slivers with data‑source control.

  • tabbed_view

    Flutter widget inspired by the classic Desktop-style tab component.

  • easy_infinite_pagination

    Easy and customizable infinite pagination for Flutter lists, grids, and page views.

  • load

    Global loading widget and dialog utility for Flutter.