random_library 1.0.1 random_library: ^1.0.1 copied to clipboard
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 coun [...]
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 #
dependencies: random_library:
flutter pub add random_library
Usage #
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.