toInlineSpan method
Converts this node into a Flutter InlineSpan carrying its resolved style, so that a whole block of inline nodes can be laid out by Flutter's paragraph engine.
fillStyles must have been called before this method.
Implementation
@override
InlineSpan toInlineSpan() {
return TextSpan(text: text, style: style.asTextStyle());
}