'Can't configure the Android Spellchecker service to simply validate if string is a valid word or not
I am building a Flutter app that requires that I validate if a string is a valid word. The user is not inputting text, he is using elements to build the word. So I just need a routine that returns true for a valid word, false if not.
I am using an invokeMethod call to use a native function to do this validation. For iOS I use UITextChecker that works perfectly well for this.
I 've read about the Android SpellChecker Service but unfortunately all the examples I see are for adding an interaction to the user so that word suggestions are visible to the user typing text.
Can someone point to a valid Kotlin routine that justs validates words using this SpellChecker service?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|