A music player Flutter project.
Music Player application based on flutter, all music data getted from iTunes Affilate API
- Minimal Android API level 21 (Android 5.0) higher
- Google Pixel 3 API Level 31/32 (Android 12)
- Material Design 3
- Search Music from Toolbar
- List Music
- Play, Stop, Pause, Seek, Next & Prev Song
- Android Studio
- Gradle 7.1.2
- Kotlin 1.6.10
- Dart 2.17.6
- Flutter 3.0.5
- Mockito 5.2.0
- Dio 4.0.6
- Get 4.6.5
- Google Fonts 3.0.1
- Lottie Animation 1.3.0
- AudioPlayers 1.0.1
To build the app, follow these steps :
- Type "flutter pub get" to get the library that we've been added to
pubspec.yaml - Create SKSL to Reduce shader compilation jank on mobile
flutter run --profile --cache-sksl --purge-persistent-cache
then Press M, it will create flutter_01.sksl.json
3. Run this command to build APK
flutter build apk -v --obfuscate --split-debug-info=/Users/username/AndroidStudioProjects/music_player/deobfuscate --target-platform android-arm,android-arm64 --bundle-sksl-path flutter_01.sksl.json --split-per-abi
This command will generate .apk files with config:
- Obfuscated: Obfuscate code and leaving the symbol to read obfuscated stacktrace, for more info about obfuscating the code, head to Obfuscating Dart code.
- Target platform: Support only for Android with ARMv7 & ARMv8 processors, for x86 (commonly used for emulator) remove this command flag to include support for all processors.
- Bundle SKSL: Include cache to make app smoother with flutter_01.sksl.json that we've been created in the first step before.
*Note : Replace Username with your own username
To Run the app, there are two way to start the app :





