presentation/widgets/common/squash_stretch library
Classes
- SquashStretch
-
Non-uniform "squash" wrapper (IDEA-08) — unlike PressableScale's
uniform scale-down, this squishes horizontally (scaleX up, scaleY down)
on tap-down, then a real SpringSimulation (not a fixed
Curve) bounces it back to(1.0, 1.0)on release, carrying over whatever velocity the spring already had (so a quick re-tap doesn't reset to a dead stop).