locale property
The system-reported locale.
This establishes the language and formatting conventions that application should, if possible, use to render their user interface.
The onLocaleChanged callback is called whenever this value changes.
See also:
WidgetsBindingObserver
, for a mechanism at the widgets layer to
observe when this value changes.
Implementation
Locale get locale => _locale;