TagflowParser constructor
- @Deprecated('Use TagflowHtmlAdapter instead. Will be removed in 2.0.')
- List<
NodeParser< ? parsers,TagflowNode> > - bool debug = false,
- TagflowRenderBoundary? renderBoundary,
- int? maxDepth,
- 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()];