onLanguageDetected property
Callback that is triggered whenever the text changes and the detected language is updated.
value is the current text in the field as in normal TextField.
detectedLang is the detected LanguageData based on the input, or null if detection fails.
Implementation
final LangCallback? onLanguageDetected;