声音功能
This commit is contained in:
11
pubspec.yaml
11
pubspec.yaml
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user