WidgetSpan class

Inheritance

Constructors

WidgetSpan({required Widget child, double baseline = 0, TextStyle? style, AnnotationBuilder? annotation})
Creates a WidgetSpan with the given values.
const

Properties

annotation AnnotationBuilder?
finalinherited
baseline double
finalinherited
child Widget
The widget to embed inline within text.
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

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
Calls visitor on this WidgetSpan. There are no children spans to walk.
override

Operators

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