anchorStretchSettings property

AnchorStretchSettings? anchorStretchSettings
final

Fine-tuning for the anchor stretch effect.

Controls intensity, squash, translation damping, and bounciness. When null (the default) the theme's settings apply, or failing that the tremor a native button shows on a long drag: intensity: 0.1, squashFactor: 0.1, translationDamping: 0.1, bounciness: 0.0 — no more than ~5 % of elongation, matching squash, a few points of travel, and no rebound of its own, since the release bounce is in the press scale. AnchorStretchSettings() gives the jelly stretch other glass widgets use.

See AnchorStretchSettings for details.

Implementation

final AnchorStretchSettings? anchorStretchSettings;