fluttering_phrases library
Generate random noun phrases with an optional delimiting token with the configurable generate function to create interesting names, ids, or titles.
Constants
-
defaultAttributives
→ const List<
String> - The default attributive terms used to generate phrases.
-
defaultNouns
→ const List<
String> - The default nouns used to generate phrases.
Functions
-
generate(
{String delimiter = '-', bool includeToken = true, int tokenLength = 4, int tokenRadix = 10, int? seed, List< String> attributives = defaultAttributives, List<String> nouns = defaultNouns}) → String -
Generates a lowercase attributive+noun pair with an optional token appended
to the end and delimited by the specified
delimiter
.