palette property

TonalPalette Function(DynamicScheme) palette
final

palette Function that provides a TonalPalette given DynamicScheme. A TonalPalette is defined by a hue and chroma, so this replaces the need to specify hue/chroma. By providing a tonal palette, when contrast adjustments are made, intended chroma can be preserved.

Implementation

final TonalPalette Function(DynamicScheme) palette;