TextSpan class
- Inheritance
-
- Object
- InlineSpan
- TextSpan
Constructors
-
TextSpan({TextStyle? style, String? text, double baseline = 0, List<
InlineSpan> ? children, AnnotationBuilder? annotation}) -
const
Properties
- annotation → AnnotationBuilder?
-
finalinherited
- baseline → double
-
finalinherited
-
children
→ List<
InlineSpan> ? -
final
- 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?
-
finalinherited
- text → String?
-
final
Methods
-
copyWith(
{TextStyle? style, double? baseline, AnnotationBuilder? annotation}) → InlineSpan -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toPlainText(
) → String -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
visitChildren(
VisitorCallback visitor, TextStyle? parentStyle, AnnotationBuilder? annotation) → bool -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited