elevation property

double? elevation

The z-coordinate of this Dialog.

Controls how far above the parent the dialog will appear. Elevation is represented by a drop shadow if shadowColor is non null, and a surface tint overlay on the background color if surfaceTintColor is non null.

If null then DialogTheme.elevation is used, and if that is null then the elevation will match the Material Design specification for Dialogs.

See also:


final double? elevation;