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