setCurrentIndex method

void setCurrentIndex(
  1. int index
)

Implementation

void setCurrentIndex(int index) {
  if (_state != null) {
    _state?.setIndex(index);
  }
}