NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev, #1327 most downloaded on pub.dev
Customizable link and URL preview extracted from the provided text with the ability to render from the cache. Ideal for chat applications.
Latest stable
4.2.1
Last release 2 months ago
12 Sep 2026
Ships unpredictably
gaps range from 2 weeks to 2.0 years
Nearly every release is documented
notes for 60 of 60 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
60 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
REFACTOR: replace flutter material imports with material_ui and update package dependencies (#893).
FEAT: update deps - requires min dart 3.8 and flutter 3.32 (#871).
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Update a dependency to the latest release.
FIX: add example to the flutter_link_previewer.
FEAT: support international domains.
BREAKING CHANGE: The LinkPreview widget has been completely rewritten for improved clarity and modern design.
BREAKING CHANGE: The LinkPreview widget has been completely rewritten for improved clarity and modern design.
onPreviewDataFetched → onLinkPreviewDataFetchedpreviewData → linkPreviewData- Update dependencies
Add previewBuilder to allow you to create your own implementation of a link preview. Thanks @CatEatFishs for suggestion!
previewBuilder to allow you to create your own implementation of a link preview. Thanks @CatEatFishs for suggestion!Update dependencies. Requires Dart >= 2.18.0.
Set WhatsApp/2 as a default user agent to parse more links
WhatsApp/2 as a default user agent to parse more linksrequestTimeout parameter, that will cancel the request if timeout is reached. Defaults to 5 seconds.- Code refactor
Add userAgent parameter. Thanks @felixgabler for the PR!
userAgent parameter. Thanks @felixgabler for the PR!- Update dependencies
- Update dependencies
- Update to Flutter 2.10.4
Fixed looking up deactivated ancestor is unsafe error. Thanks @felixgabler for the PR!
looking up deactivated ancestor is unsafe error. Thanks @felixgabler for the PR!openOnPreviewImageTap and openOnPreviewTitleTap - allows to open link URL when tapped on the preview image and/or preview title/description. Thanks @felixgabler for the PR!Use utf8 codec to parse chinese symbols
- Update dependencies
onMessageTap and onMessageLongPress added BuildContext as a first parameter, so if you had something like this: `dart void _handleMessageLongPress( Me
⚠️ Breaking Changes ⚠️
onMessageTap and onMessageLongPress added BuildContext as a first parameter, so if you had something like this:
void _handleMessageLongPress(
Message message, {
int? index,
LongPressStartDetails? details,
})
replace it with this:
void _handleMessageLongPress(
BuildContext context,
Message message, {
int? index,
LongPressStartDetails? details,
})
Additionally, revert json_annotation upgrade
Additionally, revert json_annotation upgrade
Revert meta upgrade, because pub.dev is analyzing code with an old Flutter version
Revert meta upgrade, because pub.dev is analyzing code with an old Flutter version
FIX: introduce status field back (#809).
REGEX_EMAIL to regexEmail and REGEX_LINK to regexLink- Update dependencies
- Update dependencies
All message builders will also provide isSentByMe and groupStatus now. Just pass `dart { required bool isSentByMe, MessageGroupStatus? groupStatus, }
⚠️ Breaking Changes ⚠️
All message builders will also provide isSentByMe and groupStatus now. Just pass
{
required bool isSentByMe,
MessageGroupStatus? groupStatus,
}
after the index param. It is fine not to use these fields if not needed.
Renamed LinkPreview → LinkPreviewData
⚠️ Breaking Changes ⚠️
Renamed LinkPreview → LinkPreviewData
LinkPreview.imageUrl → LinkPreviewData.image.url
Both LinkPreviewData.image.width and LinkPreviewData.image.height are now required
- Update dependencies
Fix completer that never completes and add corsProxy parameter. Thanks @wer-mathurin for the PR!
corsProxy parameter. Thanks @wer-mathurin for the PR!getPreviewData to allow you to create your own implementation of a link preview.- Update dependencies
Significantly overhauled for robust handling of asynchronous controller updates.
⚠️ Breaking Changes ⚠️
ChatAnimatedList Redesign:
update operation (ChatOperation.update) now requires the index of the message to be updated.ChatControllers, you MUST now fetch the most up-to-date message instance from your data source before passing it to remove or update operations. The internal list now relies on the exact object reference. Failing to do so will lead to errors or unexpected behavior. (See InMemoryChatController for an example of fetching the actual message before emitting ChatOperation.remove or ChatOperation.update).✨ Key Enhancements & Fixes ✨
ChatAnimatedList now uses an internal operation queue to serialize updates, preventing race conditions and resolving prior StreamOperation issues.ChatAnimatedList instances has been factorized, improving maintainability.insertAllMessages to ChatController and ChatAnimatedList for efficient bulk message additions with animations.ChatController's setMessages now uses an improved DiffUtil (with move support), fixing "out of bounds" errors during complex list updates.ChatAnimatedList to validate list operations and item positioning.Chat controller methods have been renamed to avoid name conflicts with Riverpod.
⚠️ Breaking Changes ⚠️
Chat controller methods have been renamed to avoid name conflicts with Riverpod.
- Update dependencies
- Fix alignment
- Update to Flutter 2.2
Fix links starting from a capital Http
Http- Add preview for the image link
Add a custom header above the text
Fix paddings for an empty preview data
Fix custom padding and add a custom link press handler
Version 2.0.0 is a major update where we completely rebuilt the library. This version focuses on better performance, more customization options, and i
onPreviewDataFetched and previewData are now required. In the previous version, a link preview used on a ListView resulted in a fetch call every time the preview was appearing on a screen.- Fix warnings and layout issues
- Add an optional animation
Additional URL preview bug fixes. Thanks @jlubeck for reporting!
Fix various URL preview bugs (see https://pub.dev/packages/flutter_link_previewer/changelog)
BREAKING CHANGE: onFilePressed is replaced with onMessageTap to support tap event for different message types. See usage example.
onFilePressed is replaced with onMessageTap to support tap event for different message types. See usage example.onMessageLongPress callback, similar to the onMessageTap.disableImageGallery parameter to optionally disable the image gallery on the image tap.subtitle2Color to the theme, which is used to color date dividers in the chat. Thanks @sarbogast for the PR!Hide the attachment button if onAttachmentPressed is not passed. Thanks @devfelipereis for noticing!
Hide the attachment button if onAttachmentPressed is not passed. Thanks @devfelipereis for noticing!
- Add documentation
- Update to null safety
- Code cleanup
- Flutter 2 update
- Dependency update
- Readme added
- Dependency update
- Use types from utility library
- Make widget stateless
Render plain text on loading and error
Critical fix and remove unneeded code
- Code improvements and cleanup
- Added customization
- Initial release
368
likes
150
points
102k
downloads
API reference
flyer.chat
Customizable link and URL preview extracted from the provided text with the ability to render from the cache. Ideal for chat applications.
Homepage
Repository (GitHub)
View/report issues
Contributing
MIT ( license )
flutter , flutter_chat_core , html , http , material_ui , punycode , url_launcher
Packages that depend on flutter_link_previewer
368
likes
150
points
102k
downloads
API reference
flyer.chat
Customizable link and URL preview extracted from the provided text with the ability to render from the cache. Ideal for chat applications.
Homepage
Repository (GitHub)
View/report issues
Contributing
MIT ( license )
flutter , flutter_chat_core , html , http , material_ui , punycode , url_launcher
Packages that depend on flutter_link_previewer
Back
One column per quarter.