initAnimetedIconController method
动画icon的初始化
Initialization of the animation icon
Implementation
void initAnimetedIconController(TickerProvider vsync) {
arrowIconLtRController = AnimationController(
duration: _arrowIconDuration,
vsync: vsync,
);
arrowIconRtLController = AnimationController(
duration: _arrowIconDuration,
vsync: vsync,
);
animetedIconController = AnimationController(
duration: animetedIconDuration,
vsync: vsync,
);
animetedIconTween = Tween<double>(
begin: 0.0,
end: 1.0,
).animate(animetedIconController!);
updateAnimetedIconState();
}