Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 726 Bytes

File metadata and controls

29 lines (23 loc) · 726 Bytes

link_preview

A Rich Link Preview flutter plugin.

screen_01 screen_02

Usage

To use this plugin, add link_preview as a dependency in your pubspec.yaml file.

Example

import 'package:flutter/material.dart';
import 'package:link_preview/widget/whatsapp/index.dart';

WhatsAppLinkPreview whatsapp = WhatsAppLinkPreview();

void main() {
  runApp(MaterialApp(
    home: Scaffold(
      body: Center(
      child: whatsapp.build('https://whatsapp.com')
      ),
    ),
  ));
}