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.
Functions
-
generateYaruColor(
int primary) → Palette - Generates a Material color palette from the specified primary color value.