This page walks you through cloning the Musynth repository, setting up the companionDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/CesarArellano/Music-Player-App/llms.txt
Use this file to discover all available pages before exploring further.
music_query_selector plugin that Musynth depends on locally, and getting all native dependencies in place before your first build. Follow the steps in order — the local path overrides in pubspec.yaml mean the companion plugin must be present before flutter pub get will succeed.
Create a shared parent directory
Both the app repo and the companion plugin repo must share the same parent directory so the relative paths in
dependency_overrides resolve correctly.Clone the companion music_query_selector plugin
The four overridden packages all live under a single federated plugin repository. Clone it as a sibling of the app directory:After this step your workspace should look like:
The
dependency_overrides in pubspec.yaml resolve relative to the app root, so ../music_query_selector/packages/music_query_selector maps to musynth-workspace/music_query_selector/packages/music_query_selector. The directory name of the cloned plugin repo must be exactly music_query_selector.Understand the dependency_overrides
Musynth’s These overrides exist because the local plugin contains features not yet published to pub.dev — including the native
pubspec.yaml contains the following overrides, which replace the pub.dev versions of the plugin with the local source:queryArtworkColor and deleteSongs APIs introduced in the latest changelog. Until those are published, the local path is the only way to access them.Install Flutter dependencies
Navigate into the app directory and run If you are using FVM, prefix the command:A successful run ends with a line similar to:If you see a
flutter pub get:path does not exist error for any music_query_selector package, double-check that the companion repo was cloned correctly as a sibling directory (Step 3).Install iOS CocoaPods dependencies (iOS builds only)
If you intend to build for iOS, install the native pod dependencies after
flutter pub get has completed:Verifying the Setup
After completing all steps, confirm everything is wired up correctly:flutter analyze output with no errors and a successful debug APK build means you are ready to move on to Running the App.