locale property

Locale locale

Get the current locale based on this context. The same as Localizations.localeOf(this)

Implementation

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