ReplacedElement class abstract

A ReplacedElement is a type of StyledElement that does not require its children to be rendered.

A ReplacedElement may use its children nodes to determine relevant information (e.g.

Inheritance
Implementers

Constructors

ReplacedElement({required String name, required Style style, required String elementId, List<StyledElement>? children, Element? node, PlaceholderAlignment alignment = PlaceholderAlignment.aboveBaseline})

Properties

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

Methods

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

Operators

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

Static Methods

parseMediaSources(List<Element> elements) List<String?>