locale property Null safety

Locale? locale

The language of the text in this span and its span children.

Setting the locale of this text span affects the way that assistive technologies, such as VoiceOver or TalkBack, pronounce the text.

If this span contains other text span children, they also inherit the locale from this span unless explicitly set to different locales.


final ui.Locale? locale;