fontFamily property
Implementation
@override
List<String>? get fontFamily {
// Get style from self or closest parent if specified style property is not set
// due to style inheritance.
if (_fontFamily == null && parent != null) {
return parent!.fontFamily;
}
return _fontFamily ?? CSSText.DEFAULT_FONT_FAMILY_FALLBACK;
}
Implementation
set fontFamily(List<String>? value) {
if (_fontFamily == value) return;
_fontFamily = value;
// Update all the children text with specified style property not set due to style inheritance.
_markChildrenTextNeedsLayout(renderBoxModel!, FONT_FAMILY);
}