IconButton( icon: AnimatedIcon( progress: _animationController, icon: AnimatedIcons.play_pause, ), onPressed: () { if (playStatus.isPlaying) { _animationController.reverse(); _stop(); } else { _animationController.forward(); _play(downloadLocation ?? item.guid); } } )