color property

Color? get color

The background color for the card's border and fill.

Implementation

Color? get color => _color;
set color (Color? v)

Sets the background color and invalidates the cached style.

Implementation

set color(Color? v) {
  _color = v;
  _invalidateCache();
}