number_pagination 1.0.3 number_pagination: ^1.0.3 copied to clipboard
Pagination using numbers, similar to the classic web-style pagination. Explore pages by numbers, not infinite scrolling!
number_pagination #
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.
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
- bool autoSetState (default false)
Note #
The number increments in the versions (+numbers) are updates unrelated to functionality (mostly related to pub.dev or documents).