simple_link_preview

Creator: coderz1093

Last updated:

0 purchases

simple_link_preview Image
simple_link_preview Images

Languages

Categories

Add to Cart

Description:

simple link preview

Free to get simple metadata for generating a weblink preview by examining the HTML tags.
Usage #
dependencies:
simple_link_preview: ^2.0.0
copied to clipboard
A simple usage example:
import 'package:simple_link_preview/simple_link_preview.dart';

void main() async{
var preview = await SimpleLinkPreview.getPreview('https://pub.dev');
print('Link preview: $preview');
}
copied to clipboard
The preview form: #
{
"url": "https://pub.dev/",
"title": "Dart packages",
"image": "https://pub.dev/static/img/pub-dev-icon-cover-image.png?hash=vg86r2r3mbs62hiv4ldop0ife5um2g5g",
"description": "Pub is the package manager for the Dart programming language, containing reusable libraries & packages for Flutter, AngularDart, and general Dart programs."
}
copied to clipboard
Features and bugs #
Please file feature requests and bugs at the issue tracker.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.