LinkifySpan constructor
LinkifySpan({
- required String text,
- TextStyle? linkStyle,
- LinkCallback? onOpen,
- LinkifyOptions options = const LinkifyOptions(),
- List<
Linkifier> linkifiers = defaultLinkifiers, - bool useMouseRegion = false,
- TextStyle? style,
- GestureRecognizer? recognizer,
- MouseCursor? mouseCursor,
- PointerEnterEventListener? onEnter,
- PointerExitEventListener? onExit,
- String? semanticsLabel,
- Locale? locale,
- bool? spellOut,
Implementation
LinkifySpan({
required String text,
TextStyle? linkStyle,
LinkCallback? onOpen,
LinkifyOptions options = const LinkifyOptions(),
List<Linkifier> linkifiers = defaultLinkifiers,
bool useMouseRegion = false,
super.style,
super.recognizer,
super.mouseCursor,
super.onEnter,
super.onExit,
super.semanticsLabel,
super.locale,
super.spellOut,
}) : super(
children: buildTextSpanChildren(
linkify(text, options: options, linkifiers: linkifiers),
style: style,
linkStyle: linkStyle,
onOpen: onOpen,
useMouseRegion: useMouseRegion,
),
);