locale property Null safety

Locale? locale

The locale used to select region-specific glyphs.

Implementation

Locale? get locale => _locale;
void locale=(Locale? value)

Implementation

set locale(Locale? value) {
  if (_locale == value)
    return;
  _locale = value;
  markNeedsLayout();
}