locale property

  1. @override
Locale? get locale
override

Used to select a font when the same Unicode character can be rendered differently, depending on the locale.

It's rarely necessary to set this property. By default its value is inherited from the enclosing app with Localizations.localeOf(context).

See RenderParagraph.locale for more information.

Implementation

@override
Locale? get locale => $value.locale;