Search packages, repositories and app categories

flutter_password_strength cover
Package detailsv0.1.6

flutter_password_strength

A password strength checker for flutter, works for Android and iOS.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
28.7K
Likes
47
Pub points
140

Install package

flutter pub add flutter_password_strength

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter package that evaluates password strength in real time, providing feedback on complexity and security. It supports Android, iOS, Web, macOS, Windows, and Linux, making it highly versatile for cross-platform applications. The checker analyzes passwords based on criteria like length, character variety, and common patterns, helping users create stronger credentials. It integrates seamlessly into forms and can be customized to fit various design needs. Ideal for apps requiring secure user authentication.

Use cases

  • User registration forms
  • Password validation in login screens
  • Security feedback during account setup
  • Compliance with password policies
  • Real-time strength indicators in form fields

Key features

  • Real-time strength assessment
  • Cross-platform compatibility
  • Customizable scoring rules
  • Supports multiple platforms
  • Simple integration with TextFormField
  • Visual feedback for password quality

Suitable for

  • Apps requiring strong password enforcement
  • Developers building secure authentication flows
  • Educational apps teaching password safety
  • Enterprise-level app development
  • UI/UX designers needing interactive form feedback

Considerations

  • May require customization for strict enterprise policies
  • Does not enforce password rules by default
  • Limited to strength analysis, not storage or hashing
  • Depends on client-side logic only
  • No built-in support for password history or reuse checks

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

flutter_password_strength

A password strength checker for flutter.

Features

  • Linear strength indicator.
  • Customise colors, borders, etc.

Screenshot

Usage

  import 'package:flutter_password_strength/flutter_password_strength.dart';

  FlutterPasswordStrength(
    password: _password, 
    strengthCallback: (strength){
      debugPrint(strength.toString());
    }
  )
Arguments
Arguments Default Type Description
password required String Password
width null double Strength bar width
height 5 double Strength bar height
strengthColors null TweenSequence 0.0 ~ 0.25 : red, 0.26 ~ 0.5 : yellow, 0.51 ~ 0.75 : blue, 0.76 ~ 1 : green
backgroundColor Colors.grey Color background for strength bar
radius 0 double Strength bar radius
duration milliseconds: 300 Duration Animation duration
strengthCallback null void Function(double strength) Strength callback, return between 0 to 1

Categories

Source repository

Projects using this package

No data available yet.