locale property Null safety

Locale locale

Shortcut for Localizations.localeOf(context).

Implementation

Locale get locale => Localizations.localeOf(this);