PlainTextItem class

A kind of TextGroupItem, which wraps given plain text and style to TextSpan, and uses it as TextGroup's texts.

Inheritance

Constructors

PlainTextItem({required String text, TextStyle? style})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style TextStyle?
The text style of this item.
final
text String
The text content of this item.
final

Methods

buildSpan(BuildContext context) InlineSpan
Builds InlineSpan, or said TextSpan, for PlainTextItem.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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