monet_colors 0.0.1 monet_colors: ^0.0.1 copied to clipboard
Material You user-generated colors on Android 12
monet_colors #
A Flutter plugin that exposes Monet (Material You, Material 3) system colors on Android 12. Returns null
on unsupported platforms and leaves handling that to you. For a backwards compatible implementation, see monet.
Install & Use #
dependencies:
monet_colors: ^x.y.z
final MonetColors? colors = await Monet.get();
final primary200 = colors.primary[200];
final secondary400 = colors.secondary.shade400;
final tertiary = colors.tertiary;
final tertiary300 = tertiary[300];
// ...
Check out the example project for a demo of all the colors.