animateToIndex method

void animateToIndex(
  1. int targetIndex
)

Implementation

void animateToIndex(int targetIndex) {
  _animateToIndexCallback?.call(targetIndex);
}