music-player-flutter

Music player application for android. It's uses MVVM architecture and Provider & ValueNotifier state management.

Flutter music player application which is my personal project published to play store. Project structures are as following,

     lib--                                        App Features:
         |                                           - Dynamic theme and save with Shared Preferences
         |__core                                     - Shuffle and play random song
                |__cache                             - Volume controller (Thanks for cihatislamdede)  
                     |__app_shared_pref.dart
                |__components
                     |__circulat_button_atom.dart
                |__constants
                     |__asset_constants.dart
                     |__size_constants.dart
                |__extension
                     |__size_extension.dart
                |__init
                     |__notifier
                           |__audio_process_notifier.dart
                           |__theme_notifier.dart
                     |__theme
                           |__app_theme_dark.dart
                           |__app_theme_light.dart
                           |__app_theme.dart
         |__utils                           
                |__helper_functions.dart
         |__viewmodel
                |__song_view_model.dart
         |__views
                |__control_panel_screen.dart
                |__home_screen.dart
         |__widgets
                |__album_widget.dart
                |__blur_widget.dart
                |__custom_appbar_widget.dart
                |__custom_avatar_widget.dart
                |__next_song_button_widget.dart
                |__pause_button_widget.dart
                |__play_button_widget.dart
                |__previous_button_widget.dart
                |__song_listview_widget.dart
         main.dart

Which packages used?

  • flutter_audio_query
  • just_audio
  • shared_preferences
  • provider
  • volume_controller
  • audio_video_progress_bar

     

GitHub

https://github.com/SamedHrmn/music-player-flutter