https://github.com/abdalftahsalem/random-library
This is simple random library , you can get random string , random string with number , random string between tow letter random string between min and max length , random country , random arabian country , random khaliji country
https://github.com/abdalftahsalem/random-library
dart dart-package flutter
Last synced: 3 months ago
JSON representation
This is simple random library , you can get random string , random string with number , random string between tow letter random string between min and max length , random country , random arabian country , random khaliji country
- Host: GitHub
- URL: https://github.com/abdalftahsalem/random-library
- Owner: AbdAlftahSalem
- License: mit
- Created: 2023-06-17T08:23:43.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-17T10:28:52.000Z (almost 2 years ago)
- Last Synced: 2025-01-12T23:27:56.411Z (5 months ago)
- Topics: dart, dart-package, flutter
- Language: Dart
- Homepage: https://pub.dev/packages/random_library
- Size: 27.3 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
# Radnom library
This is simple random library , you can get random string , random string with number , random string between tow letter random string between min and max length , random country , random arabian country , random khaliji country
## Installation```bash
dependencies:
random_library: 1.0.1
``````bash
flutter pub add random_library
```## Usage
```python
import 'random_data.dart';// Generate a random string
RandomGenerator.singleton.generateRandomString(5);
RandomGenerator.singleton.generateRandomStringBetweenLetters("a", "d", 10);
RandomGenerator.singleton.generateRandomStringInRange(4, 10);
RandomGenerator.singleton.generateRandomStringWithNumbers(4);
RandomGenerator.singleton.generateRandomKhalijiCountry(2)
RandomGenerator.singleton.generateRandomArabianCountry(2)
```## Contributing
Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.Please make sure to update tests as appropriate.