anchorStretch property

bool anchorStretch
final

Whether the stretch anchors the button in place.

When true (default), the button stays fixed and elongates toward the finger — matching iOS 26 button behaviour. When false, the button follows the finger (jelly-follow mode).

Defaults to true.

See LiquidStretch.anchorStretch.

Implementation

final bool anchorStretch;