Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedart_code_viewer2

A Flutter widget to view, theme, and copy Dart code snippets.

pub.devRemove
widget_with_codeview

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

pub.devRemove
ScoresHealth55 (best)48
Maintenance623 (best)
Quality96 (best)78
Popularity48 (best)43
Community63 (best)28
Compatibility100 (best)85
UsageDownloads (30 days)7.6k (best)1.4k
Likes1667 (best)
Pub points150 / 160 (best)110 / 160
GitHub stars829 (best)
MaintenanceLatest release1.0.3, 2 years ago3.2.0, 9 months ago (best)
Major versions in 12 months00
Contributors55
Publisherbangkit.devUnverified
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesNo
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies1 (best)6
LicenseUNLICENSEMIT
Setup effortLowLow
JudgementStrengths
  • Easy to set up with pre-made themes like light, dark, io17, and designDark
  • Supports custom text styling and color parameters per token type
  • Includes a copy button feature out of the box
  • Provides an easy way to display source code views next to running widgets.
  • Supports custom themes for code highlighting and tab change listeners.
Weaknesses
  • Limited to displaying Dart code
  • Requires a Material ancestor and MediaQuery widget in the tree
  • Requires manual addition of source code files to pubspec.yaml assets.
  • Increases application bundle size by bundling source text as assets.
WarningsNoneNone
dart_code_viewer2 vs widget_with_codeview: which Flutter package should you use? | pubscout