flutter_linkable_text 1.0.2 copy "flutter_linkable_text: ^1.0.2" to clipboard
flutter_linkable_text: ^1.0.2 copied to clipboard

A Flutter package to convert normal Text widget to RichText widget with links, email address and phone numbers.

Convert a normal Text widget to RichText widget, change the color of links, email addresses, phone numbers to blue and add a tap gesture to them.

Usage #

Add package to pubspec.yaml file.

dependencies:
  flutter_linkable_text: ^latest

Import package to code file.

import 'package:flutter_linkable_text/flutter_linkable_text.dart';

Example #

Use as a normal widget:

Container(
    padding: const EdgeInsets.symmetric(horizontal: 16),
    child: FLTTextFunctions.convertToRichText(inputText),
)
0
likes
130
pub points
24%
popularity

Publisher

unverified uploader

A Flutter package to convert normal Text widget to RichText widget with links, email address and phone numbers.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, pasteboard, url_launcher

More

Packages that depend on flutter_linkable_text