Last updated:
0 purchases
linkpeek
Linkpeek 🔍 #
LinkPeek is a Flutter package that allows you to retrieve information about a web link, including title, description, thumbnail, favicon, default color, etc. It also provides a convenient popup widget for displaying link previews.
Features #
Get detailed information about a web link using the LinkPeek.fromUrl method.
Display a small popup showing a preview of the link using the LinkPeek.showLinkPeekPopup method.
Installation #
To use this package, add linkpeek as a dependency in your pubspec.yaml file:
dependencies:
linkpeek: ^latest_version
copied to clipboard
Usages #
import linkpeek first
import "package:linkpeek/linkpeek.dart";
copied to clipboard
To get link preview use this snippet of code
LinkPeekModel? linkPeekModel;
// Initailize It
LinkPeek.fromUrl("your url").then((value) {
linkPeekModel = value;
});
copied to clipboard
To open the linkpeek popup
LinkPeek.showLinkPeekPopup(context, controller.text);
copied to clipboard
Example output #
🚀 About Me #
Hi, I am Aabir Kaveri Sarkar - a full stack developer from India
checkout my portfolio (https://aabirsarkar.vercel.app/)
License #
MIT
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.