Skip to content
pubscout

random_name_generator

1.5.0, released 2 years ago by poquesoft.net

Generate random names and surnames based on common names in various global zones.

WASM-ready
$ flutter pub add random_name_generator
Source repository

What it does

Provides a RandomNames class to generate random first names, last names, or full names for men and women. Supports multiple geographic zones and allows passing a custom Random instance.

AI-written summary of version 1.5.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need mock or placeholder person names for UI development.
  • You are building a game or app requiring procedurally generated characters.

Skip it when

  • You need real user data or complex demographic databases beyond common name lists.

Strengths

  • Supports a large number of zones and countries.
  • Easy to use with straightforward class and method design.

Weaknesses

  • Limited to a list of the 100 most common names and surnames per zone.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
0
var randomNames = RandomNames(Zone.us);
String fullName = randomNames.fullName();

Alternatives

Packages that do the same job and could replace random_name_generator.

  • word_generator

    A Dart utility package for generating random words, names, usernames, and passwords.

  • super_string

    Provides common string manipulation and validation extension methods.

  • normal

    Work with the normal probability distribution in Dart

Works with

Packages commonly used together with random_name_generator: ones it builds on, ones built on it, and its own family.