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),
)