Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_regex

Collection of 1000+ regular expression patterns and extensions for string validation in Flutter.

pub.devRemove
zxing2

Pure Dart library for encoding and decoding QR codes.

pub.devRemove
ScoresHealth4975 (best)
Maintenance150 (best)
Quality93100 (best)
Popularity4181 (best)
Community4658 (best)
Compatibility100100
UsageDownloads (30 days)1.8k347k (best)
Likes5076 (best)
Pub points145 / 160160 / 160 (best)
GitHub stars632 (best)
MaintenanceLatest release0.0.3, 3 years ago0.2.4, a year ago (best)
Major versions in 12 months00
Contributors24 (best)
Publishershirsh.devxaha.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies0 (best)4
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Extensive library covering 1000+ regex patterns including country IDs and currencies.
  • Convenient extension methods directly on String objects for quick validation.
  • Pure Dart – no native setup or permissions required.
  • Supports both encoding and decoding of QR codes.
  • Works on all Dart‑supported platforms.
Weaknesses
  • Large number of regexes might be overkill if only a few patterns are needed.
  • Lack of detailed documentation on every single pattern outside of basic examples.
  • Only QR‑code format is supported.
  • Performance may be lower than native scanner libraries.
  • No built‑in camera UI – you must integrate a camera plugin yourself.
WarningsNoneNone
flutter_regex vs zxing2: which Flutter package should you use? | pubscout