select method
Asks the attached bar to select index.
Implementation
void select(int index) {
final ValueChanged<int>? select = _select;
if (select == null) {
if (this.index == index) {
return;
}
this.index = index;
notifyListeners();
return;
}
select(index);
}