supportedLocales property

  1. @Deprecated("Use 'App.appState?.supportedLocales' instead.")
List<Locale>? get supportedLocales

getter, supportedLocales, returns a List of the App's locales.

Implementation

// More flexible than an iteration.
@Deprecated("Use 'App.appState?.supportedLocales' instead.")
List<Locale>? get supportedLocales =>
    appState?.supportedLocales ?? L10n.supportedLocales;