color property Null safety

Color color

Implementation

Color get color => Color(colorValue);
void color=(Color c)

Implementation

set color(Color c) {
  colorValue = c.value;
}