chinese_idioms library

Support for working with Chinese idioms.

Constants

all → const List<String>
Lists 5000 top Chinese idioms.
topDefault → const int
The default value of the top parameter of the generateIdioms function.

Functions

generateIdioms({int top = topDefault, Random? random}) Iterable<String>
Randomly generates Chinese idioms. You can inject Random using the random parameter.