hoverElevation property Null safety

double hoverElevation

The elevation for the button's Material when the button is enabled and a pointer is hovering over it.

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

If the button is enabled, and being pressed (in the highlighted state), then the highlightElevation take precedence over the hoverElevation.

See also:


final double hoverElevation