StyledElement class

A StyledElement applies a style to all of its children.

Implementers

Constructors

StyledElement({String name = "[[No name]]", String elementId = "[[No ID]]", List<String> elementClasses = const [], required List<StyledElement> children, required Style style, required Element? node})

Properties

attributes Map<String, String>
no setter
children List<StyledElement>
getter/setter pair
element → Element?
no setter
elementClasses List<String>
final
elementId String
final
hashCode int
The hash code for this object.
no setterinherited
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style Style
getter/setter pair

Methods

matchesSelector(String selector) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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