audio_box 0.0.8
audio_box: ^0.0.8 copied to clipboard
A flexible audio playback manager for Flutter.
0.0.6 #
0.0.5 #
0.0.4 #
0.0.3 #
新機能 #
key引数の省略をサポートするように変更:stop,pause,resume,setVolume,changeSpeedなどのメソッドで、channelを指定していればkeyの指定は不要になります。channelもkeyも指定しない場合は、全プレイヤーに対して操作を行うようになりました。
互換性に関する注意 #
stop,pause,resume,setVolume,changeSpeedでkeyとchannelを同時指定するとArgumentErrorが発生します。どちらか一方を指定してください。
内部改善 #
AudioRepositoryのメソッドシグネチャを調整し、柔軟性を向上。- コードの可読性と堅牢性を強化。
New Features #
- Added support for omitting the
keyargument:- If
channelis specified,keyis no longer required for methods likestop,pause,resume,setVolume, andchangeSpeed. - If neither
channelnorkeyis specified, operations will apply to all players.
- If
Compatibility Notes #
- Specifying both
keyandchannelsimultaneously instop,pause,resume,setVolume, andchangeSpeedwill throw anArgumentError. Specify only one.
Internal Improvements #
- Adjusted method signatures in
AudioRepositoryfor greater flexibility. - Improved code readability and robustness.