$CustomTag class

Inheritance

Constructors

$CustomTag.new(String tag, {Map? attrs, List<Tag>? children, dynamic type = TagType.double, List classes = const []})

Properties

attrs Map
getter/setter pairinherited
children List<Tag>
getter/setter pairinherited
classes List
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tagName String
no setterinherited
type TagType
getter/setter pairinherited

Methods

addAttr(String key, dynamic value) Tag
inherited
addChild(Tag child) Tag
inherited
addClass(dynamic className) Tag
inherited
addStyle(String property, String value) Tag
inherited
attrKey(dynamic key) String
inherited
clearChildren() Tag
inherited
clearClasses() Tag
inherited
clearStyles() Tag
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeAttr(String key) Tag
inherited
removeChild(Tag child) Tag
inherited
removeClass(String className) Tag
inherited
removeStyle(String property) Tag
inherited
setClass(String className) Tag
inherited
setId(String id) Tag
inherited
setStyle(String property, String value) Tag
inherited
toHtml() String
inherited
toString({bool pretty = false}) String
A string representation of this object.
inherited

Operators

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