StyledText constructor

const StyledText({
  1. required InlineSpan textSpan,
  2. required Style style,
  3. double textScaleFactor = 1.0,
  4. required RenderContext renderContext,
  5. AnchorKey? key,
})

Implementation

const StyledText({
  required this.textSpan,
  required this.style,
  this.textScaleFactor = 1.0,
  required this.renderContext,
  this.key,
})  : _selectable = false,
      super(key: key);