currentXLocale property
XLocale
currentXLocale
Returns current XLocale that is used in the app.
Implementation
static XLocale get currentXLocale {
final value = _controller.value;
if (value == null) {
throw Exception(
'Localization has not been initialized. You must call boot method before accessing any property.');
}
return value;
}