rebuild method

void rebuild([
  1. int? index
])

Implementation

void rebuild([int? index]) {
  _state?.setState(() {
    _state?.setIndex(index ?? _state?.currentIndex ?? 0);
  });
}