How madhavmuthreja87/spotify-clone works
The tree suggests a Flutter music player, with library, playlist, search, and playback screens; the README provides no product-specific workflow documentation. Dart implementation files were not excerpted, so their responsibilities are inferred from names and their internal connections are omitted. The sampled iOS Live Activity code shows payload decoding, rendering, and shared image access; its image-loader and renderer relationships are supported by excerpts. Platform shell and plugin-registration files are included where required by the source index, but are not expanded into build infrastructure.
Main entry points: main.dart App entry · track_provider.dart Track provider · my_application.cc Linux app shell · LANodeRenderer.swift Region renderer
Components 32
Music experience
- App entry
lib/main.dart - Home
lib/screens/home_screen.dart - Library
lib/screens/library_screen.dart - Search
lib/screens/search_screen.dart - Playlist views
lib/screens/playlist_home.dart - Create playlist
lib/screens/create_playlist.dart - Add to playlist
lib/screens/add_to_playlist.dart - Liked songs
lib/screens/liked_songs.dart - Recent tracks
lib/screens/recents_screen.dart - Settings
lib/screens/settings_screen.dart - Player screen
lib/screens/player_screen.dart - Mini player
lib/widgets/mini_player.dart - Audio handler
lib/audio_handler.dart
Track state
- Audis API
lib/audis_api.dart - Track provider
lib/providers/track_provider.dart - Track model
lib/models/track_model.dart
Live Activity
- Widget bundle
ios/LiveActivityKitWidget/LiveActivityKitWidgetBundle.swift - Activity presentation
ios/LiveActivityKitWidget/LiveActivityKitLiveActivity.swift - Activity attributes
ios/LiveActivityKitWidget/LiveActivityKitAttributes.swift - Region renderer
ios/LiveActivityKitWidget/LANodeRenderer.swift - Layout nodes
ios/LiveActivityKitWidget/LANode.swift - Layout style
ios/LiveActivityKitWidget/LAStyle.swift - Image loader
ios/LiveActivityKitWidget/LAImageLoader.swift - Shared app group
ios/LiveActivityKitWidget/LiveActivityAppGroup.swift
Platform integration
- iOS app shell
ios/Runner/AppDelegate.swift - macOS plugin registration
macos/Flutter/GeneratedPluginRegistrant.swift - Linux app shell
linux/runner/my_application.cc - Linux app interface
linux/runner/my_application.h - Linux entry point
linux/runner/main.cc - Linux plugin interface
linux/flutter/generated_plugin_registrant.h
Other components
- Listener
- Cached image files
Connections 18
- Widget bundle → Activity presentation: registers
ios/LiveActivityKitWidget/LiveActivityKitWidgetBundle.swift - Activity presentation → Activity attributes: configures
ios/LiveActivityKitWidget/LiveActivityKitLiveActivity.swift - Region renderer → Layout nodes: renders
ios/LiveActivityKitWidget/LANodeRenderer.swift - Region renderer → Image loader: loads images
ios/LiveActivityKitWidget/LANodeRenderer.swift - Image loader → Shared app group: reads files
ios/LiveActivityKitWidget/LAImageLoader.swift - Shared app group → Cached image files: stores files
ios/LiveActivityKitWidget/LiveActivityAppGroup.swift - Linux entry point → Linux app shell: starts
linux/runner/main.cc - Linux app shell → Linux app interface: implements
linux/runner/my_application.cc - Linux app shell → Linux plugin interface: registers plugins
linux/runner/my_application.cc - iOS app shell → Listener: launches app
- Listener → App entry: uses
- App entry → Home: opens
- Home → Track provider: requests tracks
- Track provider → Audis API: fetches tracks
- Track provider → Track model: manages
- Player screen → Audio handler: controls playback
- Mini player → Audio handler: controls playback
- App entry → macOS plugin registration: registers plugins