If you made a custom widget for your button, then you can make the animation in that button’s widget. Then obviously all these buttons would be able to use that animation.
I don’t think there’s a way to do it other way.
If you made a custom widget for your button, then you can make the animation in that button’s widget. Then obviously all these buttons would be able to use that animation.
I don’t think there’s a way to do it other way.