createData method
Implementation
TextData createData(double width, FlexMeasureMode widthMode) {
if (span == null || dirty) {
span = createSpan(useChild: true);
dirty = false;
}
lastLayoutWidth = width;
return TextData(
_numberOfLines ?? kMaxLineCount,
span!,
_textAlign,
_generateTextScale(),
_textOverflow,
);
}