pinchStrength property

double pinchStrength
final

Maximum concave lens pinch strength for the active indicator pill.

During a drag, the pill's left and right edges appear to pinch inward (iOS 26 "through a lens" effect). This value is the ceiling of that effect at thickness == 1.0.

  • 1.0 (default) — full Apple-calibrated pinch
  • 0.5 — half the pinch depth
  • 0.0 — pinch fully disabled

Configure per-bar via GlassTabBar.indicatorPinchStrength, GlassSegmentedControl.indicatorPinchStrength, etc.

Implementation

final double pinchStrength;