shadowColor property Null safety

Color shadowColor
final

The color that the Material widget uses to draw elevation shadows.

Defaults to fully opaque black.

Shadows can be difficult to see in a dark theme, so the elevation of a surface should be rendered with an "overlay" in addition to the shadow. As the elevation of the component increases, the overlay increases in opacity. The applyElevationOverlayColor property turns the elevation overlay on or off for dark themes.

Implementation

final Color shadowColor;