matrix_link_text 0.1.5

Flutter Android iOS web

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

THIS IS A FORK FROM https://github.com/kate-shine/link_text

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,
        // you can handle link click event by your self, this is optional
        // onLinkTap: (url) => ...
      ),
    ),
  );
}

Installation #

Add to pubspec.yaml:

dependencies:
  matrix_link_text: ^0.1.3

For more info, check out example project.

1
likes
100
pub points
66%
popularity

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

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

mail@sorunome.de

License

Apache 2.0 (LICENSE)

Dependencies

flutter, url_launcher

More

Packages that depend on matrix_link_text