color property Null safety

Color color

Implementation

Color get color => isDark ? dark ?? light! : light ?? dark!;