yaru_color_generator 0.1.0
SDKdartflutter
Platformandroidioswindowslinuxmacosweb
Generates full Material color palettes for Yaru from singular primary color values
Yaru Color Generator
This package generates full Material color palettes for Yaru from singular primary color values using the same algorithm as the official Material color tool.
final color = generateYaruColor(0xFFE95420);
print(color.primary);
print(color.shades);
print(color[500]);
NOTE: This is a low-level pure Dart package with no dependency on Flutter. See yaru_colors for more convenient API for Flutter.
Usage
To use this package, add yaru_color_generator as a
dependency in your pubspec.yaml file.