unique_name_generator 1.0.0 copy "unique_name_generator: ^1.0.0" to clipboard
unique_name_generator: ^1.0.0 copied to clipboard

Random name generator based on dictionaries.

example/unique_name_generator_example.dart

import 'package:unique_name_generator/unique_name_generator.dart';

void main() {
  final hashtag = ListDictionary(['#']);
  final numbers = NumberDictionary(1000, 9999);

  var ung = UniqueNameGenerator(
    dictionaries: [adjectives, animals, hashtag, numbers],
    style: NameStyle.capital,
    separator: '',
  );

  List<String> names = List.generate(10, (index) => ung.generate());
  print(names);
}
3
likes
130
points
360
downloads

Publisher

unverified uploader

Weekly Downloads

Random name generator based on dictionaries.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on unique_name_generator