TextNode class

text node only displays text

Inheritance

Constructors

TextNode({String text = '', TextStyle? style})

Properties

hashCode int
The hash code for this object.
no setterinherited
parent SpanNode?
no setterinherited
parentStyle TextStyle?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style TextStyle?
getter/setter pairinherited
text String
final

Methods

build() InlineSpan
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onAccepted(SpanNode parent) → void
when this node was accepted by it's parent, onAccepted will be triggered
inherited
toString() String
A string representation of this object.
inherited

Operators

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