声音功能

This commit is contained in:
Developer
2026-03-30 21:30:11 +08:00
parent ecffddbc6f
commit 4cd7629f61
15 changed files with 703 additions and 126 deletions

View File

@@ -42,6 +42,12 @@ dependencies:
platform_info: ^5.0.0
vibration: ^2.0.0 #删除
intl: ^0.20.2
audioplayers:
git:
url: https://gitcode.com/openharmony-sig/flutter_audioplayers.git
path: packages/audioplayers
dev_dependencies:
flutter_test:
@@ -67,9 +73,8 @@ flutter:
uses-material-design: true
# To add assets to your application, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
assets:
- assets/audios/deep.mp3
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/to/resolution-aware-images