currentIndex property

int currentIndex

The current bottom navigation index.

Implementation

int get currentIndex => value.currentIndex;
void currentIndex=(int newIndex)

Implementation

set currentIndex(int newIndex) {
  value = value.copyWith(
    previousIndex: currentIndex,
    currentIndex: newIndex,
  );
}