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');
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.