link_sevvice library
Classes
- LinkableElement
- LinkableSpan
- LinkElement
- LinkOptions
- LinkService
- Turns URLs into links
- TextElement
- Represents an element containing text
Properties
-
domainsList
↔ List<
String> -
getter/setter pair
Functions
-
buildTextSpan(
List< LinkElement> elements, {TextStyle? style, TextStyle? linkStyle, LinkCallback? onOpen, bool useMouseRegion = false}) → TextSpan - Raw TextSpan builder for more control on the RichText
-
buildTextSpanChildren(
List< LinkElement> elements, {TextStyle? style, TextStyle? linkStyle, LinkCallback? onOpen, bool useMouseRegion = false}) → List<InlineSpan> ? - Raw TextSpan builder for more control on the RichText
Typedefs
- LinkCallback = void Function(LinkableElement link)
- Callback clicked link