Custom SnackBar Animation

Hi all,

I have a snackbar that has an icon and some text, I would like to know if I can animate the icon within the snackbar, I would just like to do something simple like rotate the icon within the snackbar.

Try using another_flushbar | Flutter Package

icon accepts any widget so maybe you can try adding an animated gif or animate the icon.