HtmlToSpanVisitor constructor

HtmlToSpanVisitor({
  1. WidgetVisitor? visitor,
  2. TextStyle? parentStyle,
})

Implementation

HtmlToSpanVisitor({WidgetVisitor? visitor, TextStyle? parentStyle})
    : visitor = visitor ?? WidgetVisitor(),
      parentStyle = parentStyle ?? const TextStyle();