locale property
ValueNotifier<Locale>
locale
A ReadOnly ValueNotifier with current locale.
If selected systemLocale - value can be outside of range of supportedLocales. Use localeBestMatch if you needed locale in range of supportedLocales.
Use LocaleSwitcher.current or LocaleSwitcher.localeIndex.value to update this notifier.
Implementation
static ValueNotifier<Locale> get locale => CurrentLocale.locale;