number_pagination 1.0.5 copy "number_pagination: ^1.0.5" to clipboard
number_pagination: ^1.0.5 copied to clipboard

Pagination using numbers, similar to the classic web-style pagination. Explore pages by numbers, not infinite scrolling!

preview

number_pagination flutter test #

Implementing Flutter Number Pagination using a Popular Web Approach

This package is very simple. Without depending on other packages, the code is less than 200 lines. Its usage is also simple and easy.

See document

Options #

  • Function(int) onNumberChange (required)

  • int pageTotal (required)

  • int pageInit (default 1)

  • int threshold (default 10)

  • Color colorPrimary (default black)

  • Color colorSub (default white)

  • Widget? controlButton

  • Widget iconToFirst

  • Widget iconPrevious

  • Widget iconNext

  • Widget iconToLast

  • double fontSize (default 15)

  • String? fontFamily

  • double buttonElevation (default 5)

  • double buttonRadius (default 10)

  • double buttonSpacing (default 4)

  • double groupSpacing (default 10)

Note #

The number increments in the versions (+numbers) are updates unrelated to functionality (mostly related to pub.dev or documents).

47
likes
140
pub points
91%
popularity
screenshot

Publisher

verified publisherblogdeveloperspot.blogspot.com

Pagination using numbers, similar to the classic web-style pagination. Explore pages by numbers, not infinite scrolling!

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on number_pagination