linkable pub package

A Flutter widget to add links to your text. By default, the Text or RichText widgets render the URLs in them as simple text which are not clickable. So, Linkable widget is a wrapper over RichText which allows you to render links that can be clicked to redirect to the URL. That means that a Linkable widget supports all the attributes of a RichText Widget.

Currently linkable supports the following types:

Note: You don't need to specify the URL scheme (mailto, tel etc). The widget will parse it automatically.


To install the package, add the following dependency to your pubspec.yaml

  linkable: ^2.0.0
  url_launcher: ^6.0.6



import 'package:linkable/linkable.dart';

	"Hi!\nI'm Anup.\n\nYou can email me at\nOr just whatsapp me @ +91-8968894728.\n\nFor more info visit: \ \nor\n",


Key Description
text The text to be displayed in the widget.
textColor Color of the non-link text. (default: black)
linkColor Color of the links. (default: blue)
style TextStyle to be applied on the widget.
textAlign TextAlign value. (default: TextAlign.start)
textDirection Determines the order to lay children out horizontally.
maxLines Maximum number of lines to be displayed.
overflow Handles text that crosses maxLines. (default: TextOverflow.clip)
textScaleFactor The number of font pixels for each logical pixel.
locale Sets text locale.