didChangeLocales property
Called when the system tells the app that the user's locale has changed. For example, if the user changes the system language settings.
- Required parameters:
- BuildContext (positional parameter): the BuildContext
- List<Locale> (positional parameter): List of system Locales as defined in the system language settings
Implementation
final void Function(BuildContext context, List<Locale>? locale)?
didChangeLocales;