colorScheme property Null safety

ColorScheme colorScheme

A set of twelve colors that can be used to configure the color properties of most components.

This property was added much later than the theme's set of highly specific colors, like cardColor, buttonColor, canvasColor etc. New components can be defined exclusively in terms of colorScheme. Existing components will gradually migrate to it, to the extent that is possible without significant backwards compatibility breaks.


final ColorScheme colorScheme;