link_text 0.1.1 copy "link_text: ^0.1.1" to clipboard
link_text: ^0.1.1 copied to clipboard

outdated

Easy to use text widget for Flutter apps, which converts inlined urls into working, clickable links. Allows for custom styling.

Link Text #

Pub Package

Easy to use text widget for Flutter apps, which converts inlined urls into working, clickable links. Allows for custom styling.

Image

Usage #

Link Text widget requires no setup. Just simply pass a String with inlined urls, and the widget will take care of the rest.

final String _text = 'Lorem ipsum https://flutter.dev\nhttps://pub.dev';

@override
Widget build(BuildContext context) {
  return Scaffold(
    body: Center(
      child: LinkText(
        text: _text,
        textAlign: TextAlign.center,
      ),
    ),
  );
}

Installation #

Add to pubspec.yaml:

dependencies:
  link_text: ^0.1.1

For more info, check out example project.

49
likes
0
points
3.82k
downloads

Publisher

unverified uploader

Weekly Downloads

Easy to use text widget for Flutter apps, which converts inlined urls into working, clickable links. Allows for custom styling.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, url_launcher

More

Packages that depend on link_text