Radnom library

The Random library is a Dart library for generated random ( .... ).

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.

Libraries

random_library