linkable 1.0.0 copy "linkable: ^1.0.0" to clipboard
linkable: ^1.0.0 copied to clipboard

outdated

A Flutter widget to add links to your text.

linkable #

A Flutter widget to add links to your text.

Install #

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

dependencies:
  linkable: ^3.1.3
  url_launcher: ^5.4.10

Usage #

Basic #

import 'package:linkable/linkable.dart';

Linkable(
	text:
	"Hi!\nI'm Anup.\n\nYou can email me at 1anuppanwar@gmail.com.\nOr just whatsapp me @ +91-8968894728.\n\nFor more info visit: \ngithub.com/anupkumarpanwar \nor\nhttps://www.linkedin.com/in/anupkumarpanwar/",
);

Attributes #

Key Description
text The text to be displyed 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 displyed.
overflow Handles text that crosses maxLines. (default: TextOverflow.clip)
textScaleFactor The number of font pixels for each logical pixel.
locale Sets text locale.

Screenshot #

Screenshot

33
likes
0
pub points
91%
popularity

Publisher

unverified uploader

A Flutter widget to add links to your text.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, url_launcher

More

Packages that depend on linkable