currentPage property
int
get
currentPage
Gets the current page selected from the controller. The intial page is 0 since the page index start from 0.
Implementation
int get currentPage {
try {
return controller.page!.round();
} catch (_) {
return controller.initialPage;
}
}