dynamic_color 1.9.0 copy "dynamic_color: ^1.9.0" to clipboard
dynamic_color: ^1.9.0 copied to clipboard

A Flutter package to create Material color schemes based on a platform's implementation of dynamic color.

150/ 160
pub points
141k
downloads

We analyzed this package 19 hours ago, and awarded it 150 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

14 out of 23 API elements (60.9 %) have documentation comments.

Some symbols that are missing documentation: dynamic_color, dynamic_color.ColorHarmonization, dynamic_color.ColorSchemeHarmonization, dynamic_color.CorePaletteToColorScheme, dynamic_color.DynamicColorBuilder.DynamicColorBuilder.new.

Passed check 10/10 points: Package has an example and has no issues with screenshots

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:dynamic_color/dynamic_color.dart that declares support for platforms: Android, Windows, Linux, macOS.
Package does not support platform `Web`.

Because:

  • package:dynamic_color/dynamic_color.dart that declares support for platforms: Android, Windows, Linux, macOS.

Swift PM-ready: This iOS or macOS plugin supports the Swift Package Manager. See https://docs.flutter.dev/to/spm for details.

Built-in Kotlin-ready: This Android plugin supports built-in Kotlin. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 12 issues. Showing the first 2:

INFO: 'CorePalette' is deprecated and shouldn't be used. Use [DynamicScheme] for color scheme generation.Use [CorePalettes] for core palettes container class.

lib/src/corepalette_to_colorscheme.dart:4:39

  ╷
4 │ extension CorePaletteToColorScheme on CorePalette {
  │                                       ^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/corepalette_to_colorscheme.dart

INFO: 'Scheme' is deprecated and shouldn't be used. The `Scheme` class is deprecated in favor of `DynamicScheme`.\nPlease see https://github.com/material-foundation/material-color-utilities/blob/main/make_schemes.mdfor migration guidance.

lib/src/corepalette_to_colorscheme.dart:9:11

  ╷
9 │     final Scheme scheme;
  │           ^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/corepalette_to_colorscheme.dart

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
material_color_utilities >=0.2.0 <=0.13.0 0.13.0 0.13.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
meta - 1.18.0 1.19.0
vector_math - 2.2.0 2.4.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.17, Flutter 3.44.8, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
633
likes
150
points
141k
downloads
screenshot

Documentation

API reference

Publisher

verified publishermaterial.io

Weekly Downloads

A Flutter package to create Material color schemes based on a platform's implementation of dynamic color.

Repository (GitHub)
View/report issues
Contributing

License

Apache-2.0 (license)

Dependencies

flutter, material_color_utilities

More

Packages that depend on dynamic_color

Packages that implement dynamic_color