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 ↗