updateIndex method
Stores the bar's current index.
Implementation
void updateIndex(int index) {
if (this.index == index) {
return;
}
this.index = index;
notifyListeners();
}
Stores the bar's current index.
void updateIndex(int index) {
if (this.index == index) {
return;
}
this.index = index;
notifyListeners();
}