elevation property Null safety
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.
- Material.elevation, which describes how elevation effects the drop shadow or surface tint overlay.
- shadowColor, color of the drop shadow used to indicate the elevation.
- surfaceTintColor, color of an overlay on top of the background color used to indicate the elevation.
- m3.material.io/components/dialogs/overview, the Material Design specification for dialogs.
final double? elevation;