LinkifySpan constructor

LinkifySpan({
  1. required String text,
  2. TextStyle? linkStyle,
  3. LinkCallback? onOpen,
  4. LinkifyOptions options = const LinkifyOptions(),
  5. List<Linkifier> linkifiers = defaultLinkifiers,
  6. bool useMouseRegion = false,
  7. TextStyle? style,
  8. GestureRecognizer? recognizer,
  9. MouseCursor? mouseCursor,
  10. PointerEnterEventListener? onEnter,
  11. PointerExitEventListener? onExit,
  12. String? semanticsLabel,
  13. Locale? locale,
  14. 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,
        ),
      );