wordSpacing property

  1. @override
CSSLengthValue? get wordSpacing
override

Implementation

@override
CSSLengthValue? get wordSpacing {
  // Get style from self or closest parent if specified style property is not set
  // due to style inheritance.
  if (_wordSpacing == null && parent != null) {
    return parent!.wordSpacing;
  }
  return _wordSpacing;
}
set wordSpacing (CSSLengthValue? value)

Implementation

set wordSpacing(CSSLengthValue? value) {
  if (_wordSpacing == value) return;
  _wordSpacing = value;
  // Update all the children text with specified style property not set due to style inheritance.
  _markChildrenTextNeedsLayout(renderBoxModel!, WORD_SPACING);
}