random_string_generator 2.0.0 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);
}
});
}