Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecharacters

Unicode and grapheme cluster aware string manipulation operations for Dart.

pub.devRemove
string_to_color

Convert strings to colors, hex strings, or hex integers in Dart and Flutter.

pub.devRemove
ScoresHealth86 (best)42
Maintenance57 (best)0
Quality100 (best)70
Popularity96 (best)30
Community100 (best)46
Compatibility100100
UsageDownloads (30 days)12M (best)2.2k
Likes507 (best)17
Pub points160 / 160 (best)125 / 160
GitHub stars77 (best)16
MaintenanceLatest release1.4.1, a year ago (best)2.0.0, 4 years ago
Major versions in 12 months00
Contributors100+ (best)2
Publisherdart.devhirantha.xyz
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPure DartFlutter widgets
Code generationNoNo
Direct dependencies00
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Safe handling of emojis and combined characters.
  • Bi-directional navigation and range manipulation via CharacterRange.
  • Zero dependencies.
  • Extremely simple API for converting strings to colors
  • Supports multiple return types (Color object, hex string, hex int)
Weaknesses
  • Operations cannot be index-based because grapheme clusters have varying lengths.
  • Regular expressions cannot be used safely directly on a sequence of characters.
  • Very limited scope with only basic string-to-color functions
  • Lacks advanced customization for color generation algorithms
Warnings
  • Quiet but busy
None
characters vs string_to_color: which Flutter package should you use? | pubscout