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