interactionScale property

double? interactionScale
final

The scale factor applied when the user presses the widget.

  • 1.0 = no scaling
  • 1.15 = a fixed 15% grow on press
  • 1.3 = a fixed 30% grow on press

When null, each widget uses its own default — GlassButton sizes the press as iOS 26 does, growing its longest side by ~17 pt (1.3× for a 56 pt circle, 1.13× for a 132 pt pill); chips, sheets and menus use small fixed factors.

Implementation

final double? interactionScale;