Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebad_words

A Dart filter to check if a string contains English bad words and clean them.

pub.devRemove
validators2

String validation and sanitization for Dart.

pub.devRemove
ScoresHealth4083 (best)
Maintenance088 (best)
Quality100 (best)96
Popularity1850 (best)
Community1180 (best)
Compatibility100100
UsageDownloads (30 days)51278k (best)
Likes15 (best)9
Pub points160 / 160 (best)150 / 160
GitHub stars6 (best)0
MaintenanceLatest release0.3.0, 5 years ago5.1.1, 3 weeks ago (best)
Major versions in 12 months00
Contributors29 (best)
PublisherUnverifiedonepub.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Simple and straightforward API
  • Includes both checking and cleaning functionality
  • Zero dependencies
  • 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 English language only
  • Word list is static and defined internally
  • Limited to string validation; no UI components.
  • No built‑in error message localization.
  • Not a form builder, just helper functions.
WarningsNoneNone
bad_words vs validators2: which Flutter package should you use? | pubscout