linkpeek 1.0.0 copy "linkpeek: ^1.0.0" to clipboard
linkpeek: ^1.0.0 copied to clipboard

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 [...]

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

Usages #

import linkpeek first

import "package:linkpeek/linkpeek.dart";

To get link preview use this snippet of code

LinkPeekModel? linkPeekModel;

// Initailize It

LinkPeek.fromUrl("your url").then((value) {
    linkPeekModel = value;
});

To open the linkpeek popup

 LinkPeek.showLinkPeekPopup(context, controller.text);

Example output #

Linkpeek preview

Link peek popup

🚀 About Me #

Hi, I am Aabir Kaveri Sarkar - a full stack developer from India

License #

MIT

32
likes
150
pub points
67%
popularity

Publisher

unverified uploader

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.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

animate_do, flutter, html, http, logger, palette_generator, webview_flutter

More

Packages that depend on linkpeek