flutter_password_strength 0.1.4

Flutter Android iOS web

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

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 #

ArgumentsDefaultTypeDescription
passwordrequiredStringPassword
widthnulldoubleStrength bar width
height5doubleStrength bar height
strengthColorsnullTweenSequence0.0 ~ 0.25 : red, 0.26 ~ 0.5 : yellow, 0.51 ~ 0.75 : blue, 0.76 ~ 1 : green
backgroundColorColors.greyColorbackground for strength bar
radius0doubleStrength bar radius
duration3000DurationAnimation duration
strengthCallbacknullvoid Function(double strength)Strength callback, return between 0 to 1
7
likes
100
pub points
85%
popularity

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

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

sojinho85@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_password_strength