Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedart_format

Configurable Dart/Flutter formatter that never wraps lines unless requested

pub.devRemove
dart_style

Provides an API and CLI to format Dart source code automatically.

pub.devRemove
ScoresHealth5490 (best)
Maintenance4493 (best)
Quality8496 (best)
Popularity2393 (best)
Community4180 (best)
Compatibility8585
UsageDownloads (30 days)1.6k18M (best)
Likes12128 (best)
Pub points130 / 160150 / 160 (best)
GitHub stars19700 (best)
MaintenanceLatest release2.2.2, 6 months ago3.1.14, 5 weeks ago (best)
Major versions in 12 months10 (best)
Contributors153 (best)
Publishereggnstone.devtools.dart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationYesNo
Direct dependencies98 (best)
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Fully configurable via JSON
  • Never inserts line breaks unless explicitly enabled
  • Supports CLI, stdin, and HTTP service for editor integration
  • Preserves original line endings (CRLF/LF)
  • Official package from the Dart team
  • Works with the Dart SDK `dart format` command
  • Configurable via analysis options
Weaknesses
  • Not part of the Dart SDK, requires separate installation
  • No automatic line‑wrapping feature
  • Limited to formatting, no linting or analysis
  • Only formats code, no linting or analysis
  • Limited configuration options
WarningsNoneNone
dart_format vs dart_style: which Flutter package should you use? | pubscout