0 purchases
dt pagination
A Pagination Widget for Flutter.
Features #
当前页码保持居中:
Getting started #
dependencies:
dt_pagination: ^0.0.1
copied to clipboard
Usage #
WebPagination(
pageSize: 6,
total: 20,
curPageAlwaysCenter: true,
pageChanged: (int page) {
debugPrint('$page');
},
)
final int initPage;
final int pageSize;
final int total;
final double itemSize;
final double textFont;
final Color selectTextColor;
final Color unselectTextColor;
final Color selectItemColor;
final Color unselectItemColor;
final Color arrowItemColor;
final Color arrowItemTextColor;
final bool curPageAlwaysCenter;
final Function(int)? pageChanged;
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.