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