textShadow property

  1. @override
List<Shadow>? get textShadow
override

Implementation

@override
List<Shadow>? get textShadow {
  // Get style from self or closest parent if specified style property is not set
  // due to style inheritance.
  if (_textShadow == null && parent != null) {
    return parent!.textShadow;
  }
  return _textShadow;
}
set textShadow (List<Shadow>? value)

Implementation

set textShadow(List<Shadow>? value) {
  if (_textShadow == value) return;
  _textShadow = value;
  // Update all the children text with specified style property not set due to style inheritance.
   _markChildrenTextNeedsPaint(renderBoxModel!, TEXT_SHADOW);
}