visitTextSpan method

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

Walks this TextSpan and any descendants in pre-order and calls visitor for each span that has content.

When visitor returns true, the walk will continue. When visitor returns false, then the walk will end.

Implementation

@Deprecated(
  'Use visitChildren instead. '
  'This feature was deprecated after v1.7.3.'
)
bool visitTextSpan(bool visitor(TextSpan span));