visitChildren method

  1. @override
bool visitChildren(
  1. VisitorCallback visitor,
  2. TextStyle? parentStyle,
  3. AnnotationBuilder? annotation
)
override

Calls visitor on this WidgetSpan. There are no children spans to walk.

Implementation

@override
bool visitChildren(
  VisitorCallback visitor,
  TextStyle? parentStyle,
  AnnotationBuilder? annotation,
) {
  final _style = parentStyle?.merge(style);
  final _a = this.annotation ?? annotation;

  return visitor(this, _style, _a);
}