anchorStretchSettings property

AnchorStretchSettings? anchorStretchSettings
final

Fine-tuning for the anchor stretch effect.

Controls intensity, squash, translation damping, and bounciness.

When null, GlassButton uses a native tremor default — very gentle (intensity 0.1, squash 0.1, no bounce), matching the ≤5% elongation measured on iOS 26 glass. Other widgets fall back to their own defaults.

Implementation

final AnchorStretchSettings? anchorStretchSettings;