Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedart_dash_otp

Generate and verify TOTP and HOTP one-time passwords for 2FA and MFA.

pub.devRemove
firebase_ui_oauth

Firebase UI OAuth widgets for authentication with social providers

pub.devRemove
ScoresHealth5984 (best)
Maintenance4093 (best)
Quality97 (best)93
Popularity1650 (best)
Community6380 (best)
Compatibility100100
UsageDownloads (30 days)98152k (best)
Likes13 (best)9
Pub points160 / 160 (best)150 / 160
GitHub stars1152 (best)
MaintenanceLatest release2.0.0, 6 months ago3.0.0, 5 days ago (best)
Major versions in 12 months11
Contributors556 (best)
Publisherdatogedon.comfirebase.google.com
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS
WASM-readyYesYes
KindPure DartFlutter widgets
Code generationNoNo
Direct dependencies2 (best)7
LicenseMITBSD-3-CLAUSE
Setup effortLowMedium
JudgementStrengths
  • RFC test-vector validated against RFC 4226 and RFC 6238 reference vectors.
  • Constant-time verification to prevent timing attacks.
  • Pure Dart with zero Flutter dependencies, supporting multiple algorithms (SHA-1, SHA-256, SHA-384, SHA-512).
  • Easy integration with Firebase Auth
  • Supports multiple providers out of the box
  • Cross‑platform (mobile, web, desktop)
Weaknesses
  • Requires manual implementation of server-side counter persistence and secret management.
  • On the web, integers are exact only up to 2^53, so extremely large HOTP counters require a native-int target.
  • Requires FlutterFire dependencies and recent SDKs
  • Breaking changes in 3.0.0 may affect existing code
  • Limited customization compared to lower‑level auth packages
WarningsNoneNone
dart_dash_otp vs firebase_ui_oauth: which Flutter package should you use? | pubscout