PaginationOptions constructor
PaginationOptions(- {required int totalPages,
- required int currentUserPage,
- GeneratePageContentType handlePageChange = generatePageContent,
- String position = 'middle',
- String location = 'bottom',
- String direction = 'horizontal',
- BoxConstraints? buttonsContainerStyle,
- Widget? alternateIconComponent,
- Widget? iconComponent,
- Color activePageColor = const Color(0xFF2c678f),
- Color? inactivePageColor,
- Color backgroundColor = const Color(0xFFFFFFFF),
- bool showAspect = true,
- 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,
});