generate_username 0.0.1 copy "generate_username: ^0.0.1" to clipboard
generate_username: ^0.0.1 copied to clipboard

Let's create awesome usernames

example/example.dart

import 'package:flutter/material.dart';
import 'package:generate_username/src/create_username.dart';

class name extends StatelessWidget {
  const name({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container();
  }

  void main() {
    CreateUsername().generate_name("tarik", "sune", true); // tariksune
    CreateUsername().generate_name("tarik", "sune", false); // sunetarik
    CreateUsername()
        .generate_name_separator_surname("tarik", "-", "sune"); // tarik-sune
    CreateUsername()
        .generate_name_with_birhdate("tarik", 1995, true); // tarik1995
    CreateUsername()
        .generate_name_with_birhdate("tarik", 1995, false); // tarik95
    CreateUsername()
        .generate_name_with_random_number("tarik", 1, 30); // tarik13
    CreateUsername().generate_username_from_email("info@tariksune.com"); // info
  }
}
2
likes
140
points
15
downloads

Publisher

unverified uploader

Weekly Downloads

Let's create awesome usernames

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on generate_username