color property

Color color

The Color representing this Brightness:

  • Colors.black for Brightness.dark
  • Colors.white for Brightness.light

Implementation

Color get color => isDark ? Colors.black : Colors.white;