updateText method
Update the current text and recalculate ghost text
Implementation
void updateText(String text) {
_currentText = text;
_updateGhostText();
notifyListeners();
}
Update the current text and recalculate ghost text
void updateText(String text) {
_currentText = text;
_updateGhostText();
notifyListeners();
}