visitChildrenEx method

bool visitChildrenEx(
  1. InlineSpanVisitorWithIndex visitor, {
  2. bool includesPlaceholders = true,
})

Walks this InlineSpan and its descendants in pre-order and calls visitor for each span that has text.

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

Implementation

bool visitChildrenEx(
  InlineSpanVisitorWithIndex visitor, {
  bool includesPlaceholders = true,
}) =>
    _visitChildrenEx(_Index(0), visitor);