Closed mrn closed 1 year ago
I find this useful because one of my projects uses many translucent buttons with only text. With Bounceable, they only bounce when the opaque part is pressed (the text) and not the entire button area. So I prefer to use HitTestBehavior.translucent, but Bounceable did not let me change that.
Based
@mrn It's live! Appreciated your pr 👍
Currently it is not possible to change the hit test behavior of the internal GestureDetector in the Bounceable widget.
My change adds a
hitTestBehavior
parameter to Bounceable which allows changing this.