floaty_chathead
用於建立您自己的浮動聊天頭的 Flutter 插件
- 星標
- 139
- 分支
- 21
- 最近推送(UTC)
- 2026年3月15日
- 專案狀態
- 未封存
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
Floaty Chathead (Deprecated)
This package has been deprecated. Please use
floaty_chatheadsinstead.
Migration
Replace your dependency:
# Before
dependencies:
floaty_chathead: ^3.0.0
# After
dependencies:
floaty_chatheads: ^1.0.0
Then run:
flutter pub get
What changed?
floaty_chatheads is a full rewrite of floaty_chathead using a federated plugin architecture, bringing:
- iOS support alongside Android
- Type-safe platform channels via Pigeon (no more manual
MethodChannelstrings) - Typed messaging with
FloatyMessenger<T>for serialized communication between main app and overlay - Lifecycle-aware controller (
FloatyController) withChangeNotifierintegration - Widget-level integration via
FloatyScope(InheritedWidget) andFloatyPermissionGate - Multi-chathead management (
addChatHead,removeChatHead,expandChatHead,collapseChatHead) - Built-in UI components (
FloatyMiniPlayer,FloatyNotificationCard) - 100% test coverage on handwritten code with 132 tests
- Testing utilities (
FakeFloatyPlatform,FakeOverlayDataSource) for easy widget testing
Links
License
This project is licensed under the MIT License. See LICENSE for details.
語言KotlinDart
使用的依賴
依賴清單 2 項
- flutter
{"sdk":"flutter"} - flutter_test開發依賴
{"sdk":"flutter"}
如何選擇適合專案的儲存庫?
先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
- 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
- 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
- 使用前在 GitHub 確認 README、授權條款與 Issues。
來源與維護
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗