initAnimations method

void initAnimations()

initialize all animations used by FanSliceDelegate

Implementation

void initAnimations() {
  final FanAnimationConfig config = widget.fanAnimationConfig;

  initScaleAnimation(config.scaleAnimationConfig);
  initRotationAnimation(config.rotationAnimationConfig);
  initOpacityAnimation(config.opacityAnimationConfig);
  initDistanceAnimation(config.rayAnimationConfig);
}