🎯 **架构简化** - 删除整个 ios/ 文件夹和所有 Swift/Objective-C 代码 - 删除整个 android/ 文件夹和所有 Kotlin/Java 代码 - 移除 pubspec.yaml 中的插件平台配置 🚀 **技术优势** - 从 Flutter 插件转换为纯 Dart 包 - 完全依赖成熟的跨平台包:sherpa_onnx, record, permission_handler - 大幅简化代码维护和调试复杂度 - 避免平台特定的构建错误和兼容性问题 ✅ **解决的问题** - 修复 iOS 构建中的重复类定义错误 - 消除 Objective-C/Swift 桥接代码的复杂性 - 提高代码可维护性和跨平台一致性 📦 **新架构** 基于 sherpa_onnx 的纯 Dart 实现,所有平台功能通过现有包处理 |
||
|---|---|---|
| .. | ||
| android | ||
| assets/models | ||
| ios | ||
| lib | ||
| test | ||
| .gitignore | ||
| .metadata | ||
| README.md | ||
| analysis_options.yaml | ||
| pubspec.lock | ||
| pubspec.yaml | ||
README.md
yx_asr_example
A new Flutter project.
Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.