onLocaleResolutionCallback method

Locale? onLocaleResolutionCallback(
  1. Locale? locale,
  2. Iterable<Locale> supportedLocales
)
inherited

Returns 'Local Resolution' routine if any. Turn to the I10n class to provide the locale.

Implementation

Locale? onLocaleResolutionCallback(
        Locale? locale, Iterable<Locale> supportedLocales) =>
    inLocaleResolutionCallback == null
        ? null
        : inLocaleResolutionCallback!(
            locale, supportedLocales);