neplox_linkpreviewer
1.1.0, released 4 months ago by shobhit.com.np
Responsive link preview widget that fetches and caches web‑page metadata
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.
- flutter_link_previewer
Customizable Flutter widget to fetch and render URL link previews.
91Compare - responsive_grid
Responsive grid system for Flutter with row/column, list, and staggered list widgets
50Compare - lazy_wrap
A Flutter widget for lazy Wrap-style layouts with fixed or variable item sizes.
72Compare - simple_shadow
Customizable drop shadow widget for any child
45Compare
Works with
Packages commonly used together with neplox_linkpreviewer: ones it builds on, ones built on it, and its own family.
- htmlneplox_linkpreviewer depends on itA Dart implementation of an HTML5 parser for strings and bytes.
- url_launcherneplox_linkpreviewer depends on itFlutter plugin for launching URLs across mobile, desktop, and web platforms.
- shared_preferencesneplox_linkpreviewer depends on itFlutter plugin for reading and writing simple key-value pairs. Wraps NSUserDefaults on iOS and SharedPreferences on Android.