shadowColor property Null safety

MaterialStateProperty<Color?>? shadowColor
final

The shadow color of the button's Material.

The material's elevation shadow can be difficult to see for dark themes, so by default the button classes add a semi-transparent overlay to indicate elevation. See ThemeData.applyElevationOverlayColor.

Implementation

final MaterialStateProperty<Color?>? shadowColor;