PaginationOptions constructor

PaginationOptions(
  1. {required int totalPages,
  2. required int currentUserPage,
  3. GeneratePageContentType handlePageChange = generatePageContent,
  4. String position = 'middle',
  5. String location = 'bottom',
  6. String direction = 'horizontal',
  7. BoxConstraints? buttonsContainerStyle,
  8. Widget? alternateIconComponent,
  9. Widget? iconComponent,
  10. Color activePageColor = const Color(0xFF2c678f),
  11. Color? inactivePageColor,
  12. Color backgroundColor = const Color(0xFFFFFFFF),
  13. double paginationHeight = 40.0,
  14. bool showAspect = true,
  15. required PaginationParameters parameters}
)

Implementation

PaginationOptions({
  required this.totalPages,
  required this.currentUserPage,
  this.handlePageChange = generatePageContent,
  this.position = 'middle',
  this.location = 'bottom',
  this.direction = 'horizontal',
  this.buttonsContainerStyle,
  this.alternateIconComponent,
  this.iconComponent,
  this.activePageColor = const Color(0xFF2c678f),
  this.inactivePageColor,
  this.backgroundColor = const Color(0xFFFFFFFF),
  this.paginationHeight = 40.0,
  this.showAspect = true,
  required this.parameters,
});