Skip to content
pubscout

neplox_linkpreviewer

1.1.0, released 4 months ago by shobhit.com.np

Responsive link preview widget that fetches and caches web‑page metadata

WASM-ready
$ flutter pub add neplox_linkpreviewer
Source repository

What it does

It retrieves Open Graph, Twitter Card, and HTML metadata for a URL and displays a customizable card. The widget handles caching, error states, and optional in‑app or external link launching.

AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a link preview in a list or grid
  • You want to customize thumbnail placement and card height
  • You want automatic caching of preview data

Skip it when

  • You need full control over HTTP requests or custom caching strategy
  • You are building a non‑Flutter web app

Strengths

  • Easy to use declarative API
  • Supports fixed and content‑wrap heights
  • Built‑in caching and retry UI
  • Highly customizable card layout

Weaknesses

  • Limited to HTTP/HTTPS URLs
  • Requires internet permission on Android
  • No support for custom HTTP client or interceptors

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
4

Add dependency, import package, and optionally add internet permission on Android

NeploxLinkPreviewer(
  url: 'https://example.com/article',
  cardStyle: NCardStyle(
    heightMode: NCardHeightMode.contentWrap,
    minHeight: 110,
  ),
  linkPreviewOptions: NLinkPreviewOptions(
    urlLaunchIn: NURLLaunchIn.browser,
  ),
)

Alternatives

Packages that do the same job and could replace neplox_linkpreviewer.

Works with

Packages commonly used together with neplox_linkpreviewer: ones it builds on, ones built on it, and its own family.