Skip to content
pubscout

material_color_utilities

0.13.1, released 3 months ago by material.io

Algorithms and utilities for the Material Design 3 color system.

WASM-ready
$ flutter pub add material_color_utilities
Source repository

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.

  • flex_color_scheme

    Builds matched light and dark ThemeData for Flutter with Material design themes and seed colors.

  • mix

    A Flutter styling system that separates style definitions from widget code using a fluent API.

  • c_material

    Provides a large set of predefined Color constants and Material 3 theming utilities for Flutter.

Works with

Packages commonly used together with material_color_utilities: ones it builds on, ones built on it, and its own family.