link_text

Creator: coderz1093

Last updated:

Add to Cart

Description:

link text

LinkText #

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

Usage #
LinkText widget does not require any setup. 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,
textAlign: TextAlign.center,
// You can optionally handle link tap event by yourself
// onLinkTap: (url) => ...
),
),
);
}
copied to clipboard
Installation #
Add to pubspec.yaml:
dependencies:
link_text: ^0.2.1
copied to clipboard
For more info, check out example project.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.