DBZcodeLayoutConverter class
Extend ZcodeLayoutTextConverter to produce extra words for the Candidate using the database. Also, support the next words suggestion.
- Inheritance
-
- Object
- ZcodeLayoutTextConverter
- DBZcodeLayoutConverter
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- layoutText ↔ String
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
suggestionWords
→ List<
String> -
finalinherited
- suggestionWordsNotifier → SuggestionChangeNotifier
-
Note: after calling appendLayoutText, backspaceLayoutText, and
confirmWord, EmbedLayout checks the suggestionWords and refreshes
the Candidate. In this situation above, suggestionWordsNotifier is not
needed to be used. But if you get the suggestionWords from the server or
the async function, you can use SuggestionChangeNotifier.notify to notify
the suggestions are changed.
finalinherited
- zcode → ZCode
-
finalinherited
Methods
-
appendLayoutText(
String text) → void -
override
-
backspaceLayoutText(
bool clear) → void -
override
-
confirmWord(
String word) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited