locale property Null safety

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.

See also:

Implementation

final Locale? locale