TextSpan constructor

const TextSpan({
  1. TextStyle? style,
  2. String? text,
  3. double baseline = 0,
  4. List<InlineSpan>? children,
  5. AnnotationBuilder? annotation,
})

Implementation

const TextSpan({
  TextStyle? style,
  this.text,
  double baseline = 0,
  this.children,
  AnnotationBuilder? annotation,
}) : super(style: style, baseline: baseline, annotation: annotation);