This commit is contained in:
sjk
2025-11-17 14:09:17 +08:00
commit 31e46c5bf6
479 changed files with 109324 additions and 0 deletions

122
client/pubspec.yaml Normal file
View File

@@ -0,0 +1,122 @@
name: ai_english_learning
description: "AI英语学习平台 - 跨平台移动应用"
publish_to: 'none'
version: 1.0.0+1
environment:
sdk: ^3.9.0
flutter: ">=3.19.0"
# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
# consider running `flutter pub upgrade --major-versions`. Alternatively,
# dependencies can be manually updated by changing the version numbers below to
# the latest version available on pub.dev. To see which dependencies have newer
# versions available, run `flutter pub outdated`.
dependencies:
flutter:
sdk: flutter
# UI组件
cupertino_icons: ^1.0.8
material_design_icons_flutter: ^7.0.7296
# 状态管理
provider: ^6.1.2
riverpod: ^2.5.1
flutter_riverpod: ^2.5.1
# 网络请求
dio: ^5.4.3+1
retrofit: ^4.1.0
json_annotation: ^4.9.0
# 本地存储
shared_preferences: ^2.2.3
hive: ^2.2.3
hive_flutter: ^1.1.0
# flutter_secure_storage: ^4.2.1 # 暂时注释掉Linux平台依赖问题
# 路由导航
go_router: ^14.2.0
# 图表和数据可视化
fl_chart: ^0.68.0
syncfusion_flutter_charts: ^25.2.7
# 音频播放
just_audio: ^0.9.37
audio_waveforms: ^1.0.5
# 图片处理
cached_network_image: ^3.3.1
image_picker: ^1.1.2
# 工具类
intl: ^0.19.0
uuid: ^4.4.0
logger: ^2.3.0
# 权限管理
permission_handler: ^11.3.1
# 语音识别和TTS
speech_to_text: ^7.0.0
flutter_tts: ^4.0.2
# 动画
lottie: ^3.1.2
animations: ^2.0.11
# 文件处理
path_provider: ^2.1.3
file_picker: ^8.0.3
# 设备信息
device_info_plus: ^10.1.0
package_info_plus: ^8.0.0
# 网络连接检测
connectivity_plus: ^6.0.3
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^5.0.0
flutter_launcher_icons: ^0.13.1
# 代码生成
build_runner: ^2.4.9
json_serializable: ^6.8.0
retrofit_generator: ^8.1.0
hive_generator: ^2.0.1
# 测试
mockito: ^5.4.4
integration_test:
sdk: flutter
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
flutter:
uses-material-design: true
# 资源文件
assets:
- assets/images/
- assets/icons/
- assets/animations/
- assets/audio/
- assets/data/
# 不配置字体,使用系统默认字体
# Flutter Launcher Icons 配置
flutter_launcher_icons:
android: true
ios: true
image_path: "assets/images/logo.png"
adaptive_icon_background: "#FFFFFF"
adaptive_icon_foreground: "assets/images/logo.png"