PackageTrack
Sign in Get early access

flutter_link_previewer

Customizable link and URL preview extracted from the provided text with the ability to render from the cache. Ideal for chat applications.

4.2.0 70K downloads/mo #1281 most downloaded on pub.dev flyerhq/flutter_chat_ui

What this package is like to depend on

Last release 8 months ago

06 Dec 2025

Ships unpredictably

gaps range from 2 weeks to 2.0 years

Nearly every release is documented

notes for 59 of 59 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

59 releases · first in 2021

1 release in the last 12 months

see the full history below

Release timeline

59 releases · Feb 2021 to Dec 2025
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 59
  1. 4.2.0 06 Dec 2025
    Release notes
    • FEAT: update deps - requires min dart 3.8 and flutter 3.32 (#871). (588b34bd)
    Open source →
    Release notes
    • FEAT : update deps - requires min dart 3.8 and flutter 3.32 ( #871 ). ( 588b34bd )
    Open source →
  2. 4.1.2 26 Jul 2025
    Release notes
    • Update a dependency to the latest release.
    Open source →
  3. 4.1.1 19 Jul 2025
    Release notes
    • FIX: update LICENSE. (209a1292)
    • FIX: add example to the flutter_link_previewer. (a307c9e9)
    Open source →
    Release notes
    • FIX : update LICENSE. ( 209a1292 )

    • FIX : add example to the flutter_link_previewer. ( a307c9e9 )

    Open source →
  4. 4.1.0 19 Jul 2025
    Release notes
    • FEAT: support international domains. (9626bc29)
    Open source →
    Release notes
    • FEAT : support international domains. ( 9626bc29 )
    Open source →
  5. 4.0.0 12 Jul 2025
    Release notes
    • BREAKING CHANGE: The LinkPreview widget has been completely rewritten for improved clarity and modern design.

      • Separation of Concerns: The widget no longer manages or highlights links within parent text. It is now focused solely on rendering the link preview itself. This resolves previous design choices where the preview was coupled with unrelated text logic.
      • Modernized Default Style: The default appearance has been updated to better match modern messenger apps, while retaining full customizability through parameters.
      • Parameter Renames: To improve clarity and consistency, some parameters have been renamed:
        • onPreviewDataFetchedonLinkPreviewDataFetched
        • previewDatalinkPreviewData
      • API Changes: Most other parameters and internals have changed as part of the rewrite. Please review the updated source code to see the new customization options.
    Open source →
    Release notes

    BREAKING CHANGE : The LinkPreview widget has been completely rewritten for improved clarity and modern design.

    • Separation of Concerns : The widget no longer manages or highlights links within parent text. It is now focused solely on rendering the link preview itself. This resolves previous design choices where the preview was coupled with unrelated text logic.

    • Modernized Default Style : The default appearance has been updated to better match modern messenger apps, while retaining full customizability through parameters.

    • Parameter Renames : To improve clarity and consistency, some parameters have been renamed:

    • onPreviewDataFetched → onLinkPreviewDataFetched

    • previewData → linkPreviewData

    • API Changes : Most other parameters and internals have changed as part of the rewrite. Please review the updated source code to see the new customization options.

    Open source →
  6. 3.2.2 09 Jul 2023
    Release notes
    • Update dependencies
    Open source →
  7. 3.2.1 16 May 2023
    Release notes
    • Add previewBuilder to allow you to create your own implementation of a link preview. Thanks @CatEatFishs for suggestion!
    • Fix numbers being parsed as urls. Thanks @claptv for noticing!
    • Update dependencies. Requires Dart >= 2.19.0.
    Open source →
    Release notes
    • Add previewBuilder to allow you to create your own implementation of a link preview. Thanks @CatEatFishs for suggestion!

    • Fix numbers being parsed as urls. Thanks @claptv for noticing!

    • Update dependencies. Requires Dart >= 2.19.0.

    Open source →
  8. 3.2.0 29 Oct 2022
    Release notes
    • Update dependencies. Requires Dart >= 2.18.0.
    Open source →
  9. 3.1.0 02 Oct 2022
    Release notes
    • Update to Flutter 3.3.3
    • Set WhatsApp/2 as a default user agent to parse more links
    • Added requestTimeout parameter, that will cancel the request if timeout is reached. Defaults to 5 seconds.
    Open source →
    Release notes
    • Update to Flutter 3.3.3

    • Set WhatsApp/2 as a default user agent to parse more links

    • Added requestTimeout parameter, that will cancel the request if timeout is reached. Defaults to 5 seconds.

    Open source →
  10. 3.0.1 19 Jun 2022
    Release notes
    • Code refactor
    Open source →
  11. 3.0.0 13 Jun 2022
    Release notes
    • Update to Flutter 3
    • Add userAgent parameter. Thanks @felixgabler for the PR!
    Open source →
    Release notes
    • Update to Flutter 3

    • Add userAgent parameter. Thanks @felixgabler for the PR!

    Open source →
  12. 2.6.6 11 Apr 2022
    Release notes
    • Update dependencies
    Open source →
  13. 2.6.5 10 Apr 2022
    Release notes
    • Update dependencies
    Open source →
  14. 2.6.4 03 Apr 2022
    Release notes
    • Update to Flutter 2.10.4
    Open source →
  15. 2.6.3 19 Feb 2022
    Release notes
    • Fixed looking up deactivated ancestor is unsafe error. Thanks @felixgabler for the PR!
    • Add openOnPreviewImageTap and openOnPreviewTitleTap - allows to open link URL when tapped on the preview image and/or preview title/description. Thanks @felixgabler for the PR!
    • Update to Flutter 2.10.2. Requires Dart >= 2.16.0.
    Open source →
    Release notes
    • Fixed looking up deactivated ancestor is unsafe error. Thanks @felixgabler for the PR!

    • Add openOnPreviewImageTap and openOnPreviewTitleTap - allows to open link URL when tapped on the preview image and/or preview title/description. Thanks @felixgabler for the PR!

    • Update to Flutter 2.10.2. Requires Dart >= 2.16.0.

    Open source →
  16. 2.6.2 15 Jan 2022
    Release notes
    • Use utf8 codec to parse chinese symbols
    • Update dependencies. Requires Dart >= 2.15.1.
    Open source →
  17. 2.6.1 10 Dec 2021
    Release notes
    • Update dependencies
    Open source →
  18. 2.6.0 24 Oct 2021
    Release notes

    ⚠️ 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,
    })

    • FIX: scrollToIndex does not work when starting with an empty list #793. (1948c1f5)
    • FEAT: add sendButtonVisibilityMode and allowEmptyMessage to the composer. (7a496607)
    • FEAT: add method OnMessageDoubleTapCallback; add param BuildContext context for OnMessageTapCallback and OnMessageLongPressCallback (#817). (6fe68886)

    2.5.3

    2.5.2

    • Update a dependency to the latest release.

    2.5.1

    • FIX: re-enable composer blur. (791f7308)
    Open source →
    Release notes
    • Updated dependencies (requires Dart >=2.14.0)
    • Fixed Android example. Thanks @rvndsngwn for reporting!
    Open source →
  19. 2.5.2 10 Sep 2021
    Release notes

    Additionally, revert json_annotation upgrade

    Open source →
    Release notes

    Additionally, revert json_annotation upgrade

    Open source →
  20. 2.5.1 10 Sep 2021
    Release notes

    Revert meta upgrade, because pub.dev is analyzing code with an old Flutter version

    Open source →
    Release notes

    Revert meta upgrade, because pub.dev is analyzing code with an old Flutter version

    Open source →
  21. 2.5.0 09 Sep 2021
    Release notes
    Open source →
    Release notes
    • Update to Flutter 2.5
    • Rename REGEX_EMAIL to regexEmail and REGEX_LINK to regexLink
    Open source →
    Release notes
    • Update to Flutter 2.5

    • Rename REGEX_EMAIL to regexEmail and REGEX_LINK to regexLink

    Open source →
  22. 2.4.2 08 Sep 2021
    Release notes
    • Update dependencies
    Open source →
  23. 2.4.1 31 Aug 2021
    Release notes
    • Update dependencies
    Open source →
  24. 2.4.0 28 Aug 2021
    Release notes

    ⚠️ 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.


    Open source →
    Release notes
    • Update dependencies
    Open source →
  25. 2.3.0 17 Aug 2021
    Release notes

    2.3.0

    ⚠️ Breaking Changes ⚠️

    • Renamed LinkPreviewLinkPreviewData

    • LinkPreview.imageUrlLinkPreviewData.image.url

    • Both LinkPreviewData.image.width and LinkPreviewData.image.height are now required

    • FEAT: link preview v2 (#784). (b65060e1)

    2.2.4

    • FIX: add physics param to the ChatAnimatedList(Reversed). (ede3a170)
    • FIX: emptyChatList not clickable (#787). (88937baa)

    2.2.3

    2.2.2

    2.2.1

    • FIX: list rebuilding when keyboard opens/closes. (48e28e7e)
    Open source →
    Release notes
    • Improve REGEX
    • Add custom imageBuilder
    Open source →
    Release notes
    • Improve REGEX

    • Add custom imageBuilder

    Open source →
  26. 2.2.3 22 Jul 2021
    Release notes
    • Update dependencies
    Open source →
  27. 2.2.2 22 Jul 2021
    Release notes
    • Fix completer that never completes and add corsProxy parameter. Thanks @wer-mathurin for the PR!
    • Export getPreviewData to allow you to create your own implementation of a link preview.
    Open source →
    Release notes
    • Fix completer that never completes and add corsProxy parameter. Thanks @wer-mathurin for the PR!

    • Export getPreviewData to allow you to create your own implementation of a link preview.

    Open source →
  28. 2.2.1 13 Jul 2021
    Release notes
    • Update dependencies
    Open source →
  29. 2.2.0 13 Jul 2021
    Release notes
    • Add hideImage param
    Open source →
    Release notes
    • Add hideImage param
    Open source →
  30. 2.1.0 12 Jun 2021
    Release notes
    • Update dependencies
    Open source →
  31. 2.0.8 01 Jun 2021
    Release notes
    • Update dependencies
    Open source →
  32. 2.0.7 20 May 2021
    Release notes
    • Fix alignment
    Open source →
  33. 2.0.6 20 May 2021
    Release notes
    • Update to Flutter 2.2
    Open source →
  34. 2.0.5 20 May 2021
    Release notes
    • Fix links starting from a capital Http
    Open source →
    Release notes
    • Fix links starting from a capital Http
    Open source →
  35. 2.0.4 20 May 2021
    Release notes
    • Add preview for the image link
    Open source →
  36. 2.0.3 20 May 2021
    Release notes
    • Add a custom header above the text
    Open source →
  37. 2.0.2 19 May 2021
    Release notes
    • Fix paddings for an empty preview data
    • Limit number of images parsed
    • Fix regex
    Open source →
  38. 2.0.1 09 May 2021
    Release notes
    • Fix custom padding and add a custom link press handler
    Open source →
  39. 2.0.0 05 May 2021
    Release notes
    • BREAKING: 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.
    Open source →
    Release notes
    • BREAKING : 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.
    Open source →
  40. 1.0.6 04 May 2021
    Release notes
    • Fix warnings and layout issues
    Open source →
  41. 1.0.5 01 May 2021
    Release notes
    • Add an optional animation
    Open source →
  42. 1.0.4 26 Mar 2021
    Release notes
    • Update dependencies
    Open source →
  43. 1.0.3 22 Mar 2021
    Release notes
    • Update dependencies
    Open source →
  44. 1.0.2 13 Mar 2021
    Release notes
    • Update dependencies
    Open source →
  45. 1.0.1 07 Mar 2021
    Release notes
    • Add CI
    Open source →
  46. 1.0.0 06 Mar 2021
    Release notes
    • Add documentation
    Open source →
  47. 0.2.2 06 Mar 2021
    Release notes
    • Update to null safety
    Open source →
  48. 0.2.1 06 Mar 2021
    Release notes
    • Code cleanup
    Open source →
  49. 0.2.0 05 Mar 2021
    Release notes
    • Flutter 2 update
    Open source →
  50. 0.1.0 22 Feb 2021
    Release notes
    • Dependency update
    Open source →
  51. 0.0.9 12 Feb 2021
    Release notes
    • Readme added
    Open source →
  52. 0.0.8 11 Feb 2021
    Release notes
    • Dependency update
    Open source →
  53. 0.0.7 09 Feb 2021
    Release notes
    • Use types from utility library
    Open source →
  54. 0.0.6 05 Feb 2021
    Release notes
    • Make widget stateless
    Open source →
  55. 0.0.5 05 Feb 2021
    Release notes
    • Render plain text on loading and error
    Open source →
  56. 0.0.4 03 Feb 2021
    Release notes
    • Critical fix and remove unneeded code
    Open source →
  57. 0.0.3 02 Feb 2021
    Release notes
    • Code improvements and cleanup
    Open source →
  58. 0.0.2 02 Feb 2021
    Release notes
    • Added customization
    Open source →
  59. 0.0.1 01 Feb 2021
    Release notes
    • Initial release
    Open source →
    Release notes
    • Initial release

    365

    likes

    150

    points

    67.7k

    downloads

    Documentation

    API reference

    Publisher

    flyer.chat

    Weekly Downloads

    Metadata

    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

    License

    MIT ( license )

    Dependencies

    flutter , flutter_chat_core , html , http , punycode , url_launcher

    More

    Packages that depend on flutter_link_previewer

    ← Metadata

    365

    likes

    150

    points

    67.7k

    downloads

    Documentation

    API reference

    Publisher

    flyer.chat

    Weekly Downloads

    Metadata

    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

    License

    MIT ( license )

    Dependencies

    flutter , flutter_chat_core , html , http , punycode , url_launcher

    More

    Packages that depend on flutter_link_previewer

    Back

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive