currentIndex property
int
currentIndex
The current bottom navigation index.
Implementation
int get currentIndex => value.currentIndex;
Implementation
set currentIndex(int newIndex) {
value = value.copyWith(
previousIndex: currentIndex,
currentIndex: newIndex,
);
}