Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/esenmx/rand
Random Generator for Dart
https://github.com/esenmx/rand
Last synced: about 2 months ago
JSON representation
Random Generator for Dart
- Host: GitHub
- URL: https://github.com/esenmx/rand
- Owner: esenmx
- License: mit
- Created: 2022-02-14T12:59:20.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-03T22:43:17.000Z (10 months ago)
- Last Synced: 2024-03-03T23:35:43.204Z (10 months ago)
- Language: Dart
- Size: 62.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# rand
A stateful random generator with extra functionalities. To use:
```dart
print(Rand.boolean(20) ? 'head' : 'tail'); // it's a head for with 20% chance
Rand.dateTimeYear(2001, 2024) // A random 21th century [DateTime]
Rand.password() // Create a strong password
```