├── .gitignore ├── README.md ├── android ├── .gitignore ├── app │ ├── build.gradle │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── kotlin │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── web_music │ │ │ │ └── MainActivity.kt │ │ └── res │ │ │ ├── drawable │ │ │ └── launch_background.xml │ │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ └── ic_launcher.png │ │ │ └── values │ │ │ └── styles.xml │ │ └── profile │ │ └── AndroidManifest.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── ios ├── .gitignore ├── Flutter │ ├── AppFrameworkInfo.plist │ ├── Debug.xcconfig │ └── Release.xcconfig ├── Runner.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ └── WorkspaceSettings.xcsettings │ └── xcshareddata │ │ └── xcschemes │ │ └── Runner.xcscheme ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ └── WorkspaceSettings.xcsettings └── Runner │ ├── AppDelegate.swift │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ ├── Contents.json │ │ ├── Icon-App-1024x1024@1x.png │ │ ├── Icon-App-20x20@1x.png │ │ ├── Icon-App-20x20@2x.png │ │ ├── Icon-App-20x20@3x.png │ │ ├── Icon-App-29x29@1x.png │ │ ├── Icon-App-29x29@2x.png │ │ ├── Icon-App-29x29@3x.png │ │ ├── Icon-App-40x40@1x.png │ │ ├── Icon-App-40x40@2x.png │ │ ├── Icon-App-40x40@3x.png │ │ ├── Icon-App-60x60@2x.png │ │ ├── Icon-App-60x60@3x.png │ │ ├── Icon-App-76x76@1x.png │ │ ├── Icon-App-76x76@2x.png │ │ └── Icon-App-83.5x83.5@2x.png │ └── LaunchImage.imageset │ │ ├── Contents.json │ │ ├── LaunchImage.png │ │ ├── LaunchImage@2x.png │ │ ├── LaunchImage@3x.png │ │ └── README.md │ ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ ├── Info.plist │ └── Runner-Bridging-Header.h ├── lib ├── bloc │ ├── music_bloc.dart │ ├── music_event.dart │ ├── music_state.dart │ └── now_bloc.dart ├── main.dart ├── model │ └── music_model.dart ├── screen │ └── homepage.dart ├── util │ ├── MyColor.dart │ ├── list_repository.dart │ ├── size.dart │ └── style.dart └── widget │ ├── billboard_item.dart │ ├── header.dart │ ├── main_section.dart │ ├── meni_item.dart │ ├── menu_side.dart │ ├── most_popular.dart │ ├── music_widge_bloc.dart │ ├── now_playing.dart │ ├── playin_section.dart │ ├── popular_item.dart │ ├── search.dart │ ├── second_main.dart │ ├── section_bottom.dart │ ├── sidebar.dart │ └── top_chart.dart ├── pubspec.lock ├── pubspec.yaml └── web ├── asset └── image │ └── ssd.png ├── favicon.png ├── icons ├── Icon-192.png └── Icon-512.png ├── img ├── button.PNG └── ssd.png ├── index.html └── manifest.json /.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | 12 | # IntelliJ related 13 | *.iml 14 | *.ipr 15 | *.iws 16 | .idea/ 17 | 18 | # The .vscode folder contains launch configuration and tasks you configure in 19 | # VS Code which you may wish to be included in version control, so this line 20 | # is commented out by default. 21 | #.vscode/ 22 | 23 | # Flutter/Dart/Pub related 24 | **/doc/api/ 25 | **/ios/Flutter/.last_build_id 26 | .dart_tool/ 27 | .flutter-plugins 28 | .flutter-plugins-dependencies 29 | .packages 30 | .pub-cache/ 31 | .pub/ 32 | /build/ 33 | 34 | # Web related 35 | lib/generated_plugin_registrant.dart 36 | 37 | # Symbolication related 38 | app.*.symbols 39 | 40 | # Obfuscation related 41 | app.*.map.json 42 | 43 | # Exceptions to above rules. 44 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages 45 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## Flutter pwa music 2 | project date: 2019 3 | 4 | 5 | -package: RxDart 6 | 7 | 8 | ![flutter-web-music](https://github.com/adultcode/Flutter-Web-Music/assets/17101519/6a41e4f2-d2c1-411d-8395-12a9481af006) 9 | -------------------------------------------------------------------------------- /android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | 9 | # Remember to never publicly share your keystore. 10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app 11 | key.properties 12 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | def localProperties = new Properties() 2 | def localPropertiesFile = rootProject.file('local.properties') 3 | if (localPropertiesFile.exists()) { 4 | localPropertiesFile.withReader('UTF-8') { reader -> 5 | localProperties.load(reader) 6 | } 7 | } 8 | 9 | def flutterRoot = localProperties.getProperty('flutter.sdk') 10 | if (flutterRoot == null) { 11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") 12 | } 13 | 14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode') 15 | if (flutterVersionCode == null) { 16 | flutterVersionCode = '1' 17 | } 18 | 19 | def flutterVersionName = localProperties.getProperty('flutter.versionName') 20 | if (flutterVersionName == null) { 21 | flutterVersionName = '1.0' 22 | } 23 | 24 | apply plugin: 'com.android.application' 25 | apply plugin: 'kotlin-android' 26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 27 | 28 | android { 29 | compileSdkVersion 28 30 | 31 | sourceSets { 32 | main.java.srcDirs += 'src/main/kotlin' 33 | } 34 | 35 | lintOptions { 36 | disable 'InvalidPackage' 37 | } 38 | 39 | defaultConfig { 40 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 41 | applicationId "com.example.web_music" 42 | minSdkVersion 16 43 | targetSdkVersion 28 44 | versionCode flutterVersionCode.toInteger() 45 | versionName flutterVersionName 46 | } 47 | 48 | buildTypes { 49 | release { 50 | // TODO: Add your own signing config for the release build. 51 | // Signing with the debug keys for now, so `flutter run --release` works. 52 | signingConfig signingConfigs.debug 53 | } 54 | } 55 | } 56 | 57 | flutter { 58 | source '../..' 59 | } 60 | 61 | dependencies { 62 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 63 | } 64 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 8 | 12 | 19 | 23 | 27 | 32 | 36 | 37 | 38 | 39 | 40 | 41 | 43 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /android/app/src/main/kotlin/com/example/web_music/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.web_music 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() { 6 | } 7 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.3.50' 3 | repositories { 4 | google() 5 | jcenter() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:3.5.0' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | } 12 | } 13 | 14 | allprojects { 15 | repositories { 16 | google() 17 | jcenter() 18 | } 19 | } 20 | 21 | rootProject.buildDir = '../build' 22 | subprojects { 23 | project.buildDir = "${rootProject.buildDir}/${project.name}" 24 | } 25 | subprojects { 26 | project.evaluationDependsOn(':app') 27 | } 28 | 29 | task clean(type: Delete) { 30 | delete rootProject.buildDir 31 | } 32 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.enableR8=true 3 | android.useAndroidX=true 4 | android.enableJetifier=true 5 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jun 23 08:50:38 CEST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip 7 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties") 4 | def properties = new Properties() 5 | 6 | assert localPropertiesFile.exists() 7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } 8 | 9 | def flutterSdkPath = properties.getProperty("flutter.sdk") 10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" 12 | -------------------------------------------------------------------------------- /ios/.gitignore: -------------------------------------------------------------------------------- 1 | *.mode1v3 2 | *.mode2v3 3 | *.moved-aside 4 | *.pbxuser 5 | *.perspectivev3 6 | **/*sync/ 7 | .sconsign.dblite 8 | .tags* 9 | **/.vagrant/ 10 | **/DerivedData/ 11 | Icon? 12 | **/Pods/ 13 | **/.symlinks/ 14 | profile 15 | xcuserdata 16 | **/.generated/ 17 | Flutter/App.framework 18 | Flutter/Flutter.framework 19 | Flutter/Flutter.podspec 20 | Flutter/Generated.xcconfig 21 | Flutter/app.flx 22 | Flutter/app.zip 23 | Flutter/flutter_assets/ 24 | Flutter/flutter_export_environment.sh 25 | ServiceDefinitions.json 26 | Runner/GeneratedPluginRegistrant.* 27 | 28 | # Exceptions to above rules. 29 | !default.mode1v3 30 | !default.mode2v3 31 | !default.pbxuser 32 | !default.perspectivev3 33 | -------------------------------------------------------------------------------- /ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | App 9 | CFBundleIdentifier 10 | io.flutter.flutter.app 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | App 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | MinimumOSVersion 24 | 8.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 12 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 13 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 14 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 15 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 16 | /* End PBXBuildFile section */ 17 | 18 | /* Begin PBXCopyFilesBuildPhase section */ 19 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 20 | isa = PBXCopyFilesBuildPhase; 21 | buildActionMask = 2147483647; 22 | dstPath = ""; 23 | dstSubfolderSpec = 10; 24 | files = ( 25 | ); 26 | name = "Embed Frameworks"; 27 | runOnlyForDeploymentPostprocessing = 0; 28 | }; 29 | /* End PBXCopyFilesBuildPhase section */ 30 | 31 | /* Begin PBXFileReference section */ 32 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 33 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 34 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 35 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 36 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 37 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 38 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 39 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 40 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 41 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 42 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 43 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 44 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 45 | /* End PBXFileReference section */ 46 | 47 | /* Begin PBXFrameworksBuildPhase section */ 48 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 49 | isa = PBXFrameworksBuildPhase; 50 | buildActionMask = 2147483647; 51 | files = ( 52 | ); 53 | runOnlyForDeploymentPostprocessing = 0; 54 | }; 55 | /* End PBXFrameworksBuildPhase section */ 56 | 57 | /* Begin PBXGroup section */ 58 | 9740EEB11CF90186004384FC /* Flutter */ = { 59 | isa = PBXGroup; 60 | children = ( 61 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 62 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 63 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 64 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 65 | ); 66 | name = Flutter; 67 | sourceTree = ""; 68 | }; 69 | 97C146E51CF9000F007C117D = { 70 | isa = PBXGroup; 71 | children = ( 72 | 9740EEB11CF90186004384FC /* Flutter */, 73 | 97C146F01CF9000F007C117D /* Runner */, 74 | 97C146EF1CF9000F007C117D /* Products */, 75 | ); 76 | sourceTree = ""; 77 | }; 78 | 97C146EF1CF9000F007C117D /* Products */ = { 79 | isa = PBXGroup; 80 | children = ( 81 | 97C146EE1CF9000F007C117D /* Runner.app */, 82 | ); 83 | name = Products; 84 | sourceTree = ""; 85 | }; 86 | 97C146F01CF9000F007C117D /* Runner */ = { 87 | isa = PBXGroup; 88 | children = ( 89 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 90 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 91 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 92 | 97C147021CF9000F007C117D /* Info.plist */, 93 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 94 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 95 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 96 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, 97 | ); 98 | path = Runner; 99 | sourceTree = ""; 100 | }; 101 | /* End PBXGroup section */ 102 | 103 | /* Begin PBXNativeTarget section */ 104 | 97C146ED1CF9000F007C117D /* Runner */ = { 105 | isa = PBXNativeTarget; 106 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 107 | buildPhases = ( 108 | 9740EEB61CF901F6004384FC /* Run Script */, 109 | 97C146EA1CF9000F007C117D /* Sources */, 110 | 97C146EB1CF9000F007C117D /* Frameworks */, 111 | 97C146EC1CF9000F007C117D /* Resources */, 112 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 113 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 114 | ); 115 | buildRules = ( 116 | ); 117 | dependencies = ( 118 | ); 119 | name = Runner; 120 | productName = Runner; 121 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 122 | productType = "com.apple.product-type.application"; 123 | }; 124 | /* End PBXNativeTarget section */ 125 | 126 | /* Begin PBXProject section */ 127 | 97C146E61CF9000F007C117D /* Project object */ = { 128 | isa = PBXProject; 129 | attributes = { 130 | LastUpgradeCheck = 1020; 131 | ORGANIZATIONNAME = ""; 132 | TargetAttributes = { 133 | 97C146ED1CF9000F007C117D = { 134 | CreatedOnToolsVersion = 7.3.1; 135 | LastSwiftMigration = 1100; 136 | }; 137 | }; 138 | }; 139 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 140 | compatibilityVersion = "Xcode 9.3"; 141 | developmentRegion = en; 142 | hasScannedForEncodings = 0; 143 | knownRegions = ( 144 | en, 145 | Base, 146 | ); 147 | mainGroup = 97C146E51CF9000F007C117D; 148 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 149 | projectDirPath = ""; 150 | projectRoot = ""; 151 | targets = ( 152 | 97C146ED1CF9000F007C117D /* Runner */, 153 | ); 154 | }; 155 | /* End PBXProject section */ 156 | 157 | /* Begin PBXResourcesBuildPhase section */ 158 | 97C146EC1CF9000F007C117D /* Resources */ = { 159 | isa = PBXResourcesBuildPhase; 160 | buildActionMask = 2147483647; 161 | files = ( 162 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 163 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 164 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 165 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 166 | ); 167 | runOnlyForDeploymentPostprocessing = 0; 168 | }; 169 | /* End PBXResourcesBuildPhase section */ 170 | 171 | /* Begin PBXShellScriptBuildPhase section */ 172 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 173 | isa = PBXShellScriptBuildPhase; 174 | buildActionMask = 2147483647; 175 | files = ( 176 | ); 177 | inputPaths = ( 178 | ); 179 | name = "Thin Binary"; 180 | outputPaths = ( 181 | ); 182 | runOnlyForDeploymentPostprocessing = 0; 183 | shellPath = /bin/sh; 184 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; 185 | }; 186 | 9740EEB61CF901F6004384FC /* Run Script */ = { 187 | isa = PBXShellScriptBuildPhase; 188 | buildActionMask = 2147483647; 189 | files = ( 190 | ); 191 | inputPaths = ( 192 | ); 193 | name = "Run Script"; 194 | outputPaths = ( 195 | ); 196 | runOnlyForDeploymentPostprocessing = 0; 197 | shellPath = /bin/sh; 198 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 199 | }; 200 | /* End PBXShellScriptBuildPhase section */ 201 | 202 | /* Begin PBXSourcesBuildPhase section */ 203 | 97C146EA1CF9000F007C117D /* Sources */ = { 204 | isa = PBXSourcesBuildPhase; 205 | buildActionMask = 2147483647; 206 | files = ( 207 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 208 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 209 | ); 210 | runOnlyForDeploymentPostprocessing = 0; 211 | }; 212 | /* End PBXSourcesBuildPhase section */ 213 | 214 | /* Begin PBXVariantGroup section */ 215 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 216 | isa = PBXVariantGroup; 217 | children = ( 218 | 97C146FB1CF9000F007C117D /* Base */, 219 | ); 220 | name = Main.storyboard; 221 | sourceTree = ""; 222 | }; 223 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 224 | isa = PBXVariantGroup; 225 | children = ( 226 | 97C147001CF9000F007C117D /* Base */, 227 | ); 228 | name = LaunchScreen.storyboard; 229 | sourceTree = ""; 230 | }; 231 | /* End PBXVariantGroup section */ 232 | 233 | /* Begin XCBuildConfiguration section */ 234 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 235 | isa = XCBuildConfiguration; 236 | buildSettings = { 237 | ALWAYS_SEARCH_USER_PATHS = NO; 238 | CLANG_ANALYZER_NONNULL = YES; 239 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 240 | CLANG_CXX_LIBRARY = "libc++"; 241 | CLANG_ENABLE_MODULES = YES; 242 | CLANG_ENABLE_OBJC_ARC = YES; 243 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 244 | CLANG_WARN_BOOL_CONVERSION = YES; 245 | CLANG_WARN_COMMA = YES; 246 | CLANG_WARN_CONSTANT_CONVERSION = YES; 247 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 248 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 249 | CLANG_WARN_EMPTY_BODY = YES; 250 | CLANG_WARN_ENUM_CONVERSION = YES; 251 | CLANG_WARN_INFINITE_RECURSION = YES; 252 | CLANG_WARN_INT_CONVERSION = YES; 253 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 254 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 255 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 256 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 257 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 258 | CLANG_WARN_STRICT_PROTOTYPES = YES; 259 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 260 | CLANG_WARN_UNREACHABLE_CODE = YES; 261 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 262 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 263 | COPY_PHASE_STRIP = NO; 264 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 265 | ENABLE_NS_ASSERTIONS = NO; 266 | ENABLE_STRICT_OBJC_MSGSEND = YES; 267 | GCC_C_LANGUAGE_STANDARD = gnu99; 268 | GCC_NO_COMMON_BLOCKS = YES; 269 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 270 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 271 | GCC_WARN_UNDECLARED_SELECTOR = YES; 272 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 273 | GCC_WARN_UNUSED_FUNCTION = YES; 274 | GCC_WARN_UNUSED_VARIABLE = YES; 275 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 276 | MTL_ENABLE_DEBUG_INFO = NO; 277 | SDKROOT = iphoneos; 278 | SUPPORTED_PLATFORMS = iphoneos; 279 | TARGETED_DEVICE_FAMILY = "1,2"; 280 | VALIDATE_PRODUCT = YES; 281 | }; 282 | name = Profile; 283 | }; 284 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 285 | isa = XCBuildConfiguration; 286 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 287 | buildSettings = { 288 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 289 | CLANG_ENABLE_MODULES = YES; 290 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 291 | ENABLE_BITCODE = NO; 292 | FRAMEWORK_SEARCH_PATHS = ( 293 | "$(inherited)", 294 | "$(PROJECT_DIR)/Flutter", 295 | ); 296 | INFOPLIST_FILE = Runner/Info.plist; 297 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 298 | LIBRARY_SEARCH_PATHS = ( 299 | "$(inherited)", 300 | "$(PROJECT_DIR)/Flutter", 301 | ); 302 | PRODUCT_BUNDLE_IDENTIFIER = com.example.webMusic; 303 | PRODUCT_NAME = "$(TARGET_NAME)"; 304 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 305 | SWIFT_VERSION = 5.0; 306 | VERSIONING_SYSTEM = "apple-generic"; 307 | }; 308 | name = Profile; 309 | }; 310 | 97C147031CF9000F007C117D /* Debug */ = { 311 | isa = XCBuildConfiguration; 312 | buildSettings = { 313 | ALWAYS_SEARCH_USER_PATHS = NO; 314 | CLANG_ANALYZER_NONNULL = YES; 315 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 316 | CLANG_CXX_LIBRARY = "libc++"; 317 | CLANG_ENABLE_MODULES = YES; 318 | CLANG_ENABLE_OBJC_ARC = YES; 319 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 320 | CLANG_WARN_BOOL_CONVERSION = YES; 321 | CLANG_WARN_COMMA = YES; 322 | CLANG_WARN_CONSTANT_CONVERSION = YES; 323 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 324 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 325 | CLANG_WARN_EMPTY_BODY = YES; 326 | CLANG_WARN_ENUM_CONVERSION = YES; 327 | CLANG_WARN_INFINITE_RECURSION = YES; 328 | CLANG_WARN_INT_CONVERSION = YES; 329 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 330 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 331 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 332 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 333 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 334 | CLANG_WARN_STRICT_PROTOTYPES = YES; 335 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 336 | CLANG_WARN_UNREACHABLE_CODE = YES; 337 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 338 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 339 | COPY_PHASE_STRIP = NO; 340 | DEBUG_INFORMATION_FORMAT = dwarf; 341 | ENABLE_STRICT_OBJC_MSGSEND = YES; 342 | ENABLE_TESTABILITY = YES; 343 | GCC_C_LANGUAGE_STANDARD = gnu99; 344 | GCC_DYNAMIC_NO_PIC = NO; 345 | GCC_NO_COMMON_BLOCKS = YES; 346 | GCC_OPTIMIZATION_LEVEL = 0; 347 | GCC_PREPROCESSOR_DEFINITIONS = ( 348 | "DEBUG=1", 349 | "$(inherited)", 350 | ); 351 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 352 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 353 | GCC_WARN_UNDECLARED_SELECTOR = YES; 354 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 355 | GCC_WARN_UNUSED_FUNCTION = YES; 356 | GCC_WARN_UNUSED_VARIABLE = YES; 357 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 358 | MTL_ENABLE_DEBUG_INFO = YES; 359 | ONLY_ACTIVE_ARCH = YES; 360 | SDKROOT = iphoneos; 361 | TARGETED_DEVICE_FAMILY = "1,2"; 362 | }; 363 | name = Debug; 364 | }; 365 | 97C147041CF9000F007C117D /* Release */ = { 366 | isa = XCBuildConfiguration; 367 | buildSettings = { 368 | ALWAYS_SEARCH_USER_PATHS = NO; 369 | CLANG_ANALYZER_NONNULL = YES; 370 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 371 | CLANG_CXX_LIBRARY = "libc++"; 372 | CLANG_ENABLE_MODULES = YES; 373 | CLANG_ENABLE_OBJC_ARC = YES; 374 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 375 | CLANG_WARN_BOOL_CONVERSION = YES; 376 | CLANG_WARN_COMMA = YES; 377 | CLANG_WARN_CONSTANT_CONVERSION = YES; 378 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 379 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 380 | CLANG_WARN_EMPTY_BODY = YES; 381 | CLANG_WARN_ENUM_CONVERSION = YES; 382 | CLANG_WARN_INFINITE_RECURSION = YES; 383 | CLANG_WARN_INT_CONVERSION = YES; 384 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 385 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 386 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 387 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 388 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 389 | CLANG_WARN_STRICT_PROTOTYPES = YES; 390 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 391 | CLANG_WARN_UNREACHABLE_CODE = YES; 392 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 393 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 394 | COPY_PHASE_STRIP = NO; 395 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 396 | ENABLE_NS_ASSERTIONS = NO; 397 | ENABLE_STRICT_OBJC_MSGSEND = YES; 398 | GCC_C_LANGUAGE_STANDARD = gnu99; 399 | GCC_NO_COMMON_BLOCKS = YES; 400 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 401 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 402 | GCC_WARN_UNDECLARED_SELECTOR = YES; 403 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 404 | GCC_WARN_UNUSED_FUNCTION = YES; 405 | GCC_WARN_UNUSED_VARIABLE = YES; 406 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 407 | MTL_ENABLE_DEBUG_INFO = NO; 408 | SDKROOT = iphoneos; 409 | SUPPORTED_PLATFORMS = iphoneos; 410 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 411 | TARGETED_DEVICE_FAMILY = "1,2"; 412 | VALIDATE_PRODUCT = YES; 413 | }; 414 | name = Release; 415 | }; 416 | 97C147061CF9000F007C117D /* Debug */ = { 417 | isa = XCBuildConfiguration; 418 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 419 | buildSettings = { 420 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 421 | CLANG_ENABLE_MODULES = YES; 422 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 423 | ENABLE_BITCODE = NO; 424 | FRAMEWORK_SEARCH_PATHS = ( 425 | "$(inherited)", 426 | "$(PROJECT_DIR)/Flutter", 427 | ); 428 | INFOPLIST_FILE = Runner/Info.plist; 429 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 430 | LIBRARY_SEARCH_PATHS = ( 431 | "$(inherited)", 432 | "$(PROJECT_DIR)/Flutter", 433 | ); 434 | PRODUCT_BUNDLE_IDENTIFIER = com.example.webMusic; 435 | PRODUCT_NAME = "$(TARGET_NAME)"; 436 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 437 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 438 | SWIFT_VERSION = 5.0; 439 | VERSIONING_SYSTEM = "apple-generic"; 440 | }; 441 | name = Debug; 442 | }; 443 | 97C147071CF9000F007C117D /* Release */ = { 444 | isa = XCBuildConfiguration; 445 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 446 | buildSettings = { 447 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 448 | CLANG_ENABLE_MODULES = YES; 449 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 450 | ENABLE_BITCODE = NO; 451 | FRAMEWORK_SEARCH_PATHS = ( 452 | "$(inherited)", 453 | "$(PROJECT_DIR)/Flutter", 454 | ); 455 | INFOPLIST_FILE = Runner/Info.plist; 456 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 457 | LIBRARY_SEARCH_PATHS = ( 458 | "$(inherited)", 459 | "$(PROJECT_DIR)/Flutter", 460 | ); 461 | PRODUCT_BUNDLE_IDENTIFIER = com.example.webMusic; 462 | PRODUCT_NAME = "$(TARGET_NAME)"; 463 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 464 | SWIFT_VERSION = 5.0; 465 | VERSIONING_SYSTEM = "apple-generic"; 466 | }; 467 | name = Release; 468 | }; 469 | /* End XCBuildConfiguration section */ 470 | 471 | /* Begin XCConfigurationList section */ 472 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 473 | isa = XCConfigurationList; 474 | buildConfigurations = ( 475 | 97C147031CF9000F007C117D /* Debug */, 476 | 97C147041CF9000F007C117D /* Release */, 477 | 249021D3217E4FDB00AE95B9 /* Profile */, 478 | ); 479 | defaultConfigurationIsVisible = 0; 480 | defaultConfigurationName = Release; 481 | }; 482 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 483 | isa = XCConfigurationList; 484 | buildConfigurations = ( 485 | 97C147061CF9000F007C117D /* Debug */, 486 | 97C147071CF9000F007C117D /* Release */, 487 | 249021D4217E4FDB00AE95B9 /* Profile */, 488 | ); 489 | defaultConfigurationIsVisible = 0; 490 | defaultConfigurationName = Release; 491 | }; 492 | /* End XCConfigurationList section */ 493 | }; 494 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 495 | } 496 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 43 | 44 | 54 | 56 | 62 | 63 | 64 | 65 | 66 | 67 | 73 | 75 | 81 | 82 | 83 | 84 | 86 | 87 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Flutter 3 | 4 | @UIApplicationMain 5 | @objc class AppDelegate: FlutterAppDelegate { 6 | override func application( 7 | _ application: UIApplication, 8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? 9 | ) -> Bool { 10 | GeneratedPluginRegistrant.register(with: self) 11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "20x20", 5 | "idiom" : "iphone", 6 | "filename" : "Icon-App-20x20@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "20x20", 11 | "idiom" : "iphone", 12 | "filename" : "Icon-App-20x20@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "29x29", 17 | "idiom" : "iphone", 18 | "filename" : "Icon-App-29x29@1x.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "29x29", 23 | "idiom" : "iphone", 24 | "filename" : "Icon-App-29x29@2x.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "29x29", 29 | "idiom" : "iphone", 30 | "filename" : "Icon-App-29x29@3x.png", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "40x40", 35 | "idiom" : "iphone", 36 | "filename" : "Icon-App-40x40@2x.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "40x40", 41 | "idiom" : "iphone", 42 | "filename" : "Icon-App-40x40@3x.png", 43 | "scale" : "3x" 44 | }, 45 | { 46 | "size" : "60x60", 47 | "idiom" : "iphone", 48 | "filename" : "Icon-App-60x60@2x.png", 49 | "scale" : "2x" 50 | }, 51 | { 52 | "size" : "60x60", 53 | "idiom" : "iphone", 54 | "filename" : "Icon-App-60x60@3x.png", 55 | "scale" : "3x" 56 | }, 57 | { 58 | "size" : "20x20", 59 | "idiom" : "ipad", 60 | "filename" : "Icon-App-20x20@1x.png", 61 | "scale" : "1x" 62 | }, 63 | { 64 | "size" : "20x20", 65 | "idiom" : "ipad", 66 | "filename" : "Icon-App-20x20@2x.png", 67 | "scale" : "2x" 68 | }, 69 | { 70 | "size" : "29x29", 71 | "idiom" : "ipad", 72 | "filename" : "Icon-App-29x29@1x.png", 73 | "scale" : "1x" 74 | }, 75 | { 76 | "size" : "29x29", 77 | "idiom" : "ipad", 78 | "filename" : "Icon-App-29x29@2x.png", 79 | "scale" : "2x" 80 | }, 81 | { 82 | "size" : "40x40", 83 | "idiom" : "ipad", 84 | "filename" : "Icon-App-40x40@1x.png", 85 | "scale" : "1x" 86 | }, 87 | { 88 | "size" : "40x40", 89 | "idiom" : "ipad", 90 | "filename" : "Icon-App-40x40@2x.png", 91 | "scale" : "2x" 92 | }, 93 | { 94 | "size" : "76x76", 95 | "idiom" : "ipad", 96 | "filename" : "Icon-App-76x76@1x.png", 97 | "scale" : "1x" 98 | }, 99 | { 100 | "size" : "76x76", 101 | "idiom" : "ipad", 102 | "filename" : "Icon-App-76x76@2x.png", 103 | "scale" : "2x" 104 | }, 105 | { 106 | "size" : "83.5x83.5", 107 | "idiom" : "ipad", 108 | "filename" : "Icon-App-83.5x83.5@2x.png", 109 | "scale" : "2x" 110 | }, 111 | { 112 | "size" : "1024x1024", 113 | "idiom" : "ios-marketing", 114 | "filename" : "Icon-App-1024x1024@1x.png", 115 | "scale" : "1x" 116 | } 117 | ], 118 | "info" : { 119 | "version" : 1, 120 | "author" : "xcode" 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchImage.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchImage@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "LaunchImage@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | web_music 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | $(FLUTTER_BUILD_NAME) 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UISupportedInterfaceOrientations 30 | 31 | UIInterfaceOrientationPortrait 32 | UIInterfaceOrientationLandscapeLeft 33 | UIInterfaceOrientationLandscapeRight 34 | 35 | UISupportedInterfaceOrientations~ipad 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationPortraitUpsideDown 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | UIViewControllerBasedStatusBarAppearance 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /lib/bloc/music_bloc.dart: -------------------------------------------------------------------------------- 1 | import 'package:just_audio/just_audio.dart'; 2 | import 'package:bloc/bloc.dart'; 3 | import 'package:rxdart/rxdart.dart'; 4 | import 'package:web_music/bloc/music_event.dart'; 5 | import 'package:web_music/bloc/music_state.dart'; 6 | import 'package:web_music/model/music_model.dart'; 7 | 8 | class MusicBloc extends Bloc{ 9 | 10 | 11 | //MusicBloc(this.mymusic); 12 | Music mymusic= Music("Summer feelings","Lennon Stella","http://dlera6.xyz/uploads/posts/2020-05/thumbs/1590824359_600x600bb.jpg","http://dl2.bikalammusic.com/new-links/99/02/Oliva%20-%202020%20-%2001.%20The%20First%20to%20Arrive%20-%20bikalammusic.com.mp3"); 13 | var isinit = false; 14 | var value = 0.0; 15 | final BehaviorSubject value_subject = BehaviorSubject(); 16 | final BehaviorSubject isplay_subject = BehaviorSubject(); 17 | String currentduration_subject = ""; 18 | BehaviorSubject duration_subject = BehaviorSubject(); 19 | double maxSlider; 20 | AudioPlayer player ; 21 | 22 | MusicBloc(){ 23 | player = AudioPlayer(); 24 | value_subject.add(0.0); 25 | 26 | } 27 | 28 | void onGetData(Music music){ 29 | mymusic = music; 30 | print("music ${mymusic.artist}"); 31 | add(SendMusic()); 32 | } 33 | void onInitMusicEvent(){ 34 | 35 | 36 | print("InitMusicEvent "); 37 | add(InitMusicEvent()); 38 | } 39 | 40 | void onFirsttMusicEvent(Music music){ 41 | mymusic = music; 42 | 43 | print("FirstMusicEvent "); 44 | add(FirstMusicEvent()); 45 | } 46 | 47 | @override 48 | MusicState get initialState => InitMusic(mymusic); 49 | 50 | @override 51 | Stream mapEventToState(Music_Event event) async*{ 52 | // TODO: implement mapEventToState 53 | 54 | if( event is SendMusic){ 55 | print("event ${mymusic.artist}"); 56 | 57 | yield LoadMusic(); 58 | } 59 | else if(event is InitMusicEvent){ 60 | PlayerSetData(); 61 | yield InitMusic(mymusic); 62 | } 63 | else if(event is FirstMusicEvent){ 64 | PlayerSetData(); 65 | yield FirstMusic(mymusic); 66 | 67 | 68 | } 69 | } 70 | 71 | 72 | PlayerSetData() async{ 73 | if(isplay_subject==true){ 74 | player.pause(); 75 | 76 | } 77 | player.stop(); 78 | var time=await player.setUrl(mymusic.url); 79 | duration_subject.add(time.inMinutes.toString() + ":" + 80 | (time.inSeconds.toInt()%60).toString()); 81 | print("min ${time.inMinutes}"); 82 | print("sec ${time.inSeconds}"); 83 | maxSlider = time.inMilliseconds.toDouble(); 84 | } 85 | 86 | play() async { 87 | isinit=true; 88 | if (isplay_subject.value == true) { 89 | // success 90 | player.pause(); 91 | isplay_subject.add(false); 92 | print("isplay false paused"); 93 | 94 | } 95 | else { 96 | player.play(); 97 | isplay_subject.add(true); 98 | print("isplay true resume"); 99 | 100 | } 101 | } 102 | 103 | 104 | 105 | } -------------------------------------------------------------------------------- /lib/bloc/music_event.dart: -------------------------------------------------------------------------------- 1 | abstract class Music_Event{} 2 | 3 | class SendMusic extends Music_Event{} 4 | class InitMusicEvent extends Music_Event{} 5 | class FirstMusicEvent extends Music_Event{} 6 | 7 | -------------------------------------------------------------------------------- /lib/bloc/music_state.dart: -------------------------------------------------------------------------------- 1 | import 'package:equatable/equatable.dart'; 2 | import 'package:web_music/model/music_model.dart'; 3 | 4 | abstract class MusicState extends Equatable{ 5 | const MusicState(); 6 | 7 | @override 8 | List get props => []; 9 | } 10 | 11 | class InitMusic extends MusicState{ 12 | Music music; 13 | InitMusic(this.music); 14 | 15 | @override 16 | // TODO: implement props 17 | List get props => [music]; 18 | } 19 | class FirstMusic extends MusicState{ 20 | 21 | Music music; 22 | 23 | FirstMusic(this.music); 24 | 25 | @override 26 | // TODO: implement props 27 | List get props => [music]; 28 | } 29 | 30 | class LoadMusic extends MusicState{ 31 | //Music music; 32 | 33 | //LoadMusic(this.music); 34 | 35 | @override 36 | // TODO: implement props 37 | List get props => []; 38 | } -------------------------------------------------------------------------------- /lib/bloc/now_bloc.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/cupertino.dart'; 2 | import 'package:rxdart/rxdart.dart'; 3 | import 'package:web_music/model/music_model.dart'; 4 | 5 | class NowBloc{ 6 | 7 | final BehaviorSubject _subject = BehaviorSubject(); 8 | Music _mymusicrepo=Music("TQ Y YA","Danna Paola","http://dlera6.xyz/uploads/posts/2020-06/thumbs/1593153064_600x600bb.jpg","http://dl2.bikalammusic.com/new-links/99/01/ROMAK%20-%20Your%20Hair%20Fragrance%20(2020)%20128.mp3"); 9 | 10 | getTodos() async{ 11 | _subject.sink.add(_mymusicrepo); 12 | } 13 | void drainStream(){_subject.value = null; } 14 | 15 | @mustCallSuper 16 | void dispose() async{ 17 | await _subject.drain(); 18 | _subject.close(); 19 | } 20 | 21 | BehaviorSubject get subject => _subject; 22 | 23 | 24 | } 25 | final todosbloc = NowBloc(); -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:rxdart/rxdart.dart'; 3 | import 'package:web_music/screen/homepage.dart'; 4 | 5 | void main() { 6 | runApp(MyApp()); 7 | } 8 | class MyApp extends StatefulWidget { 9 | @override 10 | _MyAppState createState() => _MyAppState(); 11 | } 12 | 13 | class _MyAppState extends State { 14 | @override 15 | Widget build(BuildContext context) { 16 | return MaterialApp( 17 | title: 'Music Land', 18 | debugShowCheckedModeBanner: false, 19 | home: Scaffold(body: HomePage()), 20 | ); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /lib/model/music_model.dart: -------------------------------------------------------------------------------- 1 | class Music{ 2 | 3 | var name,artist,img,url; 4 | 5 | Music(this.name, this.artist, this.img, this.url); 6 | 7 | } -------------------------------------------------------------------------------- /lib/screen/homepage.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:rxdart/rxdart.dart'; 3 | import 'package:web_music/util/MyColor.dart'; 4 | import 'package:web_music/util/size.dart'; 5 | import 'package:web_music/widget/main_section.dart'; 6 | import 'package:web_music/widget/sidebar.dart'; 7 | 8 | class HomePage extends StatelessWidget { 9 | 10 | static BehaviorSubject sizeSubject = BehaviorSubject(); 11 | @override 12 | Widget build(BuildContext context) { 13 | 14 | ScreenSize.width = MediaQuery.of(context).size.width; 15 | ScreenSize.height = MediaQuery.of(context).size.height; 16 | 17 | 18 | if(sizeSubject.value != ScreenSize.width.toInt()){ 19 | sizeSubject.sink.add(ScreenSize.width.toInt()); 20 | } 21 | 22 | print("width: ${ScreenSize.width}"); 23 | print("percentwidth: ${ScreenSize.getWidthPercent()}"); 24 | return Container( 25 | child: Row( 26 | children: [ 27 | 28 | Container( 29 | 30 | height: ScreenSize.height, 31 | width: ScreenSize.width*0.2, 32 | child: SideBar(), 33 | decoration: BoxDecoration( 34 | color: Colors.white, 35 | border: Border( 36 | right: BorderSide( 37 | width: 1.0, 38 | color: MyColor.grey_color 39 | ) 40 | ) 41 | ), 42 | ), 43 | Container( 44 | color: MyColor.right_color, 45 | height: ScreenSize.height, 46 | width: ScreenSize.width*0.8, 47 | child: MainSection(ScreenSize.width*0.8), 48 | ), 49 | ], 50 | ), 51 | ); 52 | 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /lib/util/MyColor.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class MyColor 4 | { 5 | static const id_color = Color(0xff2c385e); 6 | static const grey_color = Color(0xffadb5ce); 7 | static const grey_border = Color(0xffdddfe6); 8 | static const right_color = Color(0xffeeeff6); 9 | static const blue_color = Color(0xff4c6be0); 10 | static const red_color = Color(0xffff364a); 11 | static const play_gray = Color(0xfff8f8f8); 12 | } -------------------------------------------------------------------------------- /lib/util/list_repository.dart: -------------------------------------------------------------------------------- 1 | import 'package:web_music/model/music_model.dart'; 2 | 3 | class MusicListRepo{ 4 | 5 | List _mylist; 6 | 7 | Music _mymusicrepo; 8 | 9 | Music getMusic(){ 10 | 11 | _mymusicrepo=Music("TQ Y YA","Danna Paola","http://dlera6.xyz/uploads/posts/2020-06/thumbs/1593153064_600x600bb.jpg","http://dl2.bikalammusic.com/new-links/99/01/ROMAK%20-%20Your%20Hair%20Fragrance%20(2020)%20128.mp3"); 12 | return _mymusicrepo; 13 | } 14 | 15 | List getmylist(){ 16 | _mylist = List(); 17 | _mylist.add(Music("Like This","G Herbo","http://dlera6.xyz/uploads/posts/2020-05/thumbs/1590824359_600x600bb.jpg","http://dl2.bikalammusic.com/new-links/99/02/Amin%20Amiri%20-%20A%20Good%20Day%20Will%20Come%20(2020)%20128.mp3")); 18 | 19 | _mylist.add(Music("TQ Y YA","Danna Paola","http://dlera6.xyz/uploads/posts/2020-06/thumbs/1593153064_600x600bb.jpg","http://dl2.bikalammusic.com/new-links/99/01/ROMAK%20-%20Your%20Hair%20Fragrance%20(2020)%20128.mp3")); 20 | _mylist.add(Music("Smile","Katy","http://dlera6.xyz/uploads/posts/2020-07/thumbs/1594305002_600x600bb.jpg","http://dl2.bikalammusic.com/new-links/99/01/Gary%20Schmidt%20-%202020%20-%2010.%20Nocturne%20in%20C%20m%20-%20bikalammusic.com.mp3")); 21 | _mylist.add(Music("Summer Feelings","Lennon Stella","http://dlera6.xyz/uploads/posts/2020-07/thumbs/1593756594_600x600bb.jpg","http://dl2.bikalammusic.com/new-links/99/03/Sina%20Zagros%20-%203.%20Dead%20Trees%20(2020)%20320.mp3")); 22 | _mylist.add(Music("In The Mirror","Demi Lovato","http://dlera6.xyz/uploads/posts/2020-06/thumbs/1593103121_600x600bb.jpg","http://dl2.bikalammusic.com/new-links/98/06/Ahmed%20Romel%20-%202019%20-%202.%20Dystopia%20(Original%20Mix)%20-%20bikalammusic.com.mp3")); 23 | _mylist.add(Music("Dance Dance Dance","Astrid S","http://dlera6.xyz/uploads/posts/2020-06/thumbs/1591338002_600x600bb.jpg","http://dl2.bikalammusic.com/new-links/98/06/01.Navab%20Jalil%20-%20Rebirth%20128.mp3")); 24 | 25 | _mylist.add(Music("The Adventures of..","Kid Cudi & Eminem","http://dlera6.xyz/uploads/posts/2020-07/thumbs/1594447667_600x600bb.jpg","http://dl2.bikalammusic.com/new-links/98/06/Davide%20Swarup%20-%202007%20-%2010.%20Mooie%20Dani%20-%20bikalammusic.com.mp3")); 26 | _mylist.add(Music("For The Night","Grey ","http://dlera6.xyz/uploads/posts/2020-05/thumbs/1590823715_600x600bb.jpg","http://dl2.bikalammusic.com/new-links/98/06/Patricia%20Spero%20-%202019%20-%2005.%20To%20a%20Wild%20Rose%20-%20bikalammusic.com.mp3")); 27 | _mylist.add(Music("Fuego Del Calor","Scott Storch","http://dlera6.xyz/uploads/posts/2020-05/thumbs/1590685765_600x600bb.jpg","http://dl2.bikalammusic.com/new-links/98/05/Omar%20Akram%20-%202019%20-%202.%20Destiny%20-%20bikalammusic.com.mp3")); 28 | 29 | return _mylist; 30 | } 31 | 32 | set mylist(List value) { 33 | _mylist = value; 34 | } 35 | } -------------------------------------------------------------------------------- /lib/util/size.dart: -------------------------------------------------------------------------------- 1 | class ScreenSize{ 2 | static var width = 0.0; 3 | static var height = 0.0; 4 | static var mainpage_resize = 600; 5 | 6 | static getWidthPercent(){ 7 | return width/100; 8 | } 9 | static getHeightPercent(){ 10 | return height/100; 11 | } 12 | } -------------------------------------------------------------------------------- /lib/util/style.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import 'MyColor.dart'; 4 | 5 | class Text_Style{ 6 | 7 | static const id_style = TextStyle(fontSize: 15.0,fontWeight: FontWeight.w600,color: MyColor.id_color); 8 | static const id_style_small = TextStyle(fontSize: 13.0,fontWeight: FontWeight.w400,color: MyColor.id_color); 9 | static const email_style = TextStyle(fontSize: 13.0,fontWeight: FontWeight.w200,color: MyColor.grey_color); 10 | static const email_style_small = TextStyle(fontSize: 10.0,fontWeight: FontWeight.w200,color: MyColor.grey_color); 11 | 12 | // menu item not active 13 | static const id_menuitem = TextStyle(fontSize: 13.0,fontWeight: FontWeight.w500,color: MyColor.id_color); 14 | // menu item active 15 | static const id_menuitem_active = TextStyle(fontSize: 12.0,fontWeight: FontWeight.w600,color: MyColor.blue_color); 16 | static const menu_my_music_style = TextStyle(fontSize: 13.0,fontWeight: FontWeight.w400,color: MyColor.grey_color); 17 | 18 | //search 19 | static const search_hint_style = TextStyle(fontSize: 13.0,fontWeight: FontWeight.w400,color: MyColor.grey_color); 20 | static const search_hint_style_small = TextStyle(fontSize: 12.0,fontWeight: FontWeight.w400,color: MyColor.grey_color); 21 | static const search_text_style = TextStyle(fontSize: 13.0,fontWeight: FontWeight.w400,color: MyColor.id_color); 22 | static const search_text_style_small = TextStyle(fontSize: 12.0,fontWeight: FontWeight.w400,color: MyColor.id_color); 23 | 24 | //upgrade 25 | static const upgrade_text_style = TextStyle(fontSize: 13.0,fontWeight: FontWeight.w400,color: Colors.white); 26 | static const upgrade_text_style_small = TextStyle(fontSize: 11.0,fontWeight: FontWeight.w300,color: Colors.white); 27 | 28 | //chart 29 | static const billboard_style = TextStyle(fontSize: 16.0,fontWeight: FontWeight.w600,color: MyColor.id_color); 30 | static const billboard_style_small = TextStyle(fontSize: 14.0,fontWeight: FontWeight.w600,color: MyColor.id_color); 31 | static const songname_style = TextStyle(fontSize: 14.0,fontWeight: FontWeight.w600,color: MyColor.id_color); 32 | static const songname_style_small = TextStyle(fontSize: 12.0,fontWeight: FontWeight.w600,color: MyColor.id_color); 33 | static const asrtist_style = TextStyle(fontSize: 14.0,fontWeight: FontWeight.w500,color: MyColor.grey_color); 34 | static const asrtist_style_small = TextStyle(fontSize: 12.0,fontWeight: FontWeight.w500,color: MyColor.grey_color); 35 | } -------------------------------------------------------------------------------- /lib/widget/billboard_item.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/cupertino.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:web_music/model/music_model.dart'; 4 | import 'package:web_music/util/size.dart'; 5 | import 'package:web_music/util/style.dart'; 6 | class BillBoardItem extends StatelessWidget { 7 | Music music; 8 | 9 | BillBoardItem(this.music); 10 | 11 | 12 | Widget BillItemResponsive(){ 13 | if(ScreenSize.width.toInt() _MenuItemFirstState(); 11 | } 12 | 13 | class _MenuItemFirstState extends State { 14 | 15 | List item_state = List(); 16 | List item_title = List(); 17 | var pre_item_selected; 18 | 19 | @override 20 | void initState() { 21 | // TODO: implement initState 22 | item_state.add(false); 23 | item_state.add(false); 24 | item_state.add(false); 25 | item_state.add(false); 26 | item_state.add(false); 27 | item_state.add(false); 28 | item_state.add(false); 29 | 30 | //titles// 31 | item_title.add("Home"); 32 | item_title.add("Browse"); 33 | item_title.add("Album"); 34 | item_title.add("Artist"); 35 | item_title.add("Videos"); 36 | item_title.add("Recently played"); 37 | item_title.add("Local Files"); 38 | } 39 | void onTapMenu(int index){ 40 | if(index != pre_item_selected){ 41 | print("Clicked...... $pre_item_selected"); 42 | 43 | setState(() { 44 | item_state[index] = true; 45 | if(pre_item_selected !=null) item_state[pre_item_selected]=false; 46 | }); 47 | pre_item_selected = index; 48 | } 49 | 50 | } 51 | 52 | Widget AppStore(){ 53 | if(ScreenSize.width.toInt()<959){ 54 | return Container( 55 | padding: EdgeInsets.all(25.0), 56 | margin: EdgeInsets.only(top: 30.0), 57 | child: Image.network('web/img/button.PNG',fit: BoxFit.fill,) 58 | ); 59 | }else{ 60 | return Container( 61 | padding: EdgeInsets.all(45.0), 62 | margin: EdgeInsets.only(top: 30.0), 63 | child: Image.network('web/img/button.PNG',fit: BoxFit.fill,) 64 | ); 65 | } 66 | } 67 | @override 68 | Widget build(BuildContext context) { 69 | return Container( 70 | child: Column( 71 | crossAxisAlignment: CrossAxisAlignment.center, 72 | mainAxisAlignment: MainAxisAlignment.center, 73 | children: [ 74 | Center( 75 | child: Container( 76 | margin: EdgeInsets.only(top: 10.0), 77 | child: InkWell( 78 | child: MenuItem( 79 | 80 | item_title[0], 81 | Icons.home, 82 | item_state[0]==false?Text_Style.id_menuitem:Text_Style.id_menuitem_active, 83 | item_state[0]==false?MyColor.id_color:MyColor.blue_color 84 | ), 85 | onTap: (){ 86 | onTapMenu(0); 87 | }, 88 | ), 89 | ), 90 | ), 91 | Container( 92 | margin: EdgeInsets.only(top: 10.0), 93 | child: InkWell( 94 | child: MenuItem( 95 | 96 | item_title[1], 97 | Icons.apps, 98 | item_state[1]==false?Text_Style.id_menuitem:Text_Style.id_menuitem_active, 99 | item_state[1]==false?MyColor.id_color:MyColor.blue_color 100 | ), 101 | onTap: (){ 102 | onTapMenu(1); 103 | }, 104 | ), 105 | ), 106 | Container( 107 | margin: EdgeInsets.only(top: 10.0), 108 | child: InkWell( 109 | child: MenuItem( 110 | 111 | item_title[2], 112 | Icons.album, 113 | item_state[2]==false?Text_Style.id_menuitem:Text_Style.id_menuitem_active, 114 | item_state[2]==false?MyColor.id_color:MyColor.blue_color, 115 | ), 116 | onTap: (){ 117 | onTapMenu(2); 118 | }, 119 | ), 120 | ), 121 | Container( 122 | margin: EdgeInsets.only(top: 10.0), 123 | child: InkWell( 124 | child: MenuItem( 125 | 126 | item_title[3], 127 | Icons.supervisor_account, 128 | item_state[3]==false?Text_Style.id_menuitem:Text_Style.id_menuitem_active, 129 | item_state[3]==false?MyColor.id_color:MyColor.blue_color, 130 | ), 131 | onTap: (){ 132 | onTapMenu(3); 133 | }, 134 | ), 135 | ), 136 | Container( 137 | margin: EdgeInsets.only(top: 10.0), 138 | child: InkWell( 139 | child: MenuItem( 140 | 141 | item_title[4], 142 | Icons.video_library, 143 | item_state[4]==false?Text_Style.id_menuitem:Text_Style.id_menuitem_active, 144 | item_state[4]==false?MyColor.id_color:MyColor.blue_color, 145 | ), 146 | onTap: (){ 147 | onTapMenu(4); 148 | }, 149 | ), 150 | ), 151 | // my music 152 | // Container( 153 | // width: 100.0, 154 | // margin: EdgeInsets.only(top: 20.0,left: 25.0), 155 | // child: Text( 156 | // "My Music", 157 | // style: Text_Style.menu_my_music_style, 158 | // textAlign: TextAlign.left, 159 | // ) 160 | // ), 161 | Container( 162 | margin: EdgeInsets.only(top: 16.0), 163 | child: InkWell( 164 | child: MenuItem( 165 | 166 | item_title[5], 167 | Icons.play_circle_outline, 168 | item_state[5]==false?Text_Style.id_menuitem:Text_Style.id_menuitem_active, 169 | item_state[5]==false?MyColor.id_color:MyColor.blue_color, 170 | ), 171 | onTap: (){ 172 | onTapMenu(5); 173 | }, 174 | ), 175 | ), 176 | Container( 177 | margin: EdgeInsets.only(top: 10.0), 178 | child: InkWell( 179 | child: MenuItem( 180 | 181 | item_title[6], 182 | Icons.insert_drive_file, 183 | item_state[6]==false?Text_Style.id_menuitem:Text_Style.id_menuitem_active, 184 | item_state[6]==false?MyColor.id_color:MyColor.blue_color, 185 | ), 186 | onTap: (){ 187 | onTapMenu(6); 188 | }, 189 | ), 190 | ), 191 | AppStore(), 192 | ], 193 | ), 194 | ); 195 | } 196 | } 197 | -------------------------------------------------------------------------------- /lib/widget/most_popular.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:web_music/model/music_model.dart'; 3 | import 'package:web_music/util/list_repository.dart'; 4 | import 'package:web_music/util/style.dart'; 5 | import 'package:web_music/widget/popular_item.dart'; 6 | 7 | import 'now_playing.dart'; 8 | 9 | class MostPopular extends StatefulWidget { 10 | @override 11 | _MostPopularState createState() => _MostPopularState(); 12 | } 13 | 14 | class _MostPopularState extends State { 15 | 16 | List musiclist = List(); 17 | MusicListRepo rep = MusicListRepo(); 18 | 19 | @override 20 | void initState() { 21 | musiclist = rep.getmylist(); 22 | } 23 | 24 | @override 25 | Widget build(BuildContext context) { 26 | 27 | return Container( 28 | margin: EdgeInsets.only(top: 3.0), 29 | child: Column( 30 | crossAxisAlignment: CrossAxisAlignment.start, 31 | children: [ 32 | //Text("Most Popular",style: Text_Style.billboard_style,), 33 | SizedBox(height: 1.0,) 34 | ,Container( 35 | padding: const EdgeInsets.only(right:5.0), 36 | child: ListView.builder( 37 | shrinkWrap: true, 38 | 39 | itemCount: 4, 40 | itemBuilder: (context,index){ 41 | return InkWell( 42 | //child: PopularItem(musiclist[index]) 43 | child:Container(child:Text('sdsdsd')) 44 | ,onTap: (){ 45 | // /NowPlayState.ChangeMusic(musiclist[index]); 46 | print("hey: ${musiclist[index].img}"); 47 | }, 48 | ); 49 | }, 50 | ) 51 | ), 52 | SizedBox(height: 10.0,) 53 | ], 54 | ), 55 | ); 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /lib/widget/music_widge_bloc.dart: -------------------------------------------------------------------------------- 1 | //import 'package:flutter/material.dart'; 2 | //import 'package:web_music/model/music_model.dart'; 3 | // 4 | //class MusicWidge{ 5 | // 6 | // Widget getMusicWidgetBloc(Music music){ 7 | // 8 | // return 9 | // Column( 10 | // children: [ 11 | // Container( 12 | // margin: EdgeInsets.only(top: 10.0), 13 | // padding: EdgeInsets.symmetric(vertical: 22.0, horizontal: 35.0), 14 | // decoration: BoxDecoration( 15 | // color: Colors.white, 16 | // borderRadius: BorderRadius.all( 17 | // Radius.circular( 18 | // 15.0) // <--- border radius here 19 | // ), 20 | // ), 21 | // child: Column( 22 | // children: [ 23 | // Container( 24 | // 25 | // height: 70.0, 26 | // width: 70.0, 27 | // decoration: BoxDecoration( 28 | // //color: Colors.white, 29 | // shape: BoxShape.circle, 30 | // border: Border.all(color: const Color(0x33A6A6A6)), 31 | // image: DecorationImage( 32 | // image: NetworkImage('web/img/ssd.png'), 33 | // fit: BoxFit.fill), 34 | // 35 | // boxShadow: [ 36 | // BoxShadow( 37 | // color: Colors.grey.withOpacity(0.5), 38 | // spreadRadius: 2, 39 | // blurRadius: 4, 40 | // offset: Offset(0, 2), // changes position of shadow 41 | // ), 42 | // ] 43 | // ), 44 | // 45 | // 46 | // ), 47 | // SizedBox(height: 10.0,), 48 | // Text(music.name, style: Text_Style.songname_style,), 49 | // SizedBox(height: 6.0,), 50 | // Text(music.artist, style: Text_Style.asrtist_style,), 51 | // SizedBox(height: 6.0,), 52 | // Container( 53 | // width: 250.0, 54 | // height: 4.0, 55 | // margin: EdgeInsets.only(top: 6.0), 56 | // child: SliderTheme( 57 | // data: SliderTheme.of(context).copyWith( 58 | // activeTrackColor: Colors.blue, 59 | // thumbShape: RoundSliderThumbShape( 60 | // enabledThumbRadius: 5.0), 61 | // overlayShape: RoundSliderOverlayShape( 62 | // overlayRadius: 7.0), 63 | // ), 64 | // 65 | // child: StreamBuilder( 66 | // stream: player.durationStream, 67 | // builder: (context, snapshot){ 68 | // final duration = snapshot.data ?? Duration.zero; 69 | // return StreamBuilder( 70 | // stream: player.getPositionStream(), 71 | // builder: (context, snapshot){ 72 | // var position = snapshot.data ?? Duration.zero; 73 | // if (position > duration) { 74 | // position = duration; 75 | // } 76 | // if(isinit){ 77 | // return 78 | // Slider( 79 | // max: maxSlider 80 | // ,value: position.inMilliseconds.toDouble(), 81 | // onChanged: (values) { 82 | // setState(() { 83 | // print(values); 84 | // player.seek(Duration(milliseconds: values.toInt())); 85 | // }); 86 | // } 87 | // ); 88 | // }else{ 89 | // return Slider(value: value, onChanged: (values) { 90 | // setState(() { 91 | // value = values; 92 | // }); 93 | // } 94 | // ); 95 | // } 96 | // } 97 | // ); 98 | // } 99 | // ) 100 | // ), 101 | // ), 102 | // Container( 103 | // width: 250.0, 104 | // margin: EdgeInsets.only(top: 8.0), 105 | // child: Row( 106 | // mainAxisAlignment: MainAxisAlignment.spaceBetween, 107 | // children: [ 108 | // Row( 109 | // children: [ 110 | // StreamBuilder( 111 | // stream: player.durationStream, 112 | // builder: (context, snapshot){ 113 | // final duration = snapshot.data ?? Duration.zero; 114 | // return StreamBuilder( 115 | // stream: player.getPositionStream(), 116 | // builder: (context, snapshot){ 117 | // var position = snapshot.data ?? Duration.zero; 118 | // if (position > duration) { 119 | // // position = duration; 120 | // } 121 | // if(isinit){ 122 | // return Text(checkForNewSharedLists(position), style: Text_Style.search_hint_style,); 123 | // }else{ 124 | // return Text("00:00", style: Text_Style.search_hint_style,); 125 | // } 126 | // } 127 | // ); 128 | // } 129 | // ) 130 | // //(child: Text("$currentduration", style: Text_Style.search_hint_style,)) 131 | // ], 132 | // ), 133 | // Row( 134 | // children: [ 135 | // Text("${duration.toString()}", 136 | // style: Text_Style.search_hint_style,) 137 | // ], 138 | // ), 139 | // ], 140 | // ), 141 | // ) 142 | // ], 143 | // ) 144 | // ), 145 | // SizedBox(height: 17.0,), 146 | // Row( 147 | // 148 | // mainAxisAlignment: MainAxisAlignment.center, 149 | // children: [ 150 | // Icon(Icons.skip_previous, size: 24.0, color: MyColor.grey_color), 151 | // SizedBox(width: 18.0,), 152 | // InkWell( 153 | // onTap: () { 154 | // // initPlayer(url); 155 | // // player.play(); 156 | // if (isinit) { 157 | // play(); 158 | // } else { 159 | // initPlayer(music.url); 160 | // } 161 | // }, 162 | // child: Container( 163 | // padding: EdgeInsets.all(6.0), 164 | // child: Icon(isplay == true ? Icons.pause : Icons.play_arrow, 165 | // color: MyColor.blue_color,), 166 | // decoration: BoxDecoration( 167 | // color: Colors.white, 168 | // shape: BoxShape.circle, 169 | // border: Border.all(color: const Color(0x33A6A6A6)), 170 | // 171 | // boxShadow: [ 172 | // BoxShadow( 173 | // color: Colors.grey.withOpacity(0.3), 174 | // spreadRadius: 2, 175 | // blurRadius: 2, 176 | // offset: Offset(0, 1), // changes position of shadow 177 | // ), 178 | // ] 179 | // ), 180 | // ), 181 | // ), 182 | // SizedBox(width: 18.0,), 183 | // Icon(Icons.skip_next, size: 24.0, color: MyColor.grey_color), 184 | // 185 | // ], 186 | // ), 187 | // SizedBox(height: 10.0,) 188 | // ], 189 | // 190 | // ); 191 | // } 192 | //} -------------------------------------------------------------------------------- /lib/widget/now_playing.dart: -------------------------------------------------------------------------------- 1 | import 'dart:async'; 2 | 3 | //import 'package:audioplayers/audioplayers.dart'; 4 | import 'package:flutter/cupertino.dart'; 5 | import 'package:flutter/foundation.dart'; 6 | import 'package:flutter/material.dart'; 7 | import 'package:flutter_bloc/flutter_bloc.dart'; 8 | import 'package:rxdart/rxdart.dart'; 9 | import 'package:web_music/bloc/music_bloc.dart'; 10 | import 'package:web_music/bloc/music_state.dart'; 11 | import 'package:web_music/model/music_model.dart'; 12 | import 'package:web_music/util/MyColor.dart'; 13 | import 'package:web_music/util/style.dart'; 14 | import 'dart:js' as js; 15 | 16 | class NowPlaying extends StatefulWidget { 17 | @override 18 | NowPlayState createState() => NowPlayState(); 19 | } 20 | 21 | class NowPlayState extends State { 22 | static Music mymusic = Music( 23 | "Summer feelings", 24 | "Lennon Stella", 25 | "http://dlera6.xyz/uploads/posts/2020-05/thumbs/1590824359_600x600bb.jpg", 26 | "http://dl2.bikalammusic.com/new-links/99/02/Oliva%20-%202020%20-%2001.%20The%20First%20to%20Arrive%20-%20bikalammusic.com.mp3"); 27 | 28 | static var _bloc = MusicBloc(); 29 | 30 | @override 31 | Widget build(BuildContext context) { 32 | return BlocBuilder( 33 | bloc: _bloc, 34 | builder: (context, state) { 35 | if (state is InitMusic) { 36 | print("ssssssssssssssssssssssssssssssssssssss"); 37 | // return getMusicWidgetBloc(mymusic); 38 | return getMusicWidgetBloc(state.music); 39 | } else if (state is FirstMusic) { 40 | return getMusicWidgetBloc(state.music); 41 | } else { 42 | return Container(); 43 | } 44 | }); 45 | } 46 | 47 | static ChangeMusic(Music music) { 48 | _bloc.onFirsttMusicEvent(music); 49 | } 50 | 51 | Widget getMusicWidgetBloc(Music music) { 52 | return Container( 53 | padding: EdgeInsets.all(7.0), 54 | width: MediaQuery.of(context).size.width, 55 | margin: EdgeInsets.only(top: 5.0, right: 10.0), 56 | decoration: BoxDecoration( 57 | color: MyColor.play_gray, 58 | borderRadius: BorderRadius.all( 59 | Radius.circular(5.0) // <--- border radius here 60 | ), 61 | ), 62 | child: Column( 63 | children: [ 64 | Container( 65 | margin: EdgeInsets.only(top: 10.0), 66 | padding: EdgeInsets.symmetric(vertical: 22.0, horizontal: 35.0), 67 | decoration: BoxDecoration( 68 | color: Colors.white, 69 | borderRadius: BorderRadius.all(Radius.circular( 70 | 15.0) // <--- border radius here 71 | ), 72 | ), 73 | child: Column( 74 | children: [ 75 | Container( 76 | height: 70.0, 77 | width: 70.0, 78 | decoration: BoxDecoration( 79 | //color: Colors.white, 80 | shape: BoxShape.circle, 81 | border: Border.all(color: const Color(0x33A6A6A6)), 82 | image: DecorationImage( 83 | image: NetworkImage(_bloc.mymusic.img), 84 | fit: BoxFit.fill), 85 | boxShadow: [ 86 | BoxShadow( 87 | color: Colors.grey.withOpacity(0.5), 88 | spreadRadius: 2, 89 | blurRadius: 4, 90 | offset: Offset(0, 2), // changes position of shadow 91 | ), 92 | ]), 93 | ), 94 | SizedBox( 95 | height: 10.0, 96 | ), 97 | Text( 98 | music.name, 99 | style: Text_Style.songname_style, 100 | ), 101 | SizedBox( 102 | height: 6.0, 103 | ), 104 | Text( 105 | music.artist, 106 | style: Text_Style.asrtist_style, 107 | ), 108 | SizedBox( 109 | height: 6.0, 110 | ), 111 | Container( 112 | width: 250.0, 113 | height: 4.0, 114 | margin: EdgeInsets.only(top: 6.0), 115 | child: SliderTheme( 116 | data: SliderTheme.of(context).copyWith( 117 | activeTrackColor: Colors.blue, 118 | thumbShape: 119 | RoundSliderThumbShape(enabledThumbRadius: 5.0), 120 | overlayShape: 121 | RoundSliderOverlayShape(overlayRadius: 7.0), 122 | ), 123 | child: StreamBuilder( 124 | stream: _bloc.player.durationStream, 125 | builder: (context, snapshot) { 126 | final duration = snapshot.data ?? Duration.zero; 127 | return StreamBuilder( 128 | stream: _bloc.player.getPositionStream(), 129 | builder: (context, snapshot) { 130 | var position = 131 | snapshot.data ?? Duration.zero; 132 | if (position > duration) { 133 | position = duration; 134 | } 135 | if (_bloc.isinit) { 136 | return Slider( 137 | max: _bloc.maxSlider, 138 | value: position.inMilliseconds 139 | .toDouble(), 140 | onChanged: (values) { 141 | setState(() { 142 | print(values); 143 | _bloc.player.seek(Duration( 144 | milliseconds: 145 | values.toInt())); 146 | }); 147 | }); 148 | } else { 149 | return Slider( 150 | value: _bloc.value, 151 | onChanged: (values) { 152 | setState(() { 153 | _bloc.value = values; 154 | }); 155 | }); 156 | } 157 | }); 158 | })), 159 | ), 160 | Container( 161 | width: 250.0, 162 | margin: EdgeInsets.only(top: 8.0), 163 | child: Row( 164 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 165 | children: [ 166 | Row( 167 | children: [ 168 | StreamBuilder( 169 | stream: _bloc.player.durationStream, 170 | builder: (context, snapshot) { 171 | final duration = 172 | snapshot.data ?? Duration.zero; 173 | return StreamBuilder( 174 | stream: _bloc.player.getPositionStream(), 175 | builder: (context, snapshot) { 176 | var position = 177 | snapshot.data ?? Duration.zero; 178 | if (position > duration) { 179 | // position = duration; 180 | } 181 | if (_bloc.isinit) { 182 | return Text( 183 | checkForNewSharedLists(position), 184 | style: Text_Style.search_hint_style, 185 | ); 186 | // return Text("00:00", style: Text_Style.search_hint_style,); 187 | } else { 188 | return Text( 189 | "00:00", 190 | style: Text_Style.search_hint_style, 191 | ); 192 | } 193 | }); 194 | }) 195 | //(child: Text("$currentduration", style: Text_Style.search_hint_style,)) 196 | ], 197 | ), 198 | Row( 199 | children: [ 200 | // Text("${duration.toString()}", 201 | StreamBuilder( 202 | stream: _bloc.duration_subject, 203 | builder: (context, snapshot) { 204 | if (snapshot.hasData) { 205 | return Text( 206 | snapshot.data, 207 | style: Text_Style.search_hint_style, 208 | ); 209 | } else 210 | return Container(); 211 | }) 212 | ], 213 | ), 214 | ], 215 | ), 216 | ) 217 | ], 218 | )), 219 | SizedBox( 220 | height: 17.0, 221 | ), 222 | Row( 223 | mainAxisAlignment: MainAxisAlignment.center, 224 | children: [ 225 | Icon(Icons.skip_previous, size: 24.0, color: MyColor.grey_color), 226 | SizedBox( 227 | width: 18.0, 228 | ), 229 | InkWell( 230 | onTap: () { 231 | if (_bloc.isinit) { 232 | _bloc.play(); 233 | } else { 234 | _bloc.play(); 235 | } 236 | }, 237 | child: Container( 238 | padding: EdgeInsets.all(6.0), 239 | child: StreamBuilder( 240 | stream: _bloc.isplay_subject, 241 | builder: (context, snapshot) { 242 | return Icon( 243 | _bloc.isplay_subject.value == true 244 | ? Icons.pause 245 | : Icons.play_arrow, 246 | color: MyColor.blue_color, 247 | ); 248 | }), 249 | decoration: BoxDecoration( 250 | color: Colors.white, 251 | shape: BoxShape.circle, 252 | border: Border.all(color: const Color(0x33A6A6A6)), 253 | boxShadow: [ 254 | BoxShadow( 255 | color: Colors.grey.withOpacity(0.3), 256 | spreadRadius: 2, 257 | blurRadius: 2, 258 | offset: Offset(0, 1), // changes position of shadow 259 | ), 260 | ]), 261 | ), 262 | ), 263 | SizedBox( 264 | width: 18.0, 265 | ), 266 | Icon(Icons.skip_next, size: 24.0, color: MyColor.grey_color), 267 | ], 268 | ), 269 | SizedBox( 270 | height: 10.0, 271 | ) 272 | ], 273 | ), 274 | ); 275 | } 276 | 277 | checkForNewSharedLists(Duration time) { 278 | if (time.inSeconds < 60) { 279 | return _bloc.currentduration_subject = 280 | time.inMinutes.toString() + ":" + time.inSeconds.toString(); 281 | } else { 282 | return _bloc.currentduration_subject = 283 | time.inMinutes.toString() + ":" + (time.inSeconds % 60).toString(); 284 | } 285 | } 286 | 287 | @override 288 | void initState() { 289 | //testplay(_bloc.mymusic); 290 | _bloc.onInitMusicEvent(); 291 | } 292 | } 293 | -------------------------------------------------------------------------------- /lib/widget/playin_section.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:web_music/util/style.dart'; 3 | import 'package:web_music/widget/now_playing.dart'; 4 | 5 | import 'now_playing.dart'; 6 | 7 | class Playing extends StatefulWidget { 8 | @override 9 | _PlayingState createState() => _PlayingState(); 10 | } 11 | 12 | class _PlayingState extends State { 13 | @override 14 | Widget build(BuildContext context) { 15 | return Container( 16 | margin: EdgeInsets.only(top: 19.0), 17 | 18 | child: Column( 19 | crossAxisAlignment: CrossAxisAlignment.start, 20 | 21 | children: [ 22 | 23 | 24 | //NowPlaying() 25 | NowPlaying() 26 | ], 27 | ), 28 | ); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /lib/widget/popular_item.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/cupertino.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:web_music/model/music_model.dart'; 4 | import 'package:web_music/screen/homepage.dart'; 5 | import 'package:web_music/util/MyColor.dart'; 6 | import 'package:web_music/util/size.dart'; 7 | import 'package:web_music/util/style.dart'; 8 | 9 | class PopularItem extends StatefulWidget { 10 | Music music; 11 | 12 | PopularItem(this.music); 13 | 14 | @override 15 | _PopularItemState createState() => _PopularItemState(); 16 | } 17 | 18 | class _PopularItemState extends State { 19 | var isl = 0; 20 | bool liked; 21 | 22 | int temp = 0; 23 | var size_like = 20.0; 24 | var song_style = Text_Style.songname_style; 25 | var artist_style = Text_Style.asrtist_style; 26 | 27 | var artist_name_widget; 28 | @override 29 | Widget build(BuildContext context) { 30 | Widget PopularItemResponsive() { 31 | if (ScreenSize.width.toInt() < 850) { 32 | } else {} 33 | } 34 | 35 | HomePage.sizeSubject.listen((value) { 36 | // print("temp: $value"); 37 | if (temp != value) { 38 | print("temp: $temp"); 39 | temp = value; 40 | 41 | if (value < 835) { 42 | setState(() { 43 | song_style = Text_Style.songname_style_small; 44 | artist_style = Text_Style.asrtist_style_small; 45 | size_like = 18.0; 46 | }); 47 | } 48 | else { 49 | setState(() { 50 | size_like = 20.0; 51 | song_style = Text_Style.songname_style; 52 | artist_style = Text_Style.asrtist_style; 53 | }); 54 | } 55 | 56 | if(value < 790){ 57 | setState(() { 58 | artist_name_widget = SizedBox(width: 4.0,); 59 | }); 60 | }else{ 61 | artist_name_widget =Expanded( 62 | flex: 1, 63 | child: Container( 64 | child: Text( 65 | widget.music.artist, 66 | style: Text_Style.asrtist_style, 67 | textAlign: TextAlign.left, 68 | ), 69 | margin: EdgeInsets.only(right: 5.0)), 70 | ); 71 | } 72 | } 73 | }); 74 | 75 | return StreamBuilder( 76 | stream: HomePage.sizeSubject, 77 | builder: (context, snapshot) { 78 | return Container( 79 | height: 60.0, 80 | margin: EdgeInsets.only(top: 5.0), 81 | width: MediaQuery.of(context).size.width, 82 | decoration: BoxDecoration( 83 | color: Colors.white, 84 | borderRadius: BorderRadius.all(Radius.circular(6.0)), 85 | ), 86 | child: Row( 87 | mainAxisAlignment: MainAxisAlignment.spaceAround, 88 | crossAxisAlignment: CrossAxisAlignment.center, 89 | textDirection: TextDirection.ltr, 90 | children: [ 91 | Container( 92 | width: 40.0, 93 | height: 40.0, 94 | margin: EdgeInsets.only(left: 21.0), 95 | decoration: BoxDecoration( 96 | boxShadow: [ 97 | BoxShadow( 98 | color: Colors.grey.withOpacity(0.5), 99 | spreadRadius: 1, 100 | blurRadius: 1, 101 | offset: Offset(0, 1), // changes position of shadow 102 | ), 103 | ], 104 | image: DecorationImage( 105 | image: NetworkImage(widget.music.img), 106 | fit: BoxFit.fill), 107 | borderRadius: BorderRadius.all(Radius.circular(5.0)), 108 | )), 109 | Expanded( 110 | flex: 1, 111 | child: Container( 112 | child: Icon( 113 | Icons.play_arrow, 114 | size: 20.0, 115 | color: MyColor.grey_color, 116 | ), 117 | //margin: EdgeInsets.only(left: percent * 5.4), 118 | ), 119 | ), 120 | Expanded( 121 | flex: 2, 122 | child: Container( 123 | child: Text( 124 | widget.music.name, 125 | style: song_style, 126 | textAlign: TextAlign.left, 127 | ), 128 | // margin: EdgeInsets.only(left: percent * 8) 129 | ), 130 | ), 131 | // 132 | artist_name_widget, 133 | Container( 134 | child: InkWell( 135 | child: Icon( 136 | Icons.favorite, 137 | size: size_like, 138 | color: liked ? Colors.red : MyColor.grey_color, 139 | ), 140 | onTap: () { 141 | print("likeee $liked , $isl"); 142 | 143 | setState(() { 144 | if (liked == true) { 145 | liked = false; 146 | } else { 147 | liked = true; 148 | } 149 | // isl++; 150 | // liked=true; 151 | }); 152 | }, 153 | ), 154 | //margin: EdgeInsets.only(left: percent * 32.8) 155 | ), 156 | SizedBox( 157 | width: 15.0, 158 | ) 159 | ], 160 | ), 161 | ); 162 | }, 163 | ); 164 | } 165 | 166 | @override 167 | void initState() { 168 | liked = false; 169 | setState(() { 170 | artist_name_widget = Expanded( 171 | flex: 1, 172 | child: Container( 173 | child: Text( 174 | widget.music.artist, 175 | style: Text_Style.asrtist_style, 176 | textAlign: TextAlign.left, 177 | ), 178 | margin: EdgeInsets.only(right: 5.0)), 179 | ); 180 | }); 181 | } 182 | } 183 | -------------------------------------------------------------------------------- /lib/widget/search.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/cupertino.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:web_music/util/MyColor.dart'; 4 | import 'package:web_music/util/size.dart'; 5 | import 'package:web_music/util/style.dart'; 6 | 7 | class Search extends StatefulWidget { 8 | @override 9 | _SearchState createState() => _SearchState(); 10 | } 11 | 12 | class _SearchState extends State { 13 | 14 | Widget SearchWidget(){ 15 | if(ScreenSize.width.toInt()<657){ 16 | return Container( 17 | width: 180.0, 18 | height: 37.0, 19 | 20 | decoration: BoxDecoration( 21 | color: MyColor.right_color, 22 | border: Border.all( 23 | width: 1.0 24 | ,color: MyColor.grey_border 25 | ), 26 | borderRadius: BorderRadius.all( 27 | Radius.circular(38.0) // <--- border radius here 28 | ), 29 | ), 30 | 31 | child: TextFormField( 32 | 33 | decoration: InputDecoration( 34 | contentPadding: EdgeInsets.only(top:4), 35 | prefixIcon: Icon(Icons.search,size: 15.0,), 36 | border: InputBorder.none, 37 | focusedBorder: InputBorder.none, 38 | enabledBorder: InputBorder.none, 39 | errorBorder: InputBorder.none, 40 | disabledBorder: InputBorder.none, 41 | 42 | hintText: "Search for song...", 43 | hintStyle: Text_Style.search_hint_style_small 44 | ), 45 | style: Text_Style.search_text_style, 46 | ), 47 | ); 48 | }else{ 49 | return Container( 50 | width: 280.0, 51 | height: 40.0, 52 | 53 | decoration: BoxDecoration( 54 | color: MyColor.right_color, 55 | border: Border.all( 56 | width: 1.0 57 | ,color: MyColor.grey_border 58 | ), 59 | borderRadius: BorderRadius.all( 60 | Radius.circular(38.0) // <--- border radius here 61 | ), 62 | ), 63 | 64 | child: TextFormField( 65 | 66 | decoration: InputDecoration( 67 | contentPadding: EdgeInsets.only(top:10), 68 | prefixIcon: Icon(Icons.search,size: 17.0,), 69 | border: InputBorder.none, 70 | focusedBorder: InputBorder.none, 71 | enabledBorder: InputBorder.none, 72 | errorBorder: InputBorder.none, 73 | disabledBorder: InputBorder.none, 74 | 75 | hintText: "Search for song...", 76 | hintStyle: Text_Style.search_hint_style 77 | ), 78 | style: Text_Style.search_text_style, 79 | ), 80 | ); 81 | } 82 | } 83 | 84 | @override 85 | Widget build(BuildContext context) { 86 | return SearchWidget(); 87 | } 88 | } 89 | -------------------------------------------------------------------------------- /lib/widget/second_main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/cupertino.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:web_music/util/size.dart'; 4 | import 'package:web_music/util/style.dart'; 5 | import 'package:web_music/widget/most_popular.dart'; 6 | import 'package:web_music/widget/playin_section.dart'; 7 | 8 | class SecondMain extends StatelessWidget { 9 | var wid; 10 | 11 | SecondMain(this.wid); 12 | 13 | @override 14 | Widget build(BuildContext context) { 15 | 16 | Widget TitlesResponsive(){ 17 | if(ScreenSize.width.toInt() _SideBarState(); 10 | } 11 | 12 | class _SideBarState extends State { 13 | 14 | 15 | Widget ShowAvavtar(){ 16 | if(ScreenSize.width.toInt()<700){ 17 | 18 | return Avatar(50.0); 19 | }else{ 20 | 21 | 22 | return Avatar(80.0); 23 | } 24 | } 25 | 26 | Widget ResizeText(){ 27 | 28 | if(ScreenSize.width.toInt()<700){ 29 | 30 | return Column( 31 | 32 | children: [ 33 | SizedBox(height: 15.0,), 34 | ShowAvavtar(), 35 | /* 36 | ID or name 37 | */ 38 | Container(child: Text("Hesam",style: Text_Style.id_style_small,), 39 | margin: EdgeInsets.only(top: 15.0),), 40 | /* 41 | Email... 42 | */ 43 | Container(child: Text("email@gmail.com",style: Text_Style.email_style_small,), 44 | margin: EdgeInsets.only(top: 10.0),) 45 | , 46 | //menu 47 | SizedBox(height: 20.0,), 48 | MenuItemFirst() 49 | 50 | ], 51 | ); 52 | }else{ 53 | 54 | 55 | return Column( 56 | 57 | children: [ 58 | SizedBox(height: 15.0,), 59 | ShowAvavtar(), 60 | /* 61 | ID or name 62 | */ 63 | Container(child: Text("Hesam",style: Text_Style.id_style,), 64 | margin: EdgeInsets.only(top: 15.0),), 65 | /* 66 | Email... 67 | */ 68 | Container(child: Text("mail@gmail.com",style: Text_Style.email_style,), 69 | margin: EdgeInsets.only(top: 10.0),) 70 | , 71 | //menu 72 | SizedBox(height: 20.0,), 73 | MenuItemFirst() 74 | 75 | ], 76 | ); 77 | } 78 | } 79 | 80 | Widget Avatar(var size){ 81 | return Container( 82 | 83 | height: size, 84 | width: size, 85 | decoration: BoxDecoration( 86 | //color: Colors.white, 87 | shape: BoxShape.circle, 88 | border: Border.all(color: const Color(0x33A6A6A6)), 89 | image: DecorationImage(image: NetworkImage('web/img/ssd.png'),fit: BoxFit.fill), 90 | 91 | boxShadow: [ 92 | BoxShadow( 93 | color: Colors.grey.withOpacity(0.5), 94 | spreadRadius: 2, 95 | blurRadius: 4, 96 | offset: Offset(0, 2), // changes position of shadow 97 | ), 98 | ] 99 | ), 100 | 101 | 102 | ); 103 | } 104 | @override 105 | Widget build(BuildContext context) { 106 | return Container( 107 | child: ResizeText(), 108 | ); 109 | } 110 | } 111 | -------------------------------------------------------------------------------- /lib/widget/top_chart.dart: -------------------------------------------------------------------------------- 1 | import 'dart:html'; 2 | 3 | import 'package:flutter/material.dart'; 4 | import 'package:web_music/bloc/music_bloc.dart'; 5 | import 'package:web_music/model/music_model.dart'; 6 | import 'package:web_music/util/MyColor.dart'; 7 | import 'package:web_music/util/list_repository.dart'; 8 | import 'package:web_music/util/size.dart'; 9 | import 'package:web_music/util/style.dart'; 10 | import 'package:web_music/widget/billboard_item.dart'; 11 | import 'package:web_music/widget/now_playing.dart'; 12 | 13 | import 'now_playing.dart'; 14 | 15 | class TopChart extends StatefulWidget { 16 | @override 17 | _TopChartState createState() => _TopChartState(); 18 | } 19 | 20 | class _TopChartState extends State { 21 | List musiclist = List(); 22 | MusicListRepo rep = MusicListRepo(); 23 | var next_pos = 120.0; 24 | ScrollController _scrollController = new ScrollController(); 25 | 26 | var top = false; 27 | var bottom = true; 28 | @override 29 | void initState() { 30 | musiclist = rep.getmylist(); 31 | _scrollController.addListener(() { 32 | if (_scrollController.position.atEdge) { 33 | if (_scrollController.position.pixels == 0){ 34 | bottom=true; 35 | } 36 | 37 | else{ 38 | // you are at top position 39 | top=true; 40 | } 41 | 42 | } 43 | }); 44 | } 45 | 46 | @override 47 | Widget build(BuildContext context) { 48 | 49 | 50 | Widget BillBoardResponsive(){ 51 | if(ScreenSize.width.toInt()=2.9.0-14.0.dev <3.0.0" 306 | flutter: ">=1.12.13+hotfix.5 <2.0.0" 307 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: web_music 2 | description: A new Flutter project. 3 | 4 | # The following line prevents the package from being accidentally published to 5 | # pub.dev using `pub publish`. This is preferred for private packages. 6 | publish_to: 'none' # Remove this line if you wish to publish to pub.dev 7 | 8 | # The following defines the version and build number for your application. 9 | # A version number is three numbers separated by dots, like 1.2.43 10 | # followed by an optional build number separated by a +. 11 | # Both the version and the builder number may be overridden in flutter 12 | # build by specifying --build-name and --build-number, respectively. 13 | # In Android, build-name is used as versionName while build-number used as versionCode. 14 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning 15 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. 16 | # Read more about iOS versioning at 17 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 18 | version: 1.0.0+1 19 | 20 | environment: 21 | sdk: ">=2.7.0 <3.0.0" 22 | 23 | dependencies: 24 | flutter: 25 | sdk: flutter 26 | audioplayers: ^0.15.1 27 | just_audio: ^0.1.10 28 | provider: ^4.0.2 29 | rxdart: ^0.24.1 30 | path_provider: ^1.6.11 31 | bloc: ^4.0.0 32 | flutter_bloc: ^4.0.1 33 | equatable: ^0.6.1 34 | characters: ^1.0.0 35 | # The following adds the Cupertino Icons font to your application. 36 | # Use with the CupertinoIcons class for iOS style icons. 37 | cupertino_icons: ^0.1.3 38 | 39 | dev_dependencies: 40 | flutter_test: 41 | sdk: flutter 42 | 43 | # For information on the generic Dart part of this file, see the 44 | # following page: https://dart.dev/tools/pub/pubspec 45 | 46 | # The following section is specific to Flutter. 47 | flutter: 48 | 49 | # The following line ensures that the Material Icons font is 50 | # included with your application, so that you can use the icons in 51 | # the material Icons class. 52 | uses-material-design: true 53 | 54 | # To add assets to your application, add an assets section, like this: 55 | # assets: 56 | # - images/a_dot_burr.jpeg 57 | # - images/a_dot_ham.jpeg 58 | assets: 59 | - web/img/ 60 | - web/img/ssd.png 61 | 62 | # An image asset can refer to one or more resolution-specific "variants", see 63 | # https://flutter.dev/assets-and-images/#resolution-aware. 64 | 65 | # For details regarding adding assets from package dependencies, see 66 | # https://flutter.dev/assets-and-images/#from-packages 67 | 68 | # To add custom fonts to your application, add a fonts section here, 69 | # in this "flutter" section. Each entry in this list should have a 70 | # "family" key with the font family name, and a "fonts" key with a 71 | # list giving the asset and other descriptors for the font. For 72 | # example: 73 | # fonts: 74 | # - family: Schyler 75 | # fonts: 76 | # - asset: fonts/Schyler-Regular.ttf 77 | # - asset: fonts/Schyler-Italic.ttf 78 | # style: italic 79 | # - family: Trajan Pro 80 | # fonts: 81 | # - asset: fonts/TrajanPro.ttf 82 | # - asset: fonts/TrajanPro_Bold.ttf 83 | # weight: 700 84 | # 85 | # For details regarding fonts from package dependencies, 86 | # see https://flutter.dev/custom-fonts/#from-packages 87 | -------------------------------------------------------------------------------- /web/asset/image/ssd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/web/asset/image/ssd.png -------------------------------------------------------------------------------- /web/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/web/favicon.png -------------------------------------------------------------------------------- /web/icons/Icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/web/icons/Icon-192.png -------------------------------------------------------------------------------- /web/icons/Icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/web/icons/Icon-512.png -------------------------------------------------------------------------------- /web/img/button.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/web/img/button.PNG -------------------------------------------------------------------------------- /web/img/ssd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adultcode/Flutter-Web-Music/3605ec48dcf92cb38d1f0140e0dbdcc27bc59fa5/web/img/ssd.png -------------------------------------------------------------------------------- /web/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | Music Land 18 | 19 | 20 | 21 | 22 | 23 | 26 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /web/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "web_music", 3 | "short_name": "web_music", 4 | "start_url": ".", 5 | "display": "standalone", 6 | "background_color": "#0175C2", 7 | "theme_color": "#0175C2", 8 | "description": "A new Flutter project.", 9 | "orientation": "portrait-primary", 10 | "prefer_related_applications": false, 11 | "icons": [ 12 | { 13 | "src": "icons/Icon-192.png", 14 | "sizes": "192x192", 15 | "type": "image/png" 16 | }, 17 | { 18 | "src": "icons/Icon-512.png", 19 | "sizes": "512x512", 20 | "type": "image/png" 21 | } 22 | ] 23 | } 24 | --------------------------------------------------------------------------------