username_gen 1.0.4 copy "username_gen: ^1.0.4" to clipboard
username_gen: ^1.0.4 copied to clipboard

This is a simple package to create random usernames. To user it simply make these commands

username_gen #

Random username generator #

This is a simple package to create random usernames. To user it simply make these commands, ported from Javascript l

import 'package:username_gen/username_gen.dart';

var username = UsernameGen.random(); // sharpened-whiskey87

 //OR

final username = UsernameGen().generate(); // sharpened-whiskey87

If you want to set an array of name (nouns) and or adjectives use these commands and also if you want to use a different seperator commands


import 'package:username_gen/username_gen.dart';

final username = UsernameGen.generateWith(
    data: UsernameGenData(
        names: ['new names'],
        adjectives: ['new adjectives'],
    ),
    seperator: '_'
); // pink-harmonica17

 //OR

final username = UsernameGen()
      ..setNames(['new names'])
      ..setSeperator('_')
      ..setAdjectives(['new adjectives'])
      ..generate(); // pink-harmonica17
      
10
likes
130
pub points
76%
popularity

Publisher

verified publishercodenka.com

This is a simple package to create random usernames. To user it simply make these commands

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

test

More

Packages that depend on username_gen