Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecss_text

Convert HTML with inline CSS into Flutter RichText widgets.

pub.devRemove
simple_html_css

Convert simple HTML and inline CSS styles into RichText or TextSpan widgets.

pub.devRemove
ScoresHealth4250 (best)
Maintenance02 (best)
Quality9191
Popularity2981 (best)
Community1728 (best)
Compatibility100100
UsageDownloads (30 days)1.1k44k (best)
Likes28140 (best)
Pub points140 / 160140 / 160
GitHub stars56 (best)46
MaintenanceLatest release3.0.0, 3 years ago5.0.0, 3 years ago (best)
Major versions in 12 months00
Contributors35 (best)
PublisherUnverifiedUnverified
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies11
LicenseAPACHE-2.0APACHE-2.0
Setup effortLowLow
JudgementStrengths
  • Lightweight and pure Dart implementation
  • Null‑safe and compatible with Dart 3
  • Easy link handling via callback
  • Easy to use with simple static methods like HTML.toRichText() and HTML.toTextSpan().
  • Allows custom global text styling and overriding styles per HTML tag.
  • Provides a callback mechanism for handling links within the HTML content.
Weaknesses
  • Limited to text‑related CSS, no alignment or block layout support
  • No built‑in image handling
  • Lists (<ol>, <ul>, <li>) are only partially supported without numbers or symbols.
  • Input HTML content must be unescaped before passing into version 5.0.0+.
  • Only handles text-related CSS properties and tags.
WarningsNoneNone
css_text vs simple_html_css: which Flutter package should you use? | pubscout