ML Kit provides several tools that deal with language: language identification, text translation, smart replies, where you can provide relevant responses to user messages, and entity extraction, which understands the content of the text, such as addresses, telephone numbers, or links.
To get access to the ML Kit language tools in Flutter, you need to add the dependency in the pubspec.yaml file:
firebase_mlkit_language: ^1.1.3
In particular, in this recipe, you have implemented language recognition on a user-provided text.
There are currently over 100 languages available in ML Kit. For a full list of the supported languages, have a look at the official list available at the following address: https://developers.google.com/ml-kit/language/identification/langid-support.
This is useful when you want to recognize the language that your users speak, and is the starting point of other services, such as translation. ...