SelectableLinkify constructor

const SelectableLinkify({
  1. Key? key,
  2. required 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. double textScaleFactor = 1.0,
  14. StrutStyle? strutStyle,
  15. bool showCursor = false,
  16. bool autofocus = false,
  17. EditableTextContextMenuBuilder? contextMenuBuilder,
  18. double cursorWidth = 2.0,
  19. Radius? cursorRadius,
  20. Color? cursorColor,
  21. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  22. bool enableInteractiveSelection = true,
  23. GestureTapCallback? onTap,
  24. ScrollPhysics? scrollPhysics,
  25. TextWidthBasis? textWidthBasis,
  26. TextHeightBehavior? textHeightBehavior,
  27. double? cursorHeight,
  28. TextSelectionControls? selectionControls,
  29. SelectionChangedCallback? onSelectionChanged,
  30. bool useMouseRegion = false,
})

Implementation

const SelectableLinkify({
  Key? key,
  required 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.contextMenuBuilder,
  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,
  this.useMouseRegion = false,
}) : super(key: key);