Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributehardcoded_strings_lint

A custom Dart analyzer plugin that detects hardcoded strings in widget constructors.

pub.devRemove
lints

Official Dart team lint rules for core and recommended static analysis settings.

pub.devRemove
ScoresHealth5786 (best)
Maintenance5966 (best)
Quality97100 (best)
Popularity2394 (best)
Community1780 (best)
Compatibility85100 (best)
UsageDownloads (30 days)1.8k14M (best)
Likes10269 (best)
Pub points160 / 160160 / 160
GitHub stars277 (best)
MaintenanceLatest release2.1.1, 3 months ago (best)6.1.0, 10 months ago
Major versions in 12 months10 (best)
Contributors3100+ (best)
PublisherUnverifieddart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies50 (best)
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Integrates natively with `dart analyze` and the Dart Analysis Server without extra CLI commands
  • Smart filtering skips technical patterns like URLs, emails, hex colors, and file paths
  • Provides quick fixes including extracting to variables and updating `analysis_options.yaml`
  • Official rules maintained directly by the Dart team.
  • Enabled by default in new projects created via 'dart create'.
  • Helps improve pub.dev scoring based on passing core lints.
Weaknesses
  • Does not run under `flutter analyze`
  • Requires updating `analysis_options.yaml` with top-level `plugins` block
  • Limited to core and recommended sets without a strict rule set option from the authors.
  • Requires manual configuration in an analysis_options.yaml file for existing projects.
WarningsNoneNone
hardcoded_strings_lint vs lints: which Flutter package should you use? | pubscout