curIndex property

int curIndex

Implementation

int get curIndex => _curIndex ?? -1;
void curIndex=(int value)

Implementation

set curIndex(int value) {
  if (_curIndex == value) {
    _curIndex = -1;
  } else {
    _curIndex = value;
  }
  notifyListeners();
}