Future<LocaleQueryData> LocaleChangedCallback(Locale locale)

Signature for a function that is called when the operating system changes the current locale.

Used by WidgetsApp.onLocaleChanged.

Source

typedef Future<LocaleQueryData> LocaleChangedCallback(Locale locale);