next method
Animates to the next tab.
Implementation
void next({
Duration duration = kTabScrollDuration,
Curve curve = Curves.ease,
}) {
if (_controller.index == _controller.length - 1) return;
animateTo(_controller.index + 1);
}
Animates to the next tab.
void next({
Duration duration = kTabScrollDuration,
Curve curve = Curves.ease,
}) {
if (_controller.index == _controller.length - 1) return;
animateTo(_controller.index + 1);
}