color method

Color? color(
  1. Brightness brightness
)

Implementation

Color? color(Brightness brightness) { return brightness == Brightness.light ? colorLightCache : colorDarkCache; }