搜尋套件、儲存庫與 APP 分類

套件詳情v4.2.1

flutter_link_previewer

從提供的文字中提取的可自訂連結和URL預覽,具備從快取中呈現的能力。非常適合聊天應用。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
10.2萬
喜歡數
367
Pub 分數
150

安裝套件

flutter pub add flutter_link_previewer

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

一個可自訂的 Flutter 套件,可從文字中提取並顯示連結預覽,支援快取渲染以提升效能。專為聊天應用設計,能有效從網址取得元資料,產生包含標題、描述與圖片的豐富預覽。此套件可跨多個平台無縫整合,確保在 Android、iOS、Web、macOS、Windows 與 Linux 上行為一致。透過為分享的連結提供即時視覺上下文,提升使用者體驗。

適用情境

  • 聊天應用
  • 社交媒體訊息
  • 訊息介面
  • 內容分享平台
  • 即時協作工具

主要特色

  • 快取連結渲染
  • 可自定預覽外觀
  • 跨平台相容性
  • 自動元數據提取
  • 支援豐富的媒體預覽

適合對象

  • 開發聊天應用的開發者
  • 創建社交功能的團隊
  • 需要URL可視化的應用
  • 尋找可重用組件的前端工程師
  • 針對多個平台的專案

使用建議

  • 需要互聯網訪問以進行首次獲取
  • 快取管理可能需要自訂
  • 對第三方元數據的控制有限
  • 外部回應緩慢可能導致延遲
  • 可能需要額外的樣式以保持UI一致性

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Flyer Chat 💬

Ship faster with a go-to chat SDK for Flutter

Pub Version Pub Likes Stars melos

Flyer Chat is an open-source chat UI package for Flutter applications, designed for performance, customization, and ease of integration.

✨ Features

  • 🔄 Backend-agnostic: Connect to any backend service.
  • 🧬 Adaptable: Perfect for real-time messengers, generative AI agents and LLM-based assistants, support platforms, and beyond.
  • 🎨 Highly Customizable: Tailor the UI with extensive theme options and builder functions.
  • 🧩 Modular: Pick and choose the features you want. You can change any part of the UI or swap it with your own custom implementation.
  • ⚡ Performance Optimized: Built for speed and smooth animations.
  • 🌐 Cross-Platform: Supports iOS, Android, Web, macOS, Windows, and Linux.
  • 📜 Open Source: Free to use under the Apache 2.0 License.

🚀 Installation

Add the package to your pubspec.yaml:

dependencies:
  flutter_chat_core: ^2.0.0
  flutter_chat_ui: ^2.0.0

Then, import and use the Chat widget.

📚 Documentation & Examples

For detailed usage, customization options, different message types, controllers, and more complex scenarios, please refer to the full documentation:

➡️ flyer.chat/docs/flutter/introduction ⬅️

Explore the comprehensive example application to see various features and customizations in action.

📦 Packages

The project is structured as a monorepo managed by Melos 💙.

Core Packages

These are the foundational packages included when you install flutter_chat_ui:

  • flutter_chat_ui: The main UI package.
  • flutter_chat_core: Contains core models, controllers, theming, and utilities used across the ecosystem.
  • cross_cache: Provides a cross-platform (IO & Web) image caching solution.
Optional Message Widget Packages

Opinionated packages for rendering different message types. You can also build your own!

🤝 Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines on how to contribute.

📜 License

Licensed under the Apache License, Version 2.0. See the LICENSE file for details.

所屬分類

依賴

依賴清單 6 項

原始碼儲存庫

使用此套件的專案