color property
The card's background color.
Defines the card's Material.color.
If this property is null then CardTheme.color of ThemeData.cardTheme is used. If that's null then ThemeData.cardColor is used.
Implementation
final Color? color;
The card's background color.
Defines the card's Material.color.
If this property is null then CardTheme.color of ThemeData.cardTheme is used. If that's null then ThemeData.cardColor is used.
final Color? color;