of static method
Create a FlexCorePalette from a given int ARGB color value.
Implementation
static FlexCorePalette of(
int argb, [
FlexPaletteType paletteType = FlexPaletteType.common,
]) {
final Cam16 cam = Cam16.fromInt(argb);
return FlexCorePalette.fromHueChroma(cam.hue, cam.chroma, paletteType);
}