currentIndex property

double currentIndex

Implementation

double get currentIndex {
  return itemCount <= 0 ? -1 : (currentPage - pageOffset) % itemCount;
}