material_color_utilities 0.1.5 material_color_utilities: ^0.1.5 copied to clipboard
Algorithms and utilities that power the Material Design 3 (M3) color system, including choosing theme colors from images and creating tones of colors; all in a new color space.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add material_color_utilities
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
material_color_utilities: ^0.1.5
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:material_color_utilities/material_color_utilities.dart';