yaru_color_generator library

Generates full Material color palettes for Yaru from singular primary color values using the same algorithm as the official Material color tool.

NOTE: This is a low-level pure Dart package with no dependency on Flutter. See yaru_colors for more convenient API for Flutter.

Classes

GeneratedYaruColor
Annotation for generating Yaru colors at build time with the yaru_color_builder package.

Extensions

PaletteX on Palette
Palette extensions for color maps.

Functions

generateYaruColor(int primary) Palette
Generates a Material color palette from the specified primary color value.

Typedefs

Palette = Map<int, int>
Color palette described as key-value pairs of shade levels and ARGB color values.