initAnimetedIconController method

void initAnimetedIconController(
  1. TickerProvider vsync
)

动画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();
}