What if you want your web app to display information in several languages, depending on the language of the web client user? This recipe will show you how to accomplish this. You can find the code in the project
intlpackage from the pub package to your app through
web\pol_intl.html, where a component with the name
localized_textis imported through the following line:
From this, we know that the component is defined in
localized_text.html, and the code behind it is in a file named
localized_text.dart. For a discussion of the other tags, see the first recipe.