contrastColor property

Color contrastColor

The Color contrasting this Brightness:

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

Implementation

Color get contrastColor => opposite.color;