PaginateBarFastor constructor

PaginateBarFastor({
  1. required int currentPage,
  2. required int itemTotal,
  3. required int limitPerPage,
  4. required bool progress,
  5. required PaginateBarChange paginateNumberChange,
  6. required Color colorPrimary,
  7. required Color colorSecondary,
})

Implementation

PaginateBarFastor(  {
  required this.currentPage,
  required this.itemTotal,
  required this.limitPerPage,
  required this.progress,
  required this.paginateNumberChange,
  required this.colorPrimary,
  required this.colorSecondary

}){

   _calculateMaxPage();
  // String data =    '{ currentPage: $currentPage, itemTotal: $itemTotal, limitPerPage: $limitPerPage, maxPage: $maxPage, progress: $progress}';
  // Log.i("PaginateNumberWidget - constructor - data: $data");
}