color property

Color? get color

Overrides the default value for Card.color.

This property is obsolete and will be deprecated in a future release: please use the CardThemeData.color property in data instead.

Implementation

Color? get color => _data != null ? _data.color : _color;