LocaleListResolutionCallback typedef Null safety
The signature of WidgetsApp.localeListResolutionCallback.
locales list is the device's preferred locales when the app started, or the
device's preferred locales the user selected after the app was started. This list
is in order of preference. If this list is null or empty, then Flutter has not yet
received the locale information from the platform. The
is just the value of WidgetsApp.supportedLocales.
typedef LocaleListResolutionCallback = Locale? Function(List<Locale>? locales, Iterable<Locale> supportedLocales);