multimedia player using flutter
lets start with what is flutter and dart
Flutter: It is an open-source UI software development kit by Google. It is used to develop applications for Android ,iOS, Linux ,Mac ,Windows , Google Fuchsia and the Web from a single codebase.The first version of Flutter was known as codename "Sky"and run on the Android Operating System . On December 4,2018, Flutter 1.0 was released at the Flutter Live Event denoting the first stable version on the framework. Later on December 11, 2019 ,Flutter 1.12 was released at the Flutter Interactive event.
Dart: Dart is a client-optimized programming language for apps on multiple platforms.It is used to build mobile,desktop,server and web applications.Dart is an object oriented,class-based,garbage collected language with C style syntax .Dart can compile to either native code or JavaScript.Dart was unveiled in the GOTO Conference in Aarhus , Denmark , October 10-12, 2011.The project was founded by Lars Bak and Kaspar Lund . Dart 1.0 was released on November 14,2013.Flutter is based on the Dart Language.
DartPad: It is an open-source tool that lets you play with the Dart language in any modern browser. If we don't have the Dart SDK installed in our system we can use the online dart interpreter anywhere from dartpad website
Prerequisite:
- Flutter installed from it's official site.
- Dart installed from it's official site.
- Install Visual Studio code and add dart extension.
- Install Android Studio for running Android Virtual Device(AVD).
- Install extra flutter packages from it's official website.
Below is what I performed in this App.
1.Create a flutter app.
2. Use assets (eg. audios and videos).
3. App will have to play this audios and videos from Assets.
4. Also add Features to play audio and video from Internet(Network).
5. Create buttons like play, pause and stop for audio and video both.
solution :
created an app using
flutter create media_player
added some extensions in pubspec.yaml for audio and video player
created the multimedia player app
To run the app
git clone https://github.com/vaishnavi1401/multimedia_player-.git
flutter run -v
app will look
this is to play audio swipe to play for video
FUTURE SCOPE:
This project has lots of scopes and room for improvements in the future. The next/prev buttons on audio player can be made functional and lots of media can be used then.
we can add more functions like adding playlist of the user and many more.
nice work