Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeindent

Provides methods to change indentation of multiline Dart strings while preserving relative indentation.

pub.devRemove
validators2

String validation and sanitization for Dart.

pub.devRemove
ScoresHealth4683 (best)
Maintenance088 (best)
Quality9196 (best)
Popularity3150 (best)
Community4680 (best)
Compatibility100100
UsageDownloads (30 days)2.5k78k (best)
Likes16 (best)9
Pub points140 / 160150 / 160 (best)
GitHub stars17 (best)0
MaintenanceLatest release2.0.0, 6 years ago5.1.1, 3 weeks ago (best)
Major versions in 12 months00
Contributors29 (best)
Publisheriiro.devonepub.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseBSD-2-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Zero dependencies and pure Dart implementation
  • Simple API via String extensions
  • Handles relative indentation correctly
  • No external dependencies, pure Dart.
  • Up-to-date regexes and edge‑case handling (e.g., email backtracking fix).
  • Supports Dart 3.x and null safety.
Weaknesses
  • Limited to whitespace indentation; no support for tabs vs spaces mixing
  • No streaming or lazy processing for very large strings
  • Limited to string validation; no UI components.
  • No built‑in error message localization.
  • Not a form builder, just helper functions.
WarningsNoneNone
indent vs validators2: which Flutter package should you use? | pubscout