SelectableLinkify constructor

const SelectableLinkify({
  1. Key? key,
  2. String? text,
  3. List<Linkifier>? linkifiers = defaultLinkifiers,
  4. LinkCallback? onOpen,
  5. LinkifyOptions? options = const LinkifyOptions(),
  6. TextStyle? style,
  7. TextStyle? linkStyle,
  8. TextAlign? textAlign,
  9. TextDirection? textDirection,
  10. int? minLines,
  11. int? maxLines,
  12. FocusNode? focusNode,
  13. dynamic textScaleFactor = 1.0,
  14. StrutStyle? strutStyle,
  15. bool? showCursor = false,
  16. bool? autofocus = false,
  17. double? cursorWidth = 2.0,
  18. Radius? cursorRadius,
  19. Color? cursorColor,
  20. DragStartBehavior? dragStartBehavior = DragStartBehavior.start,
  21. bool? enableInteractiveSelection = true,
  22. GestureTapCallback? onTap,
  23. ScrollPhysics? scrollPhysics,
  24. TextWidthBasis? textWidthBasis,
  25. TextHeightBehavior? textHeightBehavior,
  26. double? cursorHeight,
  27. TextSelectionControls? selectionControls,
  28. SelectionChangedCallback? onSelectionChanged,
})

Implementation

const SelectableLinkify({
  Key? key,
  this.text,
  this.linkifiers = defaultLinkifiers,
  this.onOpen,
  this.options = const LinkifyOptions(),
  // TextSpan
  this.style,
  this.linkStyle,
  // RichText
  this.textAlign,
  this.textDirection,
  this.minLines,
  this.maxLines,
  // SelectableText
  this.focusNode,
  this.textScaleFactor = 1.0,
  this.strutStyle,
  this.showCursor = false,
  this.autofocus = false,
  // this.toolbarOptions,
  this.cursorWidth = 2.0,
  this.cursorRadius,
  this.cursorColor,
  this.dragStartBehavior = DragStartBehavior.start,
  this.enableInteractiveSelection = true,
  this.onTap,
  this.scrollPhysics,
  this.textWidthBasis,
  this.textHeightBehavior,
  this.cursorHeight,
  this.selectionControls,
  this.onSelectionChanged,
}) : super(key: key);