v0.2.1random_password_generator
一个新 Flutter 包,可帮助为在线账户生成强密码,并提供 Dart 的密码强度估算器。
51喜欢 619近 30 天下载160Pub 分数
AndroidiOSWebmacOSWindowsLinux
一个新 Flutter 包,可帮助为在线账户生成强密码,并提供 Dart 的密码强度估算器。
{"sdk":"flutter"}{"sdk":"flutter"}以下为英文项目原文快照,最新内容请访问 GitHub。
A new Flutter package for android and iOS also web which help generate strong password for online accounts and password strength estimator for Dart.
import 'package:random_password_generator/random_password_generator.dart';
...
final password = RandomPasswordGenerator();
String newPassword = password.randomPassword(true, false, true, false, 6);
double passwordstrength = password.checkPassword('hello');
if (passwordstrength < 0.3)
print('This password is weak!');
else if (passwordstrength < 0.7)
print('This password is Good');
else
print('This passsword is Strong');
pic
This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.