chinese_idioms library Null safety

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.
1000

Functions

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