windows_audio

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

windows audio

windows_audio #
A simple windows audio plugin for flutter
Implementation #
Add the flutter plugin to your pubspec.yaml file
dependencies:
windows_audio: ^1.0.0
copied to clipboard
Firstly, import the flutter plugin
import "package:windows_audio/windows_audio.dart";
copied to clipboard
Then create an instance of the player
final Player = WindowsAudio();
copied to clipboard
Finally load the audio and play it
Player.load("assets/audio/filename");
Player.play();
copied to clipboard
Make sure that you have added the audio to the pubspec.yaml file
assets:
- assets/audio/filename
copied to clipboard
This plugin supports wav, mp3 and ogg files.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.