The goal of this sample is to show how to implement an audio media app that works across all platforms using Google's Flutter Framework. This sample takes inspiration from UAMP.
This tutorial by @ryanheise is a good starting resource before playing around with this sample. It explains the key concepts that were used in this sample.
Clone this repo and use your preferred editor to run this sample.
To get the latest dependencies:
- From the terminal: Run
flutter pub get
. - From Android Studio/IntelliJ: Click
Packages get
in the action ribbon at the top of pubspec.yaml. - From VS Code: Click
Get Packages
located in right side of the action ribbon at the top of pubspec.yaml.
NOTE: The default branch has been renamed from 'master' to 'main'.
- audio_service and just_audio plugin developed by Ryan Heise
- The Flutter and Dart team.
- dio developed by FlutterChinaClub
- percent_indicator developed by diegoveloper
If you've found an error in this sample, please file an issue
Patches are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details.
MIT License
Copyright (c) 2020 Rohan Sohonee
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.