list_major_english_words 1.0.0 copy "list_major_english_words: ^1.0.0" to clipboard
list_major_english_words: ^1.0.0 copied to clipboard

A dictionary of English words that includes the Major System number and definition for each word.

List Major English Words #

This package is a dictionary of English words that includes the Major System number and definition for each word.

Getting started #

  1. Update 'pubspec.yaml' 'dependencies' to include: list_major_english_words: ^1.0.0
  2. Then import into your your.dart file like so:
    import 'package:list_major_english_words/list_major_english_words.dart';

Usage #

To use, declare a variable. Then access an element, and get it's major number and definition:

//GET WORDS
List<Map<String, List<String>>> dicWords = list_major_english_words;
//GET A WORD OBJECT:
Map<String, List<String>> dicObj = dicWords[0];
//GET FIRST OBJECT KEY:
String word = dicObj.keys.toList().first;
//GET MAJOR NUMNBER:
String majorNumber = dicObj[word]?[0];
//GET MAJOR DEFINITION:
String definition = dicObj[word]?[1];
0
likes
150
pub points
28%
popularity

Publisher

unverified uploader

A dictionary of English words that includes the Major System number and definition for each word.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on list_major_english_words