xiprox / monet_colors

A Flutter plugin that exposes Monet (Material You, Material 3) system colors on Android 12.

Home Page:https://pub.dev/packages/monet_colors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DEPRECATED

Use dynamic_color by the Material team.

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

See: Installing.

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.

About

A Flutter plugin that exposes Monet (Material You, Material 3) system colors on Android 12.

https://pub.dev/packages/monet_colors

License:MIT License


Languages

Language:Dart 61.7%Language:Kotlin 38.3%