animateTo method
Animates to the tab with the given index.
Implementation
void animateTo(
int value, {
Duration duration = kTabScrollDuration,
Curve curve = Curves.ease,
}) =>
_controller.animateTo(value, duration: duration, curve: curve);