v0.1.6flutter_password_strength
Flutter용 비밀번호 강도 체크기로, 안드로이드 및 iOS에서 작동합니다.
47좋아요 2.2만30일 다운로드140Pub 점수
AndroidiOSWebmacOSWindowsLinux
플러터용 비밀번호 강도 체크기입니다.
{"sdk":"flutter"}{"sdk":"flutter"}아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A password strength checker for flutter.
https://media.giphy.com/media/kbuhBEahzQAtifnfSL/giphy.gif
import 'package:flutter_password_strength/flutter_password_strength.dart';
FlutterPasswordStrength(
password: _password,
strengthCallback: (strength){
debugPrint(strength.toString());
}
)
| 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 |