focusElevation property
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:
- elevation, the default elevation.
- hoverElevation, the elevation when a pointer is hovering over the button.
- disabledElevation, the elevation when the button is disabled.
- highlightElevation, the elevation when the button is pressed.
Implementation
final double focusElevation;