NullNodeValidatorBuilder class

An allow-everyting NodeValidatorBuilder.

Inheritance
Implemented types

Constructors

NullNodeValidatorBuilder()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(NodeValidator validator) → void
Add an additional validator to the current list of validators.
override
allowCustomElement(String tagName, {UriPolicy? uriPolicy, Iterable<String>? attributes, Iterable<String>? uriAttributes}) → void
Allow custom elements with the specified tag name and specified attributes.
override
allowElement(String tagName, {UriPolicy? uriPolicy, Iterable<String>? attributes, Iterable<String>? uriAttributes}) → void
override
allowHtml5({UriPolicy? uriPolicy}) → void
Allow common safe HTML5 elements and attributes.
override
allowImages([UriPolicy? uriPolicy]) → void
Allows image elements.
override
allowInlineStyles({String? tagName}) → void
Allow inline styles on elements.
override
allowNavigation([UriPolicy? uriPolicy]) → void
Allows navigation elements- Form and Anchor tags, along with common attributes.
override
allowsAttribute(Element element, String attributeName, String value) bool
Returns true if the attribute is allowed.
inherited
allowsElement(Element element) bool
Returns true if the tagName is an accepted type.
inherited
allowSvg() → void
Allow SVG elements and attributes except for known bad ones.
override
allowTagExtension(String tagName, String baseName, {UriPolicy? uriPolicy, Iterable<String>? attributes, Iterable<String>? uriAttributes}) → void
Allow custom tag extensions with the specified type name and specified attributes.
override
allowTemplating() → void
Allow templating elements (such as
override
allowTextElements() → void
Allow basic text elements.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited