shadowElevation property

double shadowElevation
final

Scales the built-in light-mode drop shadow on glass surfaces.

The shadow only appears in light mode and uses Apple's iOS 26 elevation values as the baseline. This multiplier scales opacity and blur proportionally:

  • 0.0 — no shadow (flat glass)
  • 1.0 — default Apple-matching elevation (6% opacity, 8px blur)
  • 2.0 — double intensity (12% opacity, 16px blur)

Has no effect in dark mode.

For full control over shadow appearance, use shadow instead. If shadow is non-null, shadowElevation is ignored.

Defaults to 1.0.

Implementation

final double shadowElevation;