link_previewer 1.0.5 copy "link_previewer: ^1.0.5" to clipboard
link_previewer: ^1.0.5 copied to clipboard

outdated

A new Flutter package. It is build for making link looks prettier than just inline link or default hyperlink.

link_previewer #

A new Flutter package. Build container with image, title, description from web-site (link) will be provided.

Getting Started #

alt text

Installing #

Use this package as a library

  1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  link_previewer: ^1.0.4
  1. Install it

You can install packages from the command line: with Flutter:

$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

  1. Import it

Now in your Dart code, you can use:

import 'package:link_previewer/link_previewer.dart';

Usage #

Widget build() {
  return Column(
    mainAxisAlignment: MainAxisAlignment.center,
    children: <Widget>[
      LinkPreviewer(
        link: "https://www.linkedin.com/feed/",
        direction: ContentDirection.horizontal,
      ),
      LinkPreviewer(
        link: "https://www.linkedin.com/feed/",
        direction: ContentDirection.vertical,
      ),
    ],
  );
}
14
likes
0
pub points
10%
popularity

Publisher

unverified uploader

A new Flutter package. It is build for making link looks prettier than just inline link or default hyperlink.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

async, flutter, html, http, url_launcher

More

Packages that depend on link_previewer