If you face any issues, please raise an issue. String name = wordGenerator.randomName() import 'package:word_generator/word_generator.dart' List names = wordGenerator.randomNames(3) Parameter is optional, if no param is provided then 2 noun will be generated. String verb = wordGenerator.randomVerb() List verbs = wordGenerator.randomVerbs(3) Print count of the syllables in the word import 'package:word_generator/word_generator.dart' List noun = wordGenerator.randomSentence(3) String noun = wordGenerator.randomNoun() List nouns = wordGenerator.randomNouns(3) You can generate multiple numbers of words by providing a required number of words need to generate. It provides you general words, verbs only, nouns only, adjectives only word generation options. Our word maker will generate valid random words with a specific requirement. String password = passwordGenerator.generatePassword() Ĭheck the given string is strong password or not. Random word generator is a free online word maker. import 'package:word_generator/word_generator.dart' įinal passwordGenerator = PasswordGenerator() If no length is provided then default length is taken as 8. This package helps you to generate random words and passwords for your project without any hassle. Then Result := sVowelsĮlse Result := sConson Ĭalling this function is just like this, for example : GenerateRandomWord(6, True) Īnd you will get a string like “AKOBIN”, with 6 letters and starting with a vowel (as our parameters).A dart based util package for generating random nouns, verbs, names, strong password and validate the given password is strong or not. ![]() Here is the final function : function GenerateRandomWord(const Len: Integer = 16 StartWithVowel: Boolean = False): string
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |