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.