highlightElevation property

double? highlightElevation

The z-coordinate at which to place this button relative to its parent when the user is touching the button.

This controls the size of the shadow below the floating action button.

Defaults to 12, the appropriate elevation for floating action buttons while they are being touched. The value is always non-negative.

See also:


final double? highlightElevation;