pageViewCurrentIndex property
int
get
pageViewCurrentIndex
Implementation
int get pageViewCurrentIndex => pageViewController != null &&
pageViewController!.hasClients &&
pageViewController!.page != null
? pageViewController!.page!.round()
: 0;