random_string_generator 2.0.0 copy "random_string_generator: ^2.0.0" to clipboard
random_string_generator: ^2.0.0 copied to clipboard

An easy to use, customizable and secure random string generator. Can also be used as a password generator.

example/random_string_generator_example.dart

import 'package:random_string_generator/random_string_generator.dart';

void main() {
  var generator = RandomStringGenerator(
    minLength: 5,
    maxLength: 25,
  );

  Iterable.generate(10).forEach((_) {
    try {
      var string = generator.generate();
      print(string);
    } on RandomStringGeneratorException catch (e) {
      print(e.message);
    }
  });
}
17
likes
150
points
624
downloads

Publisher

unverified uploader

Weekly Downloads

An easy to use, customizable and secure random string generator. Can also be used as a password generator.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on random_string_generator