onTextChanged method
onTextChanged method is used to listen to editor text changes
Implementation
void onTextChanged(Function(String) data) {
try {
if (_changeController != null &&
_changeController?.hasListener == false) {
_changeController?.stream.listen((event) {
data(event);
});
}
} catch (e) {
if (!kReleaseMode) {
debugPrint(e.toString());
}
}
return;
}