highlightElevation property

double? highlightElevation

The elevation for the button's Material relative to its parent when the button is enabled and pressed.

This controls the size of the shadow below the button. When a tap down gesture occurs within the button, its InkWell displays a highlightColor "highlight".

Defaults to 8.0. The value is always non-negative.

See also:


final double? highlightElevation;