scheme method

ColorScheme scheme(
  1. Brightness brightness
)

Implementation

ColorScheme scheme(Brightness brightness) =>
    brightness == Brightness.light ? light : dark;