StyledText constructor

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

Implementation

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