Linkify constructor
const
Linkify({
- Key? key,
- String? text,
- List<
Linkifier> ? linkifiers = defaultLinkifiers, - LinkCallback? onOpen,
- dynamic onOpenHashtag()?,
- LinkifyOptions? options = const LinkifyOptions(),
- TextStyle? style,
- TextStyle? linkStyle,
- dynamic onOpenUser()?,
- TextAlign? textAlign = TextAlign.start,
- TextDirection? textDirection,
- int? maxLines,
- String? userTag,
- TextOverflow? overflow = TextOverflow.clip,
- double? textScaleFactor = 1.0,
- bool? softWrap = true,
- StrutStyle? strutStyle,
- Locale? locale,
- TextWidthBasis? textWidthBasis = TextWidthBasis.parent,
- 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);