colorScheme property

ColorScheme colorScheme
final

A set of thirteen 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.

Implementation

final ColorScheme colorScheme