How to persist selected language in Flutter? 

To permanently save the app settings in Flutter, you need to store them somewhere on the device or the server. The easiest way to achieve that is with the help of the shared_preferences package.

Below you can find an example that demonstrates how to do that.

Note: For more details on how to localize Flutter apps, see the example on GitHub.

Flutter internationalization tutorial:

Copyrights 2026 © Localizely