didChangeLocales property

void Function(BuildContext context, List<Locale>? locale)? didChangeLocales
final

Called when the system tells the app that the user's locale has changed. For example, if the user changes the system language settings.

Implementation

final void Function(BuildContext context, List<Locale>? locale)?
    didChangeLocales;