bluefireteam / audioplayers

A Flutter package to play multiple audio files simultaneously (Android/iOS/web/Linux/Windows/macOS)
https://pub.dartlang.org/packages/audioplayers
MIT License
2.01k stars 845 forks source link

fix:Fix a compilation problem with demo #1717

Closed xiaofanqingzjj closed 11 months ago

xiaofanqingzjj commented 11 months ago

Description

1.Fix a compilation problem with demo

Checklist

Breaking Change

Related Issues

Gustl22 commented 11 months ago

Hi there, thank you for the contribution. Plz read setup first :) You need to execute melos bs before running the example.

xiaofanqingzjj commented 11 months ago

Hi there, thank you for the contribution. Plz read setup first :) You need to execute melos bs before running the example.

The option argument to AudioContextIOS.copy() is of type List, but the object created with curly braces is Set.

image
Gustl22 commented 11 months ago

No it isn't any more in the main branch, this is not released yet. Plz run melos before to run the example with the latest changes.

If want to execute the example which is compatible with the latest release, checkout the v5 branch: https://github.com/bluefireteam/audioplayers/tree/v5/packages/audioplayers/example

xiaofanqingzjj commented 11 months ago

No it isn't any more in the main branch, this is not released yet. Plz run melos before to run the example with the latest changes.

If want to execute the example which is compatible with the latest release, checkout the v5 branch: https://github.com/bluefireteam/audioplayers/tree/v5/packages/audioplayers/example

Thanks