selectable method

Widget selectable({
  1. SelectionController? controller,
  2. Style? selectionHighlightStyle,
  3. TextAlign textAlign = TextAlign.left,
  4. bool softWrap = true,
  5. TextOverflow overflow = TextOverflow.clip,
  6. int? maxWidth,
})

Implementation

Widget selectable({
  SelectionController? controller,
  Style? selectionHighlightStyle,
  TextAlign textAlign = TextAlign.left,
  bool softWrap = true,
  TextOverflow overflow = TextOverflow.clip,
  int? maxWidth,
}) {
  return SelectableView(
    this,
    controller: controller,
    selectionHighlightStyle: selectionHighlightStyle,
    textAlign: textAlign,
    softWrap: softWrap,
    overflow: overflow,
    maxWidth: maxWidth,
  );
}