currentIndex property

int currentIndex

It returns the current index of the page.

Implementation

int get currentIndex => _index;
void currentIndex=(int newIndex)

Implementation

set currentIndex(int newIndex) => _index = newIndex;