computeToPlainText method Null safety

  1. @override
void computeToPlainText(
  1. StringBuffer buffer,
  2. {bool includeSemanticsLabels = true,
  3. bool includePlaceholders = true}
)
override

PlaceholderSpans are flattened to a 0xFFFC object replacement character in the plain text representation when includePlaceholders is true.

Implementation

@override
void computeToPlainText(StringBuffer buffer, {bool includeSemanticsLabels = true, bool includePlaceholders = true}) {
  if (includePlaceholders) {
    buffer.writeCharCode(placeholderCodeUnit);
  }
}