KanaKit constructor
- {KanaKitConfig config}
A Dart library for handling and converting Japanese characters such as hiragana, katakana and kanji.
It contains many methods to deal with Japanese character. In some of these functions, a KanaKitConfig is used.
If config
is left null
, KanaKitConfig.defaultConfig is used.
const kanaKit = KanaKit();
Every KanaKit
instance has a copyWithConfig method that allows you to
copy the instance and override config
fields.
Implementation
const KanaKit({
KanaKitConfig config,
}) : config = config ?? KanaKitConfig.defaultConfig;