interactionScale property

double interactionScale
final

The scale factor to apply when the user is interacting with the button.

  • 1.0: No scaling
  • 1.0: Button grows (e.g., 1.05 = 5% larger)

  • < 1.0: Button shrinks

Creates a satisfying "press down" effect when touched.

Defaults to 1.05.

Implementation

final double interactionScale;