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

패키지 상세v1.5.0

random_name_generator

가장 흔한 이름을 기반으로 랜덤 이름을 생성하는 Dart 패키지

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
1.2천
좋아요
23
Pub 점수
160

패키지 설치

flutter pub add random_name_generator

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

다양한 문화에서 흔히 사용되는 이름을 기반으로 랜덤한 이름을 생성하는 Dart 패키지입니다. 테스트 및 개발에 적합하며 현실적인 자리 표시자 이름을 만들 수 있는 간단한 API를 제공합니다. Android, iOS, Web, macOS, Windows, Linux 등 여러 플랫폼을 지원하여 크로스플랫폼 애플리케이션에 유용합니다. 가볍고 Flutter의 pub 패키지 매니저를 통해 쉽게 통합할 수 있습니다.

사용 사례

  • 현실적인 데이터로 UI 테스트하기
  • 모크 사용자 프로필 채우기
  • 앱용 샘플 데이터셋 생성
  • 자동화된 테스트에서 사용자 상호작용 시뮬레이션
  • 프로토타입용 더미 콘텐츠 만들기

주요 기능

  • 문화적으로 흔한 이름을 생성합니다
  • 여러 플랫폼을 지원합니다
  • 간단하고 직관적인 API
  • 경량이고 빠름
  • 오픈소스, 공개 저장소
  • pub add를 통한 간편한 통합

적합한 대상

  • 테스트 환경을 구축하는 개발자
  • 사용자 중심의 프로토타입을 구축하는 팀
  • 가짜 사용자 데이터가 필요한 앱
  • 데이터 시뮬레이션을 포함하는 교육 프로젝트
  • 크로스플랫폼 플러터 애플리케이션

고려 사항

  • 이름은 고유하다고 보장되지 않습니다
  • 생산 사용자 신원에 적합하지 않습니다
  • 이름 소스의 사용자 정의 제한
  • 사전 정의된 이름 목록에 의존합니다
  • 새로운 이름 지정 트렌드를 반영하기 위해 업데이트가 필요할 수 있습니다
  • 일반적인 이름 외에 비영어 이름에 대한 내장 지원 없음

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

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.

카테고리

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.