surfaceTintColor property Null safety

Color? surfaceTintColor
final

The color used as an overlay on color to indicate elevation.

If this is null, no overlay will be applied. Otherwise the this color will be composited on top of color with an opacity related to elevation and used to paint the background of the card.

The default is null.

See Material.surfaceTintColor for more details on how this overlay is applied.

Implementation

final Color? surfaceTintColor;