Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributere_highlight

Powerful text syntax highlighting library translated from highlightjs.

pub.devRemove
syntax_highlight

VSCode-style syntax highlighting and code editing widgets for Flutter.

pub.devRemove
ScoresHealth5063 (best)
Maintenance113 (best)
Quality9196 (best)
Popularity6674 (best)
Community4169 (best)
Compatibility100100
UsageDownloads (30 days)161k (best)28k
Likes2479 (best)
Pub points140 / 160150 / 160 (best)
GitHub stars84 (best)62
MaintenanceLatest release0.0.3, 3 years ago0.5.0, a year ago (best)
Major versions in 12 months00
Contributors16 (best)
Publisherreqable.comserverpod.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies2 (best)3
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Synchronized with highlightjs v11.9.0
  • Supports dozens of programming languages out of the box
  • Easy to convert results to TextSpan for Text widgets or TextEditingController
  • Supports many popular programming languages out of the box using TextMate grammar rules.
  • Provides a ready-to-use CodeEditor widget.
  • Easy to extend with new grammar files.
Weaknesses
  • Relies on manual synchronization with the highlightjs project for new languages
  • Requires manual asynchronous initialization of languages and themes before use.
  • The bundled CodeEditor is simplistic.
Warnings
  • Single maintainer
None
re_highlight vs syntax_highlight: which Flutter package should you use? | pubscout