scrabble_word_checker

Creator: coderz1093

Last updated:

0 purchases

scrabble_word_checker Image
scrabble_word_checker Images
Add to Cart

Description:

scrabble word checker

Scrabble Word Checker #
Description #
The Scrabble ODS Word Checker is a Flutter package that allows you to check if a word is in the Official Scrabble Dictionary (ODS). The package is easy to use and can be integrated into your Flutter app in minutes.
To use the package, simply import it into your project and call the isValidWord() method. The method takes a word as a parameter and returns a boolean value indicating whether the word is in the ODS.
Installation #
Add the dependency to your pubspec.yaml file.
dependencies:
scrabble_word_checker: ^0.0.4
copied to clipboard
Get dependencies
$ flutter pub get
copied to clipboard
Supported languages #

French
English

Usage #
To use this package, first import in anywhere in your code
import 'package:scrabble_word_checker/scrabble_word_checker.dart';
copied to clipboard
Initialise the word checker class
final ScrabbleWordChecker wordChecker = ScrabbleWordChecker(language: ScrabbleLanguage.english);
copied to clipboard
Check for any word
bool isCorrect1 = wordChecker.isValidWord("aa"); // Expected: true
bool isCorrect2 = wordChecker.isValidWord("a"); // Expected: false
copied to clipboard
Get word value
int value = wordChecker.getWordValue("black"); // Expected: 13
copied to clipboard
Change language
wordChecker.changeLanguage(ScrabbleLanguage.french)
copied to clipboard
Licence #
Scrabble Word Checker is open source and licenced under Apache 2.0.
You're free to use it for personal purpose, you can also contribute by adding amazing futures.😊

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.

Related Products

More From This Creator