SelectableRichText constructor

SelectableRichText({
  1. required TextSpan text,
  2. Key? key,
  3. Style? style,
  4. Style? selectionHighlightStyle,
  5. TextAlign textAlign = TextAlign.left,
  6. bool softWrap = true,
  7. TextOverflow overflow = TextOverflow.clip,
  8. int? maxWidth,
  9. SelectionController? controller,
})

Implementation

SelectableRichText({
  required this.text,
  super.key,
  this.style,
  this.selectionHighlightStyle,
  this.textAlign = TextAlign.left,
  this.softWrap = true,
  this.overflow = TextOverflow.clip,
  this.maxWidth,
  this.controller,
});