Linkify constructor

const Linkify({
  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 = TextAlign.start,
  9. TextDirection? textDirection,
  10. int? maxLines,
  11. TextOverflow? overflow = TextOverflow.clip,
  12. double textScaleFactor = 1.0,
  13. bool softWrap = true,
  14. StrutStyle? strutStyle,
  15. Locale? locale,
  16. TextWidthBasis textWidthBasis = TextWidthBasis.parent,
  17. TextHeightBehavior? textHeightBehavior,
  18. bool useMouseRegion = true,
})

Implementation

const Linkify({
  Key? key,
  required this.text,
  this.linkifiers = defaultLinkifiers,
  this.onOpen,
  this.options = const LinkifyOptions(),
  // TextSpan
  this.style,
  this.linkStyle,
  // RichText
  this.textAlign = TextAlign.start,
  this.textDirection,
  this.maxLines,
  this.overflow = TextOverflow.clip,
  this.textScaleFactor = 1.0,
  this.softWrap = true,
  this.strutStyle,
  this.locale,
  this.textWidthBasis = TextWidthBasis.parent,
  this.textHeightBehavior,
  this.useMouseRegion = true,
}) : super(key: key);