visitText method

  1. @override
void visitText(
  1. Text node
)
override

Implementation

@override
void visitText(h.Text node) {
  final last = _spansStack.last;
  if (last is ElementNode) {
    final textNode = TextNode(text: node.text);
    last.accept(textNode);
  }
}