播放音频

This commit is contained in:
toly
2023-05-02 10:03:16 +08:00
parent d6c4f9be05
commit 46a1cd177c
12 changed files with 308 additions and 15 deletions

View File

@@ -30,8 +30,8 @@ environment:
dependencies:
flutter:
sdk: flutter
flame_audio: ^2.0.2
audioplayers: ^4.0.1
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2
@@ -40,6 +40,7 @@ dev_dependencies:
flutter_test:
sdk: flutter
# The "flutter_lints" package below contains a set of recommended lints to
# encourage good coding practices. The lint set provided by the package is
# activated in the `analysis_options.yaml` file located at the root of your
@@ -56,6 +57,7 @@ flutter:
assets:
- assets/images/
- assets/audio/