Chance Dart
Random generator helper for Dart
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
- Chance Dart CLI - Use Chance on the command line.
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 💻 |
Peter Nathaniel 💻 |
Ayotomide 💻 |
Jamiu Okanlawon 💻 |
Yusuf Umar 💻 |
Tamunorth 💻 |
Caleb Jesusegun 💻 |
Oluwatobi D Okanlawon 💻 |
Mariam Hamzat 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!