locale property
Locale
get
locale
Get current locale
Implementation
Locale get locale => EasyLocalization.of(this)!.locale;
- @Deprecated('This is the func used in the old version of EasyLocalization. The modern func is `setLocale(val)` . ' 'This feature was deprecated after v3.0.0')
Old Change app locale
Implementation
@Deprecated(
'This is the func used in the old version of EasyLocalization. The modern func is `setLocale(val)` . '
'This feature was deprecated after v3.0.0')
set locale(Locale val) => EasyLocalization.of(this)!.setLocale(val);