getImageSpan function

InlineSpan getImageSpan(
  1. Element node
)

Tag: img

Implementation

InlineSpan getImageSpan(m.Element node) {
  String? url = node.attributes['src'];
  return WidgetSpan(
    child: ImageTagWidget(attributes: node.attributes, url: url),
  );
}