Last updated:
0 purchases
random data generator
Random Data Generator #
The random_data_generator package designed to simplify the generation of random data, codes, and identifiers for various use cases.
This package provides a wide range of functions to generate random integers, doubles, alphabets, colors, email addresses, passwords, animal names, company names, and more.
It also includes functions to generate unique identifiers such as UUIDs, ULIDs, Snowflake IDs, and Hash-Based IDs.
Installation #
Add the following dependency to your pubspec.yaml file:
dependencies:
random_data_generator: ^0.0.2
copied to clipboard
Then, run flutter pub get to install the package.
Features #
Random Number Generation: Generate random integers and doubles within specified ranges.
Random Date Time: 20+ methods to generate random dates and times in different formats.
Random Character Generation: Generate random lowercase and uppercase alphabet characters.
Quote Generation: Get random quotes from a list of famous quotes.
Language Name Generation: Get random language names from a list of common languages.
Color Generation: Generate random colors in various formats (hex, RGB, RGBA, HSL, HSV, CMYK).
Email Generation: Generate random email addresses.
Password Generation: Generate easy, medium, or strong passwords.
Animal Name Generation: Get random animal names.
Ancient Animal Name Generation: Get random names of ancient animals.
Bike Name Generation: Get random bike names with their respective companies.
Car Name Generation: Get random car names with their respective companies.
Fruit Name Generation: Get random fruit names.
Vegetable Name Generation: Get random vegetable names.
Country Name Generation: Get random country names.
Currency Generation: Get random currency names with their symbols.
Company Name Generation: Get random company names from various industries.
Technology Company Generation: Get random technology company names.
Finance Company Generation: Get random finance company names.
Retail Company Generation: Get random retail company names.
Automotive Company Generation: Get random automotive company names.
Food and Beverage Company Generation: Get random food and beverage company names.
Pharmaceutical Company Generation: Get random pharmaceutical company names.
Aerospace Company Generation: Get random aerospace company names.
Consulting Company Generation: Get random consulting company names.
Energy Company Generation: Get random energy company names.
Manufacturing Company Generation: Get random manufacturing company names.
OTP Generation: Generate one-time passwords (OTP) of specified lengths.
Unique Identifier Generation: Generate unique identifiers similar to GUID, ULID, and Snowflake ID.
Token Generation: Generate random tokens for various purposes.
Invoice Number Generation: Generate random invoice numbers.
Phone Number Verification Code Generation: Generate random phone number verification codes.
Document Number Generation: Generate random document numbers.
Tracking Number Generation: Generate random tracking numbers.
Employee ID Generation: Generate random employee IDs.
Order Number Generation: Generate random order numbers.
Account Number Generation: Generate random account numbers.
Transaction ID Generation: Generate random transaction IDs.
Coupon Code Generation: Generate random coupon codes.
Voucher Code Generation: Generate random voucher codes.
Discount Code Generation: Generate random discount codes.
Promo Code Generation: Generate random promo codes.
Referral Code Generation: Generate random referral codes.
Verification Code Generation: Generate random verification codes.
Tracking Code Generation: Generate random tracking codes.
Auth Code Generation: Generate random authentication codes.
Pin Code Generation: Generate random PIN codes.
Secret Code Generation: Generate random secret codes.
Access Code Generation: Generate random access codes.
Session ID Generation: Generate random session IDs.
Customer Number Generation: Generate random customer numbers.
Reservation Code Generation: Generate random reservation codes.
Transaction Code Generation: Generate random transaction codes.
Refund Code Generation: Generate random refund codes.
Enrollment Code Generation: Generate random enrollment codes.
UUID Generation: Generate UUIDs (Universally Unique Identifiers) of different versions and variants.
GUID Generation: Generate GUIDs (Globally Unique Identifiers).
ULID Generation: Generate ULIDs (Universally Unique Lexicographically Sortable Identifiers).
Snowflake ID Generation: Generate Snowflake IDs for distributed systems.
Hash-Based ID Generation: Generate hash-based IDs.
Nano ID Generation: Generate Nano IDs for short, URL-friendly IDs.
UDID Generation: Generate UDIDs (Unique Device Identifiers).
Random String ID Generation: Generate random string IDs.
Timestamp ID Generation: Generate timestamp-based IDs.
Secure Random ID Generation: Generate secure random IDs.
Composite ID Generation: Generate composite IDs.
Collision-Resistant ID Generation: Generate collision-resistant IDs.
Distributed ID Generation: Generate distributed IDs.
Secure Hash ID Generation: Generate secure hash IDs.
Cluster ID Generation: Generate cluster IDs.
Consistent Hash ID Generation: Generate consistent hash IDs.
Time-based ID Generation: Generate time-based IDs.
Unique Key ID Generation: Generate unique key IDs.
Permutation ID Generation: Generate permutation IDs.
Secure Timestamp ID Generation: Generate secure timestamp IDs.
Worldwide Education Institute Name Generation: Get random names of worldwide education institutes.
Random Phone Number Generation: Generate random phone numbers.
Slug ID Generation: Generate slug IDs for URLs.
Flake UUID Generation: Generate Flake UUIDs.
XID Generation: Generate XIDs (CUIDs).
UUIDv6 Generation: Generate UUIDv6.
Generate UUIDv5: Generate UUIDv5.
Version Description: Get a description of UUID versions.
Variant Description: Get a description of UUID variants.
Usage #
For detailed usage examples and API documentation, refer to the API documentation.
License #
The MIT License (MIT) Copyright (c) 2024 Shirsh Shukla
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute,
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.