enablePressScale property

bool enablePressScale
final

Whether to apply the subtle scale-down animation on press.

When true (default), the item shrinks to 0.98× on touch-down, matching the standard iOS press feedback. Set to false on fill-rate-limited devices to eliminate the per-frame GPU cost of animating a Transform.scale over the glass layer.

Defaults to true.

Implementation

final bool enablePressScale;