flutter_random_password 1.0.1 copy "flutter_random_password: ^1.0.1" to clipboard
flutter_random_password: ^1.0.1 copied to clipboard

A lightweight Dart package for generating random passwords combining lowercase, uppercase, numbers, and symbols.

example/flutter_random_password_example.dart

import 'dart:math';

import 'package:flutter_random_password/flutter_random_password.dart';

void main() {
  var pass = RandomPass();
  for (var i = 0; i < 100; i++) {
    final math = 6 + Random().nextInt(12);
    print("Pass ${i + 1} : $math");
    print(
      pass.generate(
        total: math,
        hasAlphabet: true,
        hasAlphabetUpper: true,
        hasNumeric: true,
        hasSymbol: true,
      ),
    );
  }
}
1
likes
160
points
38
downloads

Documentation

API reference

Publisher

verified publisherzendevv.com

Weekly Downloads

A lightweight Dart package for generating random passwords combining lowercase, uppercase, numbers, and symbols.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on flutter_random_password