locale property

Locale? locale
final

The initial locale for this app's Localizations widget is based on this value.

If the 'locale' is null then the system's locale value is used.

The value of Localizations.locale will equal this locale if it matches one of the supportedLocales. Otherwise it will be the first element of supportedLocales.

Implementation

final Locale? locale;