visitText method

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

Called when a Text node has been reached.

Implementation

@override
void visitText(md.Text text) {
  _stack.last.addText(text.text);
}