random_string_one 1.0.2 random_string_one: ^1.0.2 copied to clipboard
A package which allows for modular control over random string generation with a single function.
random_string #
A package which allows for modular control over random string generation.
Getting Started #
To use random_string, simply import the package and call the randomString() function with a desired length and optional parameters. randomString() will return a String that respects your arguments.
Parameters #
int length: the number of characters that will be present in the returned string
bool includeNumbers: defaults to true; specifies whether numbers will appear in the string result
bool includeLowercase: defaults to true; specifies whether lowercase letters will appear in the string result
bool includeUppercase: defaults to true; specifies whether uppercase letters will appear in the string result
bool includeSymbols: defaults to true; specifies whether symbols will appear in the string result
bool useCharOnce: defaults to false; specifies whether any character may appear more than once
int seed: defaults to null; seed to be used for random generation
Set exclusions: defaults to null; specific character exclusions that are not to be present in the result