Flutter Blog — 1

MEDIA PLAYER (🎶Audio & 🎬Video): Mobile App Development using FLUTTER

Building a custom Audio-Video Player Andriod App using FLUTTER

ANUPREET DUBE
3 min readApr 30, 2021

--

đź”· Introduction to Flutter

Flutter is Google’s UI toolkit for building beautiful, natively compiled applications for mobile, web, and desktop from a single codebase.

In other words, Flutter is Google’s mobile app SDK, complete with a framework, widgets, and tools, that gives developers an easy way to build and deploy visually attractive, fast mobile apps on both Android and iOS platforms.

Flutter is used widely for developing Andriod Applications because of the unique features which no other framework can provide altogether single hand.

Advantages of flutter

đź“ťProblem Statement

Our goal is to build a custom Audio-Video Player Andriod App using FLUTTER with the following App Features :

  • Audio Player which can play music from Local Storage (assets) as well from the internet
  • Video Player which can play Videos from Local Storage (assets) as well from the internet
  • Has Buttons to — Play, Pause, Stop the audio/video.
  • Themes to customize the app according to the user’s choice. (App Colour: Foreground and Background, Font: Type and Style, etc..)
  • Has a button to Exit from the App

đź“Ś Prerequisites

  • Flutter Application Installed
  • Visual Studio Code IDE Installed for writing and executing code
  • Flutter Plugin installed in VS Code to get support for Flutter.
  • Andriod Studio installed with Andriod SDK support.
  • The base system must have enough resources(RAM-CPU) to deploy the application using Virtual Emulator. (Or else, use an Android Phone enabled with Developer support to Test the Applications.)

đź”· Solution

Flutter Applications are built entirely via Code.

This means that for everything we see on the App screen: Images, Buttons, Text, etc……, there are lines of code behind it.

To create a custom Media Player Application, we need to create the following files in DART Language.

đź”—The code for this application is uploaded in my Github Repository :

Just download the Code in your system, plugin your Android Phones, and run the Main.dart file…….🎧

Splash Screen of the App 🎧

The App Development is still under process and once complete, I will be uploading this App on the Playstore ….. 🎶🎶

--

--