of static method

TonalPalette of(
  1. double hue,
  2. double chroma
)

Create colors using hue and chroma.

Implementation

static TonalPalette of(double hue, double chroma) {
  return TonalPalette._fromHueAndChroma(hue, chroma);
}