TextContentElement class
TextContentElement is a ContentElement with plaintext as its content.
- Inheritance
-
- Object
- StyledElement
- ReplacedElement
- TextContentElement
Constructors
- TextContentElement({required Style style, required String? text, Node? node, Element? element})
Properties
- alignment ↔ PlaceholderAlignment
-
getter/setter pairinherited
-
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
- node ↔ Node?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style ↔ Style
-
getter/setter pairinherited
- text ↔ String?
-
getter/setter pair
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.
override
-
toWidget(
RenderContext _) → Widget? -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited