How to add an exit animation with animatable?

Good morning everyone. I was looking for a way to add an exit animation using the animatable library. For adding en entering animation, everything is fine, but after if the user make some changes the item just disappear and I wanted a better way to remove it from the screen.

Thanks in advance