flutter_palette library

A library for creating, generating, and interfacing with color palettes. With support for constructing colors in the CMYK, HSI, HSL, HSP, HSB, LAB, Oklab, RGB, and XYZ color spaces.

Classes

CmykColor
A color in the CMYK color space.
ColorModel
The base color model class.
ColorPalette
Wraps a list of ColorModels with additional getters and methods; with constructors for generating new color palettes, as well as methods and operators for modifying and extracting colors from the palette.
HsbColor
A color in the hsb (HSB) color space.
HsiColor
A color in the HSI color space.
HslColor
A color in the HSL color space.
HspColor
A color in the HSP color space.
LabColor
A color in the CIELAB color space.
OklabColor
A color in the Oklab color space.
RgbColor
A color in the sRGB color space.
XyzColor
A color in the CIEXYZ color space.

Enums

ColorSortingDirection
Directions around a color wheel from a starting point.
ColorSortingProperty
The properties of a color that can be used for sorting.
ColorSpace
An enumeration representing the color spaces defined in this package.