bounceFloor property
The maximum number of pixels that the tappable can shrink during the bounce animation regardless of widget size. Defaults to 5.
This prevents large widgets from shrinking too much. For example, with the default bounceFloor:
- A 100px widget would shrink to 97px (3% shrink)
- A 500px widget would shrink to 495px (1% shrink)
Implementation
@override
final double? bounceFloor;