material_color_utilities
0.13.1, released 3 months ago by material.io
Algorithms and utilities for the Material Design 3 color system.
What it does
Provides low-level algorithms and utilities that power the Material Design 3 color system. It handles choosing theme colors from images and creating tones of colors in a new color space.
AI-written summary of version 0.13.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to generate Material Design 3 color schemes or dynamic colors from images.
- You are building a custom color system or tooling that requires low-level M3 color utilities.
Skip it when
- You just want standard high-level dynamic color support in a Flutter application, where `dynamic_color` is recommended instead.
- You do not need Material Design 3 color calculations.
Strengths
- Official algorithms and utilities backing the Material Design 3 color system.
- Supports choosing theme colors from images and calculating tonal palettes.
Weaknesses
- It is a low-level package, requiring higher-level wrappers for standard app adoption.
- External code contributions are not accepted on the repository.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Not documented
import 'package:material_color_utilities/material_color_utilities.dart';Alternatives
Packages that do the same job and could replace material_color_utilities.
- sbb_design_system_mobile
Official SBB design system mobile UI components and theming for Flutter apps.
80Compare - flex_color_scheme
Builds matched light and dark ThemeData for Flutter with Material design themes and seed colors.
89Compare - mix
A Flutter styling system that separates style definitions from widget code using a fluent API.
86Compare - c_material
Provides a large set of predefined Color constants and Material 3 theming utilities for Flutter.
58Compare
Works with
Packages commonly used together with material_color_utilities: ones it builds on, ones built on it, and its own family.
- material_uiBuilt on material_color_utilitiesOfficial Flutter Material UI library implementing Google’s Material Design system.
- dynamic_colorBuilt on material_color_utilitiesCreate Material color schemes based on a platform's implementation of dynamic color.
- m3e_coreBuilt on material_color_utilitiesA Flutter package providing Material 3 expressive components and shapes.
- dynamic_system_colorsBuilt on material_color_utilitiesCreate Material color schemes based on the platform's dynamic color implementation.
- enhanced_gradientsBuilt on material_color_utilitiesFlutter gradient wrappers that interpolate colors in the HCT color system.
- material_designBuilt on material_color_utilitiesA Material Design 3 contract enforcing design tokens via type-safe Dart APIs.