kanji_dictionary 1.0.1 copy "kanji_dictionary: ^1.0.1" to clipboard
kanji_dictionary: ^1.0.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() {
  final kanjiDictionary = KanjiDictionary.instance;
  final character = kanjiDictionary.characters.first;
  print(character.literal);
  print(character.getMeanings(Language.english));
  print(character.difficulty.jlpt);

  print(kanjiDictionary.charactersByDifficulty
      .take(15)
      .map((c) => c.literal)
      .join(' '));
}
2
likes
0
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

License

unknown (license)

Dependencies

xml

More

Packages that depend on kanji_dictionary