Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecolor_hash

Generate persistent colors from strings in Flutter.

pub.devRemove
material_color_generator

Generates a MaterialColor palette from a single HEX color.

pub.devRemove
ScoresHealth4647 (best)
Maintenance00
Quality96 (best)91
Popularity2638 (best)
Community4141
Compatibility100100
UsageDownloads (30 days)1.7k (best)856
Likes635 (best)
Pub points150 / 160 (best)140 / 160
GitHub stars37 (best)
MaintenanceLatest release1.0.1, 3 years ago (best)1.1.0, 6 years ago
Major versions in 12 months00
Contributors11
Publisheralekangelov.comberkan.io
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies00
LicenseMITBSD-2-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Simple API with factory creation options
  • Persistent color generation based on string hashing
  • Simple API, single function call
  • Supports null safety
  • Works on all Flutter platforms
Weaknesses
  • Limited feature set beyond basic string-to-color hashing
  • Limited to generating basic MaterialColor palettes
  • No customization of shade generation algorithm
WarningsNoneNone
color_hash vs material_color_generator: which Flutter package should you use? | pubscout