FLUTTER ECOSYSTEM

opengraph

A comprehensive Flutter package for OpenGraph integration with dual functionality - extract metadata from URLs (opengraph_fetch) and display beautiful link previews (OpengraphPreview widget). Supports OpenGraph, Twitter Cards, HTML meta tags, and JSON-LD formats.

Latest version
1.5.0
30-day downloads
217
Likes
5
Pub points
160

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

The opengraph package provides seamless OpenGraph integration in Flutter apps, enabling metadata extraction from URLs and rendering polished link previews. It supports OpenGraph, Twitter Cards, HTML meta tags, and JSON-LD formats, making it ideal for sharing content across social platforms. The package includes the OpengraphPreview widget for visually appealing previews and a fetcher utility to retrieve structured data efficiently. Designed for cross-platform use, it works on Android, iOS, macOS, Windows, and Linux.

Use cases
  • Social media sharing
  • Link preview generation
  • Content discovery
  • Metadata extraction from URLs
  • Rich card display
Key features
  • Supports multiple metadata formats
  • Built-in preview widget
  • Cross-platform compatibility
  • Efficient URL metadata fetching
  • Responsive and customizable UI
Suitable for
  • Apps with shared links
  • Chat or messaging interfaces
  • News or content aggregation apps
  • Social networking features
  • Web content integrations
Considerations
  • Requires network access for metadata fetching
  • May need caching for performance
  • Depends on external URL content validity
  • Limited to publicly accessible web pages
  • Potential delays with slow remote responses
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add opengraph

Categories

Dependencies

Dependency list 4 items

Source repository

Related projects

No data available yet.