WidgetSpan class Null safety

Inheritance

Constructors

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

Properties

annotation AnnotationBuilder?
final, inherited
baseline double?
final, inherited
child Widget
The widget to embed inline within text.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
style TextStyle?
final, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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