Closed amitverma-cf closed 4 years ago
Hi @amitverma-cf 👋
Thanks for taking the time to contribute. The "jelly-like-click" is already supported by Dough. There is a property on the DoughRecipe
widget called expansion
which scales dough widgets.
If you'd like to use your squash
feature in your own projects, I'd recommend creating your own custom package with just this scaling feature. Supporting the squash widget is beyond the scope of this project.
I have tried to do something similar to Squash effect or Jelly-like-click, using ScaleTransition and used controller.fling() to keep the current state until it is pressed.