Saving language selection in device with LanguageSelector

Widgets & Design

I am using the LanguageSelector widget to change the language used in the app. When the application is closed and opened again, the selected language is not kept. I know that I can achieve this by creating an app state variable that is persistent but since the LanguageSelector doesn't have actions I don't see possible to set the variable when the user changes it. Is this possible with the LanguageSelector or should I use another widget?

What have you tried so far?

I have checked the documentation but I don't see anything that can help me.

Did you check FlutterFlow's Documentation for this topic?
Yes
2
2 replies