


# setIndex method








void setIndex
([int](https://api.flutter.dev/flutter/dart-core/int-class.html) value)








## Implementation

```dart
void setIndex(int value) {
  index = value;
  notifyListeners();
}
```







