link_previewer 1.2.1 link_previewer: ^1.2.1 copied to clipboard
A new Flutter package. It is build for making link looks prettier than just inline link or default hyperlink.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add link_previewer
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
link_previewer: ^1.2.1
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:link_previewer/link_previewer.dart';