Skip to content
pubscout

password_strength_checker

1.3.2, released a year ago by dariovarriale.dev

Generate secure passwords and validate strength with visual feedback and form widgets.

WASM-ready
$ flutter pub add password_strength_checker
Source repository

What it does

Provides visual password strength checkers, built-in form validation components with minimum strength requirements, and a secure random password generator.

AI-written summary of version 1.3.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display live visual feedback on password strength during user registration.
  • You want a TextFormField with built-in password strength validation.
  • You need to generate secure random passwords programmatically.

Skip it when

  • You need full enterprise IAM or authentication backend flows instead of just password validation UI.

Strengths

  • Includes a dictionary of 10,000 common exposed passwords for checking leaks.
  • Provides both standalone visual widgets and ready-to-use Form field checkers.
  • Supports custom strength rules and custom enum implementation.

Weaknesses

  • Relies on a static built-in dictionary rather than real-time online breach API lookups.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

Not documented

PasswordStrengthFormChecker(
  minimumStrengthRequired: PasswordStrength.secure,
  onChanged: (password, notifier) {
    notifier.value = PasswordStrength.calculate(text: password);
  },
)

Alternatives

Packages that do the same job and could replace password_strength_checker.

  • formz

    If you need a comprehensive, framework-agnostic validation library for multiple form inputs and states.

  • string_validator

    If you only need basic string validation helpers without UI widgets.