animation property

AnimationController animation
latefinal

Implementation

late final animation = AnimationController(
  vsync: this,
  value: controller(context).player.state.playing ? 1 : 0,
  duration: const Duration(milliseconds: 200),
);