play audio in flutter play audio in flutter dart dart

play audio in flutter


can any one help me to resolve this error?

The only way to resolve the error would be to write an implementation of that plugin for Windows; the reason it's telling you that the plugin is missing is that the plugin doesn't have Windows support (which you can tell because there's no windows folder in the plugin repository, or windows: entry in the pubspec.yaml).

its work fine in [...] linux desktop

That's surprising, given that the plugin you are using doesn't support Linux either.

It's unlikely that you're going to find a plugin that has Windows support at the moment given that the official documentation currently says:

Note: Windows and Linux plugin APIs and tooling are not yet stable, so any plugin written now will need frequent updates for breaking changes. Because of this, publishing Windows and/or Linux plugins to pub.dev at this stage is strongly discouraged.