StyledText.selectable constructor

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

Implementation

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