kanji_dictionary 1.0.5+1 copy "kanji_dictionary: ^1.0.5+1" to clipboard
kanji_dictionary: ^1.0.5+1 copied to clipboard

Dart implementation of KANJIDIC, a popular Kanji dictionary used by jisho.org.

example/kanji_dictionary_example.dart

import 'package:kanji_dictionary/kanji_dictionary.dart';

void main() async {
  final kanjiDictionary = await KanjiDictionary.instance;
  final character = kanjiDictionary.get('亜')!;
  print(character.literal);
  print(character.meanings[Language.english]);
  print(character.readings[Reading.japaneseOn]);
  print(character.readings[Reading.japaneseKun]);
  print(character.difficulty.jlpt);

  print(kanjiDictionary.charactersByDifficulty
      .take(15)
      .map((c) => c.literal)
      .join(' '));
}
2
likes
150
pub points
31%
popularity

Publisher

verified publisherwafrat.com

Dart implementation of KANJIDIC, a popular Kanji dictionary used by jisho.org.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

xml

More

Packages that depend on kanji_dictionary