curIndex property
int
curIndex
Implementation
int get curIndex => _curIndex ?? -1;
Implementation
set curIndex(int value) {
if (_curIndex == value) {
_curIndex = -1;
} else {
_curIndex = value;
}
notifyListeners();
}