Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecolor_mesh

A multi-point mesh gradient that extends Gradient and can be used in decorations and animations.

pub.devRemove
enhanced_gradients

Flutter gradient wrappers that interpolate colors in the HCT color system.

pub.devRemove
ScoresHealth4871 (best)
Maintenance561 (best)
Quality96100 (best)
Popularity2626
Community4680 (best)
Compatibility100100
UsageDownloads (30 days)438 (best)372
Likes2329 (best)
Pub points150 / 160160 / 160 (best)
GitHub stars591 (best)
MaintenanceLatest release1.0.2, 2 years ago2.0.0+1, 9 months ago (best)
Major versions in 12 months00
Contributors235 (best)
Publisherhamzahayak.devleancode.co
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies0 (best)2
LicenseMITAPACHE-2.0
Setup effortLowLow
JudgementStrengths
  • Supports up to 8 colors with configurable offsets, strengths, and sigmas.
  • Supports lerping for smooth animations with BoxDecoration and AnimatedContainer.
  • Includes ready-to-use container widgets for quick implementation.
  • Easy to use via wrapper classes or extension methods.
  • Includes a custom HctColorTween for animations.
Weaknesses
  • Requires shader precaching or initialization at app startup.
  • Shader compatibility issues on certain configurations like Impeller OpenGLES on Android emulators.
  • HCT results are subjective and might not always look better than regular gradients depending on the effect.
  • Requires a relatively recent minimum Flutter version (3.27.0).
WarningsNoneNone
color_mesh vs enhanced_gradients: which Flutter package should you use? | pubscout