shadowColor property

Color? shadowColor
final

The color to paint the shadow below the material.

If null, ThemeData.shadowColor is used, which defaults to fully opaque black.

Shadows can be difficult to see in a dark theme, so the elevation of a surface should be portrayed with an "overlay" in addition to the shadow. As the elevation of the component increases, the overlay increases in opacity.

See also:

Implementation

final Color? shadowColor;