display property

  1. @override
CSSDisplay display
override

Implementation

@override
CSSDisplay get display => _display ?? CSSDisplay.inline;
void display=(CSSDisplay? value)

Implementation

set display(CSSDisplay? value) {
  if (_display != value) {
    _display = value;
    renderBoxModel?.markNeedsLayout();

    // The display changes of the node may affect the whitespace of the nextSibling and previousSibling text node so prev and next node require layout.
    renderBoxModel?.markAdjacentRenderParagraphNeedsLayout();
  }
}