locale property
Locale?
locale
Returns The current Locale of the app as specified in the Localizations widget.
Implementation
Locale? get locale => Localizations.localeOf(this);
Returns The current Locale of the app as specified in the Localizations widget.
Locale? get locale => Localizations.localeOf(this);