Tag class abstract
- Implementers
- $A
- $Article
- $Aside
- $B
- $Body
- $Button
- $Caption
- $Center
- $Code
- $Comment
- $CustomTag
- $Details
- $Div
- $Footer
- $Form
- $H1
- $H2
- $H3
- $H4
- $H5
- $H6
- $H7
- $Head
- $Header
- $Html
- $I
- $Label
- $Li
- $Main
- $Nav
- $Noscript
- $Ol
- $Option
- $P
- $Path
- $Raw
- $Script
- $Section
- $Select
- $Small
- $Span
- $Style
- $Summary
- $Svg
- $Table
- $Tbody
- $Td
- $Template
- $Text
- $TextArea
- $Tfoot
- $Th
- $Thead
- $Title
- $Tr
- $U
- $Ul
- $Video
- ArrayTag
- JinjaTag
- SingleTag
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