init method

void init(
  1. TickerProvider vsync
)

Initalizes the AnimationController by passing the provided TickerProvider.

Implementation

void init(TickerProvider vsync) {
  animationController = AnimationController(
    vsync: vsync,
    duration: animationDuration,
  );
}