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