Chance Dart

All Contributors

docs.page

Random generator helper for Dart

HomepageDocumentation

awesomeness style: very good analysis

Overview

Chance Dart is a free Open Source project that lets you create random strings, integers, and other things to help with tiresome tasks, especially when building automated tests or wherever else you require anything random.

Data generation is an important part of many projects especially projects that requires code generation and mocking of data.

Chance Dart is developed to deliver instant values to ensure speediness in development process and also reduce monotony.

Many more details on docs but this single library can generate random numbers, characters, strings, names, addresses, dice, and pretty much anything else.

It includes the basic building blocks for all these items and is built on top of a Mersenne Twister so it can generate these things with repeatability, if desired.

Usage

See the full docs for details on installation and usage.

Dependent tools

Know a library that uses Chance that isn't here? Update the README and submit a PR!

Author

Babalola Ayotomide(Czar)

Follow on Twitter

Please feel free to reach out to me if you have any questions or suggestions.

How to Contribute

To start making contributions please refer to Contribution Docs.

This project is licensed under the MIT License so feel free to hack away :)

Proudly written in Nigeria.

Code Style

i. Naming Convention:

Naming Convention Effective Style Example
Classes, enum types,typedefs,and type parameters,etensions PascalCase An example is ChanceField
Libraries, packages, directories, and source files, import prefixes snake_case An example is currency_list
Class members, top-level definitions, variables, parameters, and named parameters, constants camelCase An example is currencyList

ii. Style Rule

  • Always declare return types in your methods.
  • Put required named parameters first.
  • Always require non-null named parameters (@required).
  • Indent your code where appropriate (e.g Use two-space indentation.)

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Mubaraq A. LAWAL
Mubaraq A. LAWAL

💻
Peter Nathaniel
Peter Nathaniel

💻
Ayotomide
Ayotomide

💻
Jamiu Okanlawon
Jamiu Okanlawon

💻
Yusuf Umar
Yusuf Umar

💻
Tamunorth
Tamunorth

💻
Caleb Jesusegun
Caleb Jesusegun

💻
Oluwatobi D Okanlawon
Oluwatobi D Okanlawon

💻
Mariam Hamzat
Mariam Hamzat

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Libraries

core/location/src/address
core/location/models/address
core/location/constants/addresses
core/person/src/age
core/location/src/altitude
core/time/src/am_pm
core/thing/src/animal
core/thing/constants/animals
core/location/src/area_code
core/basics/basics
core/person/src/birthday
core/basics/src/boolean
core/finance/src/cc
core/finance/src/cc_type
core/finance/src/cedi
chance_dart
core/basics/src/character
core/location/src/city
core/miscellaneous/src/coin
core/finance/constants/constants
core/location/models/coordinate
core/location/src/coordinates
core/core
core/location/constants/countries
core/location/models/country
core/location/src/country
core/finance/src/currency
core/finance/models/currency
core/finance/src/currency_pair
core/time/src/date
core/location/src/depth
core/miscellaneous/src/dice
core/finance/src/dollar
core/finance/src/euro
core/finance/src/exp
core/finance/src/exp_month
core/finance/src/exp_year
core/basics/src/falsy
core/finance/finance
core/person/src/first_name
core/basics/src/floating
core/person/src/full_name
core/person/src/gender
core/location/src/geohash
core/miscellaneous/src/guid
core/time/src/hammer_time
core/miscellaneous/src/hash
core/miscellaneous/src/hidden
core/time/src/hour
core/basics/src/integer
core/person/src/last_name
core/location/src/latitude
core/basics/src/letter
core/basics/letter/letter
core/location/src/locale
core/location/location
core/person/model/location
core/location/src/longitude
core/time/src/millisecond
core/time/src/minute
core/miscellaneous/miscellaneous
core/mobile/mobile
core/time/src/month
core/miscellaneous/src/n
core/finance/src/naira
core/person/model/name
core/basics/src/natural
core/miscellaneous/src/normal
core/text/src/paragraph
core/person/person
core/person/src/person_title
core/location/src/phone
core/person/model/picture
core/location/src/postal
core/location/constants/postals
core/location/src/postcode
core/basics/src/prime
core/location/src/province
core/miscellaneous/src/radio
core/miscellaneous/src/rpg
core/time/src/second
core/text/src/sentence
core/text/constants/sentences
core/person/src/ssn
core/location/src/state
core/location/src/street
core/basics/src/string
core/basics/string/string
core/text/src/syllable
core/text/constants/syllables
core/basics/src/template
core/text/text
core/thing/thing
core/time/time
core/time/src/timestamp
core/time/src/timezone
core/miscellaneous/src/tv
core/miscellaneous/src/unique
core/person/src/user
core/person/model/user
core/person/constants/users
core/mobile/src/uuid
core/time/src/weekday
core/miscellaneous/src/weighted
core/text/src/word
core/text/constants/words
core/time/src/year
core/location/src/zip