SelectableText constructor

SelectableText(
  1. String data, {
  2. Key? key,
  3. Style? style,
  4. TextAlign textAlign = TextAlign.left,
  5. bool softWrap = true,
  6. TextOverflow overflow = TextOverflow.clip,
  7. int? maxWidth,
  8. SelectionController? controller,
})

Implementation

SelectableText(
  this.data, {
  super.key,
  this.style,
  this.textAlign = TextAlign.left,
  this.softWrap = true,
  this.overflow = TextOverflow.clip,
  this.maxWidth,
  this.controller,
});