패키지, 저장소 및 앱 카테고리 검색

GitHub 저장소poqueque/random_name_generator

random_name_generator

랜덤한 사람 이름을 생성하기 위한 Dart 라이브러리

random_name_generator 프로젝트 이미지
스타
5
포크
6
최근 푸시(UTC)
2024. 11. 4.
프로젝트 상태
활성

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

GitHub license Version

This package creates random people names to be used in Dart/Flutter apps. The generation is done based in the most common names in each of the selectable zones.

Please star the repo to support the project

Features

Creation of names for a random person, man or woman. Creation of names, surnames or full names. The names are generated randomly based on the list of 100 most common names and surnames.

Usage

RandomNames is a tool class to create random names for specific Zone. To create a RandomNames instance you need to use one of available Zone objects.

var randomNames = RandomNames(Zone.us);

The RandomNames object has several methods to get random people names:

randomNames.name() gives a random first name (man or woman)

randomNames.womanName() gives a random woman first name

randomNames.manName() gives a random man first name

randomNames.surname() gives a random last name

randomNames.fullName() gives a random full name (man or woman)

randomNames.womanFullName() gives a random woman full name

randomNames.manFullName() gives a random man full name

Supported Zones

There are static accessors to the different zones available on the Zone class:

Zone.catalonia
Zone.france
Zone.spain
Zone.uk
Zone.us
Zone.turkey
Zone.germany
Zone.canada
Zone.afghanistan
Zone.austria
Zone.belgium
Zone.brazil
Zone.china
Zone.egypt
Zone.finland
Zone.india
Zone.iran
Zone.israel
Zone.italy
Zone.japan
Zone.poland
Zone.romania
Zone.russia
Zone.saudiArabia
Zone.southAfrica
Zone.switzerland
Zone.uganda
Zone.ukraine
Zone.zimbabwe

Additional information

Feel free to create a pull request to expand the library for other Zones.

Eduard Carreras GitHub avatar
GitHub 작성자

Eduard Carreras ↗

언어Dart

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 2 개

  • lints개발 의존성^3.0.0
  • test개발 의존성^1.21.4

프로젝트에 맞는 저장소를 선택하려면?

사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.

  1. 이름, 작성자 또는 설명으로 검색하고 기술 주제로 범위를 좁힙니다.
  2. 스타, 포크, 최근 푸시를 함께 비교하세요. 스타는 관심의 지표이며 품질을 보장하지 않습니다.
  3. 사용하기 전에 GitHub에서 README, 라이선스, Issues를 확인하세요.

출처 및 관리

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗