WidgetSpan constructor
const
WidgetSpan({
- required Widget child,
- double baseline = 0,
- TextStyle? style,
- AnnotationBuilder? annotation,
Creates a WidgetSpan with the given values.
Implementation
const WidgetSpan({
required this.child,
double baseline = 0,
TextStyle? style,
AnnotationBuilder? annotation,
}) : super(style: style, baseline: baseline, annotation: annotation);