shadowColor property

Color? shadowColor

The color to paint the shadow below the material.

If null and ThemeData.useMaterial3 is true then ThemeData's ColorScheme.shadow will be used. If ThemeData.useMaterial3 is false then ThemeData.shadowColor will be used.

To remove the drop shadow when elevation is greater than 0, set shadowColor to Colors.transparent.

See also:


final Color? shadowColor;