Files
VibeCoding/webrtc_controller_flutter/pubspec.yaml
tongtongstudio d5e66a1777 docs(webrtc_controller_flutter): 更新项目文档以反映重构后的架构
AGENTS.md 与 README.md 同步更新:根据实际代码结构重写目录树、技术栈、架构分层及编码规范,移除旧版内联示例并补充新的开发约定与代码生成命令。
2026-08-03 16:12:44 +08:00

72 lines
1.5 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: webrtc_controller_flutter
description: "跨平台 WebRTC 远程控制端Flutter。"
publish_to: 'none'
version: 1.0.0+1
environment:
sdk: ^3.12.2
dependencies:
flutter:
sdk: flutter
# 国际化l10n / ARB
flutter_localizations:
sdk: flutter
cupertino_icons: ^1.0.8
# 跨平台 WebRTC同时支持 Android 与 iOS
flutter_webrtc: ^1.5.2
# 录制文件保存路径app 专属目录,免运行时存储权限)
path_provider: ^2.1.5
# WebSocket 信令通信
web_socket_channel: ^3.0.3
# 安全存储refreshToken 存 Keychain / EncryptedSharedPreferences
flutter_secure_storage: ^9.0.0
# 本地存储(非敏感偏好)
shared_preferences: ^2.3.0
# 设备 ID 生成
uuid: ^4.4.0
# 官方提供的设备信息插件,用于获取 Android ID / 设备标识
device_info_plus: ^11.0.0
protobuf: ^6.0.0
fixnum: ^1.1.1
android_id: ^0.5.2+1
# 状态管理v2.x注解 + 代码生成)
flutter_riverpod: ^2.6.1
riverpod_annotation: ^2.6.1
# 路由
go_router: ^14.0.0
# 网络请求(配合 json_annotation 进行 JSON 序列化)
dio: ^5.7.0
# 数据模型与不可变性
freezed_annotation: ^2.4.4
json_annotation: ^4.9.0
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^6.0.0
# 代码生成freezed / json_serializable / riverpod_generator
build_runner: ^2.4.13
freezed: ^2.5.7
json_serializable: ^6.9.0
riverpod_generator: ^2.6.1
flutter:
uses-material-design: true
generate: true