matrix_link_text 0.3.0 matrix_link_text: ^0.3.0 copied to clipboard
Easy to use text widget for Flutter apps, which converts inlined urls into working, clickable links. Allows for custom styling. Supports matrix identifiers
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add matrix_link_text
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
matrix_link_text: ^0.3.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:matrix_link_text/link_text.dart';
import 'package:matrix_link_text/schemes.dart';
import 'package:matrix_link_text/tlds.dart';