TagflowParser constructor

  1. @Deprecated('Use TagflowHtmlAdapter instead. Will be removed in 2.0.')
const TagflowParser({
  1. List<NodeParser<TagflowNode>>? parsers,
  2. bool debug = false,
  3. TagflowRenderBoundary? renderBoundary,
  4. int? maxDepth,
  5. int? maxNodes,
})

Creates a parser with the default node parsers unless parsers is set.

Implementation

@Deprecated('Use TagflowHtmlAdapter instead. Will be removed in 2.0.')
/// Creates a parser with the default node parsers unless [parsers] is set.
const TagflowParser({
  List<NodeParser>? parsers,
  this.debug = false,
  this.renderBoundary,
  this.maxDepth,
  this.maxNodes,
}) : _renderBoundaryState = null,
     _parsers =
         parsers ?? const [ElementParser(), TableParser(), ImgParser()];