Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeshiki_flutter

TextMate-grammar based syntax highlighter for Flutter ported from Shiki.

pub.devRemove
val_highlight_flutter

Flutter widgets for displaying and editing syntax-highlighted code.

pub.devRemove
ScoresHealth5980 (best)
Maintenance5291 (best)
Quality100100
Popularity956 (best)
Community4146 (best)
Compatibility100100
UsageDownloads (30 days)31174k (best)
Likes12 (best)8
Pub points160 / 160160 / 160
GitHub stars10 (best)2
MaintenanceLatest release1.1.0, 4 months ago0.1.2, 2 weeks ago (best)
Major versions in 12 months00
Contributors12 (best)
Publisherbirju.devuseval.io
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies42 (best)
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Golden-tested token output matching VS Code exactly.
  • Supports off-main-thread background isolate highlighting to keep UI smooth.
  • Includes a drop-in syntax-highlighting TextEditingController.
  • Runs on every platform Flutter supports without mandatory native dependencies.
  • Smooth performance on large files with lazy rendering and background isolates.
  • Includes editing features like bracket auto-closing, smart indentation, and comment toggling.
  • Supports 55 languages and customizable themes.
Weaknesses
  • Web async highlighting requires setting up a browser Web Worker.
  • Very large files still incur Flutter paragraph layout costs.
  • Coloured window movement in large CodeFields can occasionally cause layout recalculations.
WarningsNoneNone
shiki_flutter vs val_highlight_flutter: which Flutter package should you use? | pubscout