Linkify constructor

const Linkify({
  1. Key? key,
  2. String? text,
  3. List<Linkifier>? linkifiers = defaultLinkifiers,
  4. LinkCallback? onOpen,
  5. dynamic onOpenHashtag(
    1. String
    )?,
  6. LinkifyOptions? options = const LinkifyOptions(),
  7. TextStyle? style,
  8. TextStyle? linkStyle,
  9. dynamic onOpenUser()?,
  10. TextAlign? textAlign = TextAlign.start,
  11. TextDirection? textDirection,
  12. int? maxLines,
  13. String? userTag,
  14. TextOverflow? overflow = TextOverflow.clip,
  15. double? textScaleFactor = 1.0,
  16. bool? softWrap = true,
  17. StrutStyle? strutStyle,
  18. Locale? locale,
  19. TextWidthBasis? textWidthBasis = TextWidthBasis.parent,
  20. TextHeightBehavior? textHeightBehavior,
})

Implementation

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