Flutter Music Player
Ankit Kumar
DevOps| Terraform | Linux |Azure | Azure DevOps | AWS | RH294( Ansible) | Python | Docker | Kubernetes | Grafana | ELK | Prometheus
This article refers to the creation of a Music App with the use of one great Platform know as Flutter. There are many reasons to choose Flutter as Platform but here we deal more with the Music App.
Before we start to create, we have to create a basic layout in the copy or mind so that, image is clear, what you want to create.
Some of the dependencies required to create music app are
1) audioPlayer : This is required to give audio support to the app.
2) File_Picker: This is required so that you can Pick the music file.
After, install, restart your IDE.
Design your app, according to your requirement. I design my App using containers, FaltButton, BoxDecoration, Image. Network and many others.
Some Screenshot of the way I decorate
If you have gone through the screenshot, then you see how the Widgets tree is created and how much Container is useful. The flat button is more useful than another button because it has child options as well as you can insert an image inside the button.
To make the AudioPlayer as functional we have to use the AudioPlayer function and import its package too.
To get more control over the audio button, we have to use conditions according to our requirements.
Final Layout of the MyAPPYou
You can watch this App in action in this Video:
https://www.dhirubhai.net/posts/ankit-kumar-464079199_vimaldaga-flutter-linuxworld-activity-6698343881962070016-dcef
Github Link: https://github.com/ankiiitt/Flutter-Music-Player
Thank you for your time.
Have a Good Day.??