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
widget_with_codeview

A widget that displays a widget alongside its source code side-by-side.

pub.devRemove
ScoresHealth59 (best)48
Maintenance52 (best)23
Quality100 (best)78
Popularity943 (best)
Community41 (best)28
Compatibility100 (best)85
UsageDownloads (30 days)3111.4k (best)
Likes1267 (best)
Pub points160 / 160 (best)110 / 160
GitHub stars1029 (best)
MaintenanceLatest release1.1.0, 4 months ago (best)3.2.0, 9 months ago
Major versions in 12 months00
Contributors15 (best)
Publisherbirju.devUnverified
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesNo
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies4 (best)6
LicenseMITMIT
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.
  • Provides an easy way to display source code views next to running widgets.
  • Supports custom themes for code highlighting and tab change listeners.
Weaknesses
  • Web async highlighting requires setting up a browser Web Worker.
  • Very large files still incur Flutter paragraph layout costs.
  • Requires manual addition of source code files to pubspec.yaml assets.
  • Increases application bundle size by bundling source text as assets.
WarningsNoneNone
shiki_flutter vs widget_with_codeview: which Flutter package should you use? | pubscout