init method
Initalizes the AnimationController by passing the provided TickerProvider.
Implementation
void init(TickerProvider vsync) {
animationController = AnimationController(
vsync: vsync,
duration: animationDuration,
);
}
Initalizes the AnimationController by passing the provided TickerProvider.
void init(TickerProvider vsync) {
animationController = AnimationController(
vsync: vsync,
duration: animationDuration,
);
}