locale property

Locale locale

Get current locale

Implementation

Locale get locale => EasyLocalization.of(this)!.locale;
  1. @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')
void locale=(Locale val)

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);