backgroundColor property
final
The background color of the surface of this Dialog.
This sets the Material.color on this Dialog's Material.
If null
, ColorScheme.surfaceContainerHigh is used in Material 3.
Otherwise, defaults to ThemeData.dialogBackgroundColor.
If Dialog.fullscreen is used, defaults to ColorScheme.surface.
Implementation
final Color? backgroundColor;