interaction property

GlassInteractionSettings interaction
final

Interaction physics settings (brightness-agnostic).

Controls stretch, press scale, drag resistance, and anchor stretch for all interactive glass widgets. Individual widgets can override any parameter via their constructor.

Lives at the top level (not per-variant) because interaction physics don't change between light and dark mode.

Implementation

final GlassInteractionSettings interaction;