color property Null safety

Color? color
final

Default value for Card.color.

If null, Card uses ThemeData.cardColor.

Implementation

final Color? color;