focusElevation property

double focusElevation
final

The elevation for the button's Material when the button is enabled and has the input focus.

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

If the button is enabled, and being pressed (in the highlighted state), or a mouse cursor is hovering over the button, then the hoverElevation and highlightElevation take precedence over the focusElevation.

See also:

Implementation

final double focusElevation;