brightness property

Brightness? brightness
final

The overall brightness of this color scheme.

The Brightness.light denotes a theme for light theme mode and Brightness.dark a dark theme mode. The colors you define should match the used brightness value in order for the theme to make visual sense.

If not defined, and if there is no colorScheme defined, it defaults to Brightness.light.

Implementation

final Brightness? brightness;