Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeprofanity_filter

Check and censor strings against profanity and obscene words with a built-in English list.

pub.devRemove
validators2

String validation and sanitization for Dart.

pub.devRemove
ScoresHealth5083 (best)
Maintenance088 (best)
Quality100 (best)96
Popularity64 (best)50
Community1780 (best)
Compatibility100100
UsageDownloads (30 days)14k78k (best)
Likes119 (best)9
Pub points160 / 160 (best)150 / 160
GitHub stars16 (best)0
MaintenanceLatest release2.0.0, 5 years ago5.1.1, 3 weeks ago (best)
Major versions in 12 months00
Contributors39 (best)
PublisherUnverifiedonepub.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseBSD-2-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Includes a default English profanity word list out of the box.
  • Supports custom lists, additions, and exclusions.
  • Case-agnostic censorship and exact substring matching.
  • 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
  • Relies on a static word list which may miss creative spellings or context-dependent slurs.
  • Limited to string validation; no UI components.
  • No built‑in error message localization.
  • Not a form builder, just helper functions.
WarningsNoneNone
profanity_filter vs validators2: which Flutter package should you use? | pubscout