visitTextSpan method

  1. @override
  2. @Deprecated('Use to visitChildren instead. ' 'This feature was deprecated after v1.7.3.')
bool visitTextSpan (
  1. bool visitor(
    1. TextSpan span
    )
)
@Deprecated('Use to visitChildren instead. ' 'This feature was deprecated after v1.7.3.'), override

The visitTextSpan method is invalid on PlaceholderSpans

Implementation

@override
@Deprecated(
  'Use to visitChildren instead. '
  'This feature was deprecated after v1.7.3.'
)
bool visitTextSpan(bool visitor(TextSpan span)) {
  assert(false, 'visitTextSpan is deprecated. Use visitChildren to support InlineSpans');
  return false;
}