The Linux implementation of audioplayers.
This package is endorsed,
which means you can simply use audioplayers normally.
This package will be automatically included in your app when you do, so you do not need to add it to your pubspec.yaml.
Note: If Flutter was installed via Snap, you might encounter build errors due to dependency mismatching (like
glibc). Check out how to install the Flutter SDK manually or build your application on a former Ubuntu release, e.g.ubuntu:20.04vialxd.
Flutter dependencies:
sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-devsudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-devOptional GStreamer Plugins (e.g. for .m3u8):
sudo apt-get install gstreamer1.0-plugins-good gstreamer1.0-plugins-badFor Arch, simply install gstreamer and its plugins via pacman:
sudo pacman -S gstreamer gst-libav gst-plugins-base gst-plugins-goodYou can install additional plugins as needed following the Wiki.
Flutter dependencies:
sudo dnf install clang cmake ninja-build pkg-configsudo dnf install gstreamer1-devel gstreamer1-plugins-base-devel