discontinuedPackage webapp has been discontinued and replaced by finch.

Tag class abstract

Implementers

Constructors

Tag({Map? attrs, List<Tag>? children, List classes = const []})

Properties

attrs ↔ Map
getter/setter pair
children ↔ List<Tag>
getter/setter pair
classes ↔ List
getter/setter pair
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 setter
type ↔ TagType
getter/setter pair

Methods

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

Operators

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