data property
String
get
data
Implementation
String get data => _data;
set
data
(String value)
Implementation
set data(String value) {
if (_data == value) return;
_data = value;
_hasPendingTextLayoutUpdate = true;
_markAncestorSubtreeIntrinsicMeasurementUpdate();
_markAncestorInlineCollectionNeedsUpdate();
if (_paintsSelf) {
// Outside an ancestor IFC we own our own text metrics, so relayout the
// text box and let Flutter bubble size-dependent invalidation normally.
_markLayoutIfNeeded(this);
} else {
// IFC ancestors rebuild the paragraph from collected inline nodes. Only
// the owning render subtree needs layout dirtied once; direct ancestor
// markNeedsLayout on every flow ancestor violates relayout boundaries.
_markLayoutIfNeeded(parent);
}
_cachedSpan = null;
_textPainter = null;
}