animateTo method

void animateTo(
  1. int index
)

Implementation

void animateTo(int index) {
  if (index == currentIndex) return;
  vsync.animateTo(getOffsetAngleFormTargetIndex(index));
}