Struggling with "pub.dev audioplayers 6.0.0" package and FlutterFlow

Custom Code

For an application idea that I have in mind, I need to add to FlutterFlow the “audioplayers” package through a custom action, but it is being impossible to add it due to version dependencies problems. (https://pub.dev/packages/audioplayers)

I need to be able to control the stereo audio balance but the standard audioplayer component in FlutterFlow doesn't allow it.

I am stuck with this and I would appreciate if any of you have been able to use this package in FlutterFlow.

Any ideas or suggestions?

Thanks in advance.

Eduardo

What have you tried so far?

I have tried to do it via command line in “flutter” by creating a project from scratch with “flutter create testapp” and then add the package with “flutter pub add audioplayers” and have not had any problems.

I tried to copy the content of the file “pubspec.yaml” to FlutterFlow but it doesn't allow me to do it.

I have added the same versions of packages dependent on the “audioplayers” package in FlutterFlow but I keep getting errors in FlutterFlow “Failed running flutter pub get...”,

I have tried change package versions, but always with the same error as a result.

Did you check FlutterFlow's Documentation for this topic?
Yes
1