├── .gitignore ├── .metadata ├── README.md ├── android ├── .gitignore ├── app │ ├── build.gradle │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── kotlin │ │ │ └── com │ │ │ │ └── example │ │ │ │ ├── mustafauysal │ │ │ │ └── MainActivity.kt │ │ │ │ └── redesign_instagram │ │ │ │ └── MainActivity.kt │ │ └── res │ │ │ ├── drawable-v21 │ │ │ └── launch_background.xml │ │ │ ├── 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-night │ │ │ └── styles.xml │ │ │ └── values │ │ │ └── styles.xml │ │ └── profile │ │ └── AndroidManifest.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── assets ├── avatar1.png ├── avatar10.png ├── avatar11.png ├── avatar12.png ├── avatar2.png ├── avatar3.png ├── avatar4.png ├── avatar5.png ├── avatar6.png ├── avatar7.png ├── avatar8.png ├── avatar9.png ├── bg.png ├── fonts │ ├── SF-Pro-Text-Bold.otf │ ├── SF-Pro-Text-Medium.otf │ ├── SF-Pro-Text-Regular.otf │ └── SF-Pro-Text-Thin.otf ├── str1.png ├── str2.png └── str3.png ├── 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 ├── Data │ ├── json.dart │ └── staticdata.dart ├── colors.dart └── main.dart ├── pubspec.lock ├── pubspec.yaml └── test └── widget_test.dart /.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 | -------------------------------------------------------------------------------- /.metadata: -------------------------------------------------------------------------------- 1 | # This file tracks properties of this Flutter project. 2 | # Used by Flutter tool to assess capabilities and perform upgrades etc. 3 | # 4 | # This file should be version controlled and should not be manually edited. 5 | 6 | version: 7 | revision: 81a45ec2e5f80fa71d5135f1702ce540558b416d 8 | channel: beta 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Developable Interface Design 2 | 3 | A simple interface work, it can be further improved. 4 | 5 | ## Screens 6 | 7 | ![1](https://user-images.githubusercontent.com/51384613/158037136-ae9c181e-231c-42fa-870a-9346bd1dfb18.jpg) 8 | ![2](https://user-images.githubusercontent.com/51384613/158037145-aad090df-601f-43f2-9fff-a1e92141c20a.jpg) 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 | **/*.keystore 13 | **/*.jks 14 | -------------------------------------------------------------------------------- /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 flutter.compileSdkVersion 30 | 31 | compileOptions { 32 | sourceCompatibility JavaVersion.VERSION_1_8 33 | targetCompatibility JavaVersion.VERSION_1_8 34 | } 35 | 36 | kotlinOptions { 37 | jvmTarget = '1.8' 38 | } 39 | 40 | sourceSets { 41 | main.java.srcDirs += 'src/main/kotlin' 42 | } 43 | 44 | defaultConfig { 45 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 46 | applicationId "com.example.mustafauysal" 47 | minSdkVersion flutter.minSdkVersion 48 | targetSdkVersion flutter.targetSdkVersion 49 | versionCode flutterVersionCode.toInteger() 50 | versionName flutterVersionName 51 | } 52 | 53 | buildTypes { 54 | release { 55 | // TODO: Add your own signing config for the release build. 56 | // Signing with the debug keys for now, so `flutter run --release` works. 57 | signingConfig signingConfigs.debug 58 | } 59 | } 60 | } 61 | 62 | flutter { 63 | source '../..' 64 | } 65 | 66 | dependencies { 67 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 68 | } 69 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 7 | 15 | 19 | 23 | 24 | 25 | 26 | 27 | 28 | 30 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /android/app/src/main/kotlin/com/example/mustafauysal/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.mustafauysal 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() { 6 | } 7 | -------------------------------------------------------------------------------- /android/app/src/main/kotlin/com/example/redesign_instagram/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.redesign_instagram 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() { 6 | } 7 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /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/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values-night/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /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.6.10' 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:4.1.0' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | } 12 | } 13 | 14 | allprojects { 15 | repositories { 16 | google() 17 | mavenCentral() 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 | tasks.register("clean", Delete) { 30 | delete rootProject.buildDir 31 | } 32 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /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-6.7-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 | -------------------------------------------------------------------------------- /assets/avatar1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/assets/avatar1.png -------------------------------------------------------------------------------- /assets/avatar10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/assets/avatar10.png -------------------------------------------------------------------------------- /assets/avatar11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/assets/avatar11.png -------------------------------------------------------------------------------- /assets/avatar12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/assets/avatar12.png -------------------------------------------------------------------------------- /assets/avatar2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/assets/avatar2.png -------------------------------------------------------------------------------- /assets/avatar3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/assets/avatar3.png -------------------------------------------------------------------------------- /assets/avatar4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/assets/avatar4.png -------------------------------------------------------------------------------- /assets/avatar5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/assets/avatar5.png -------------------------------------------------------------------------------- /assets/avatar6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/assets/avatar6.png -------------------------------------------------------------------------------- /assets/avatar7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/assets/avatar7.png -------------------------------------------------------------------------------- /assets/avatar8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/assets/avatar8.png -------------------------------------------------------------------------------- /assets/avatar9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/assets/avatar9.png -------------------------------------------------------------------------------- /assets/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/assets/bg.png -------------------------------------------------------------------------------- /assets/fonts/SF-Pro-Text-Bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/assets/fonts/SF-Pro-Text-Bold.otf -------------------------------------------------------------------------------- /assets/fonts/SF-Pro-Text-Medium.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/assets/fonts/SF-Pro-Text-Medium.otf -------------------------------------------------------------------------------- /assets/fonts/SF-Pro-Text-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/assets/fonts/SF-Pro-Text-Regular.otf -------------------------------------------------------------------------------- /assets/fonts/SF-Pro-Text-Thin.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/assets/fonts/SF-Pro-Text-Thin.otf -------------------------------------------------------------------------------- /assets/str1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/assets/str1.png -------------------------------------------------------------------------------- /assets/str2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/assets/str2.png -------------------------------------------------------------------------------- /assets/str3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/assets/str3.png -------------------------------------------------------------------------------- /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 | 9.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 = 9.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.redesignInstagram; 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 = 9.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 = 9.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.redesignInstagram; 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.redesignInstagram; 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/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/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/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/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/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/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/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/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/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/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/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/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/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/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/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/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/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/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/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/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/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/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/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/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/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/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/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/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/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/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/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustafauys/Flutter-UI/355251305b9b02ad9c4b9bfe16abf40b2e58d5f1/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 | redesign_instagram 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/Data/json.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/foundation.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:http/http.dart' as http; 4 | import 'dart:async'; 5 | import 'dart:convert'; 6 | 7 | Future> fetchPhotos(http.Client client) async { 8 | final response = await client.get(Uri.parse( 9 | 'https://jsonplaceholder.typicode.com/photos/', 10 | )); 11 | 12 | return compute(parsePhotos, response.body); 13 | } 14 | 15 | List parsePhotos(String responseBody) { 16 | final parsed = jsonDecode(responseBody).cast>(); 17 | 18 | return parsed.map((json) => Photo.fromJson(json)).toList(); 19 | } 20 | 21 | class Photo { 22 | final int? albumId; 23 | final int? id; 24 | final String? title; 25 | final String? url; 26 | final String? thumbnailUrl; 27 | 28 | Photo({this.albumId, this.id, this.title, this.url, this.thumbnailUrl}); 29 | 30 | factory Photo.fromJson(Map json) { 31 | return Photo( 32 | albumId: json['albumId'] as int, 33 | id: json['id'] as int, 34 | title: json['title'] as String, 35 | url: json['url'] as String, 36 | thumbnailUrl: json['thumbnailUrl'] as String, 37 | ); 38 | } 39 | } 40 | 41 | class PhotosList extends StatelessWidget { 42 | final List? photos; 43 | 44 | PhotosList({Key? key, this.photos}) : super(key: key); 45 | 46 | @override 47 | Widget build(BuildContext context) { 48 | return ListView.builder( 49 | shrinkWrap: true, 50 | scrollDirection: Axis.horizontal, 51 | itemCount: 1, 52 | itemBuilder: (context, index) { 53 | return Container( 54 | padding: EdgeInsets.all(10), 55 | decoration: BoxDecoration( 56 | border: Border.all(width: 2, color: Colors.green), 57 | borderRadius: BorderRadius.circular(20)), 58 | child: Image.network(photos![index].url.toString())); 59 | }, 60 | ); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /lib/Data/staticdata.dart: -------------------------------------------------------------------------------- 1 | class HomeScreenMenu { 2 | String name; 3 | bool isSelected; 4 | 5 | HomeScreenMenu(this.name, this.isSelected); 6 | } 7 | 8 | class Gonderi { 9 | String? avatar; 10 | String? userName; 11 | String? location; 12 | String? comment; 13 | String? postTime; 14 | String? image; 15 | int? likeCount; 16 | int? commentCount; 17 | 18 | Gonderi( 19 | {this.avatar, 20 | this.userName, 21 | this.location, 22 | this.comment, 23 | this.postTime, 24 | this.image, 25 | this.likeCount, 26 | this.commentCount}); 27 | } 28 | 29 | class Menu { 30 | String? icon; 31 | bool? isSelected; 32 | Menu({this.icon, this.isSelected}); 33 | } 34 | 35 | class Populer { 36 | String? avatar; 37 | String? name; 38 | String? age; 39 | bool? isFemale; 40 | Populer({this.avatar, this.name, this.age, this.isFemale}); 41 | } 42 | 43 | class Hikaye { 44 | String? image; 45 | String? avatar; 46 | String? name; 47 | String? postTime; 48 | 49 | Hikaye({this.image, this.avatar, this.name, this.postTime}); 50 | } 51 | 52 | int currentSelectedIndex = 0; 53 | int currentPageIndex = 0; 54 | List myList = [ 55 | new HomeScreenMenu("Anasayfa", true), 56 | new HomeScreenMenu("Hikayeler", false), 57 | new HomeScreenMenu("Keşfet", false), 58 | new HomeScreenMenu("Profil", false), 59 | ]; 60 | 61 | List gonderiler = [ 62 | new Gonderi( 63 | avatar: "assets/avatar1.png", 64 | userName: "Hatice Özgür", 65 | location: "Manisa / Akhisar", 66 | comment: 67 | "Eskilerden, hayata dair muhteşem bir öğüt; Çok muhabbet tez ayrılık getirir. Bir şeyi az anarsan unutursun, çok anarsan çürütürsün. Bir çiçeği az sularsan kurutursun, çok sularsan çürütürsün.", 68 | postTime: "2 Saat Önce", 69 | image: "assets/avatar1.png", 70 | likeCount: 250, 71 | commentCount: 100), 72 | new Gonderi( 73 | avatar: "assets/avatar2.png", 74 | userName: "Muhammed Özdemir", 75 | location: "Elazığ", 76 | comment: 77 | "Çehov'un dediği gibi: Bir süreliğine yalnız kalmak tehlikelidir ve bağımlılık yapar. Çünkü ne kadar huzurlu olduğunu görünce artık insanlarla uğraşmak istemezsin.", 78 | postTime: "4 Saat Önce", 79 | image: "assets/avatar2.png", 80 | likeCount: 400, 81 | commentCount: 100), 82 | new Gonderi( 83 | avatar: "assets/avatar3.png", 84 | userName: "Oğuz Halit Sak", 85 | location: "Kahramanmaraş", 86 | comment: 87 | "Düşünceli olun, çünkü karşılaştığınız herkes inanın en az sizin kadar zorlu bir mücadele veriyor. diyor Platon. O yüzden bilgi sahibi olmadan, fikir sahibi olmayın.", 88 | postTime: "6 Saat Önce", 89 | image: "assets/avatar3.png", 90 | likeCount: 456, 91 | commentCount: 132), 92 | new Gonderi( 93 | avatar: "assets/avatar4.png", 94 | userName: "Mustafa Demiray", 95 | location: "İzmir", 96 | comment: 97 | "Vicdanımın rahat olduğu hiçbir konuda açıklama yapma gereği duymam istediğinizi anlamakta özgürsünüz.", 98 | postTime: "8 Saat Önce", 99 | image: "assets/avatar4.png", 100 | likeCount: 300, 101 | commentCount: 180), 102 | new Gonderi( 103 | avatar: "assets/avatar5.png", 104 | userName: "Simge Fidan", 105 | location: "Elazığ", 106 | comment: 107 | "Eskilerden, hayata dair muhteşem bir öğüt; Çok muhabbet tez ayrılık getirir. Bir şeyi az anarsan unutursun, çok anarsan çürütürsün. Bir çiçeği az sularsan kurutursun, çok sularsan çürütürsün.", 108 | postTime: "10 Saat Önce", 109 | image: "assets/avatar5.png", 110 | likeCount: 500, 111 | commentCount: 120), 112 | ]; 113 | 114 | List populerkullanici = [ 115 | new Populer( 116 | avatar: "assets/avatar7.png", 117 | name: "Melis Düzen", 118 | age: "24 Yaşında", 119 | isFemale: true), 120 | new Populer( 121 | avatar: "assets/avatar6.png", 122 | name: "Mehmet Dursun", 123 | age: "25 Yaşında", 124 | isFemale: false), 125 | new Populer( 126 | avatar: "assets/avatar8.png", 127 | name: "Esra Çelik", 128 | age: "22 Yaşında", 129 | isFemale: true), 130 | ]; 131 | 132 | List yenihikaye = [ 133 | new Hikaye( 134 | avatar: "assets/avatar9.png", 135 | name: "Zeki Çelik", 136 | image: "assets/str1.png", 137 | postTime: "1 Saat Önce"), 138 | new Hikaye( 139 | avatar: "assets/avatar10.png", 140 | name: "Hande Güler", 141 | image: "assets/str2.png", 142 | postTime: "2 Saat Önce"), 143 | new Hikaye( 144 | avatar: "assets/avatar11.png", 145 | name: "Melike Dönmez", 146 | image: "assets/str3.png", 147 | postTime: "14 Saat Önce"), 148 | ]; 149 | -------------------------------------------------------------------------------- /lib/colors.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | Color redcolor = new Color(0xFFF86B68); 4 | Color redTransColor = new Color(0xFFFAE7E7); 5 | Color blueColor = new Color(0xFF4F62BF); 6 | Color blueTransColor = new Color(0xFFD9E1FF); 7 | Color greyColor = new Color(0xFF969696); 8 | Color bgColor = new Color(0xFFF7F7F7); 9 | Color blueButtonColor = new Color(0xFFEDF1FF); 10 | Color redButtonColor = new Color(0xFFFFEFEF); 11 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:blackblu/Data/json.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:blackblu/colors.dart'; 4 | import 'package:http/http.dart' as http; 5 | import 'Data/staticdata.dart'; 6 | 7 | void main() { 8 | runApp(MyApp()); 9 | } 10 | 11 | class MyApp extends StatelessWidget { 12 | @override 13 | Widget build(BuildContext context) { 14 | return MaterialApp( 15 | debugShowCheckedModeBanner: false, 16 | title: 'BlackBlu', 17 | home: HomeScreen(), 18 | ); 19 | } 20 | } 21 | 22 | class HomeScreen extends StatefulWidget { 23 | @override 24 | _HomeScreenState createState() => _HomeScreenState(); 25 | } 26 | 27 | // ÜST BANNER KODLARI BU BÖLÜMDE YER ALIYOR. 28 | // 29 | // 30 | // 31 | class _HomeScreenState extends State { 32 | @override 33 | Widget build(BuildContext context) { 34 | return Scaffold( 35 | backgroundColor: bgColor, 36 | body: Stack( 37 | children: [ 38 | Padding( 39 | padding: const EdgeInsets.only(top: 40.0, left: 21, bottom: 70), 40 | child: Column( 41 | crossAxisAlignment: CrossAxisAlignment.start, 42 | children: [ 43 | Padding( 44 | padding: const EdgeInsets.only(right: 21.0), 45 | child: Row( 46 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 47 | children: [ 48 | Text( 49 | "BlackBlu", 50 | style: TextStyle( 51 | fontSize: 27, 52 | color: Colors.blueGrey, 53 | fontWeight: FontWeight.bold, 54 | letterSpacing: 3), 55 | ), 56 | Container( 57 | width: 22.32, 58 | height: 26.26, 59 | child: Stack( 60 | children: [ 61 | Icon( 62 | Icons.notifications, 63 | color: Colors.blueGrey, 64 | size: 30.0, 65 | ), 66 | Align( 67 | alignment: Alignment.topRight, 68 | child: Container( 69 | width: 9, 70 | height: 9, 71 | decoration: BoxDecoration( 72 | borderRadius: BorderRadius.circular(4.5), 73 | color: Colors.white, 74 | ), 75 | child: Center( 76 | child: Container( 77 | width: 6, 78 | height: 6, 79 | decoration: BoxDecoration( 80 | borderRadius: BorderRadius.circular(3), 81 | color: redcolor, 82 | ), 83 | ), 84 | ), 85 | ), 86 | ) 87 | ], 88 | ), 89 | ) 90 | ], 91 | ), 92 | ), 93 | SizedBox( 94 | height: 10, 95 | ), 96 | 97 | // 98 | // 99 | // 100 | // 101 | //ÜST HEADER KODLARI BU BÖLÜMDE YER ALIYOR. 102 | Container( 103 | height: 50, 104 | child: ListView.builder( 105 | scrollDirection: Axis.horizontal, 106 | itemBuilder: (context, int index) { 107 | return Row( 108 | children: [ 109 | InkWell( 110 | highlightColor: Colors.transparent, 111 | splashColor: Colors.transparent, 112 | onTap: () { 113 | setState(() { 114 | myList[currentSelectedIndex].isSelected = false; 115 | currentSelectedIndex = index; 116 | myList[currentSelectedIndex].isSelected = true; 117 | }); 118 | }, 119 | child: Container( 120 | width: 100, 121 | height: 50, 122 | child: Column( 123 | crossAxisAlignment: CrossAxisAlignment.start, 124 | children: [ 125 | Column( 126 | children: [ 127 | Text( 128 | myList[index].name, 129 | style: TextStyle( 130 | fontSize: 18, 131 | color: myList[index].isSelected 132 | ? Colors.blueGrey 133 | : Colors.black), 134 | ), 135 | myList[index].isSelected 136 | ? Column( 137 | children: [ 138 | SizedBox( 139 | height: 6, 140 | ), 141 | Container( 142 | width: 8, 143 | height: 8, 144 | decoration: BoxDecoration( 145 | color: Colors.green, 146 | borderRadius: 147 | BorderRadius.circular( 148 | 4)), 149 | ), 150 | ], 151 | ) 152 | : SizedBox() 153 | ], 154 | ), 155 | ], 156 | ), 157 | ), 158 | ), 159 | ], 160 | ); 161 | }, 162 | itemCount: myList.length, 163 | shrinkWrap: true, 164 | ), 165 | ), 166 | // 167 | // 168 | // 169 | // 170 | // 171 | //GÖNDERİ KODLARI BU BÖLÜMDE YER ALIYOR. 172 | currentSelectedIndex == 0 173 | ? Expanded( 174 | child: ListView.builder( 175 | shrinkWrap: true, 176 | physics: ClampingScrollPhysics(), 177 | itemBuilder: (context, int index) { 178 | return Column( 179 | crossAxisAlignment: CrossAxisAlignment.start, 180 | children: [ 181 | Container( 182 | decoration: BoxDecoration( 183 | borderRadius: BorderRadius.circular(20)), 184 | child: Row( 185 | children: [ 186 | Image.asset( 187 | gonderiler[index].avatar.toString()), 188 | SizedBox( 189 | width: 5, 190 | ), 191 | Row( 192 | mainAxisAlignment: 193 | MainAxisAlignment.spaceBetween, 194 | children: [ 195 | Container( 196 | width: MediaQuery.of(context) 197 | .size 198 | .width - 199 | 89 - 200 | 8 - 201 | 21, 202 | child: Column( 203 | crossAxisAlignment: 204 | CrossAxisAlignment.start, 205 | children: [ 206 | Text( 207 | gonderiler[index] 208 | .userName 209 | .toString(), 210 | style: TextStyle( 211 | color: Colors.black), 212 | ), 213 | Text( 214 | gonderiler[index] 215 | .location 216 | .toString(), 217 | style: TextStyle( 218 | color: Colors.black), 219 | ), 220 | ], 221 | ), 222 | ), 223 | Icon( 224 | Icons.more_horiz, 225 | color: Color(0xFF434343), 226 | ) 227 | ], 228 | ), 229 | ], 230 | ), 231 | ), 232 | SizedBox( 233 | height: 10, 234 | ), 235 | Text( 236 | gonderiler[index].comment.toString(), 237 | style: TextStyle(color: Colors.black), 238 | ), 239 | SizedBox( 240 | height: 10, 241 | ), 242 | Center( 243 | child: Container( 244 | width: 300, 245 | height: 300, 246 | child: FutureBuilder>( 247 | future: fetchPhotos(http.Client()), 248 | builder: (context, snapshot) { 249 | if (snapshot.hasError) 250 | print(snapshot.error); 251 | 252 | return snapshot.hasData 253 | ? PhotosList(photos: snapshot.data) 254 | : Center( 255 | child: 256 | CircularProgressIndicator()); 257 | }, 258 | ), 259 | ), 260 | ), 261 | SizedBox( 262 | height: 10, 263 | ), 264 | Row( 265 | children: [ 266 | Icon( 267 | Icons.favorite, 268 | color: Colors.red, 269 | size: 30, 270 | ), 271 | SizedBox(width: 10), 272 | Text( 273 | "1.7k", 274 | style: TextStyle(fontSize: 16), 275 | ), 276 | SizedBox( 277 | width: 75, 278 | height: 50, 279 | ), 280 | Icon( 281 | Icons.comment, 282 | color: Colors.black, 283 | size: 30, 284 | ), 285 | SizedBox(width: 10), 286 | Text( 287 | "325", 288 | style: TextStyle(fontSize: 16), 289 | ), 290 | Container( 291 | width: MediaQuery.of(context).size.width - 292 | 235, 293 | child: Row( 294 | mainAxisAlignment: 295 | MainAxisAlignment.end, 296 | children: [ 297 | Icon( 298 | Icons.reply, 299 | color: Colors.green, 300 | size: 30, 301 | ), 302 | SizedBox(width: 5), 303 | Text( 304 | "2.3k", 305 | style: TextStyle(fontSize: 16), 306 | ), 307 | SizedBox(width: 25), 308 | ], 309 | ), 310 | ), 311 | ], 312 | ), 313 | SizedBox( 314 | height: 15, 315 | ) 316 | ], 317 | ); 318 | }, 319 | itemCount: gonderiler.length, 320 | ), 321 | // 322 | // 323 | // 324 | // 325 | // 326 | //HİKAYELER KISMI KODLARI BU BÖLÜMDE YER ALIYOR. 327 | ) 328 | : currentSelectedIndex == 1 329 | ? Expanded( 330 | child: Column( 331 | crossAxisAlignment: CrossAxisAlignment.start, 332 | children: [ 333 | Text( 334 | 'En Popüler Kullanıcılar', 335 | style: TextStyle(fontSize: 22), 336 | ), 337 | SizedBox( 338 | height: 10, 339 | ), 340 | Container( 341 | height: 179, 342 | child: ListView.builder( 343 | itemBuilder: (context, int index) { 344 | return Row( 345 | children: [ 346 | Container( 347 | width: 160, 348 | height: 179, 349 | child: Padding( 350 | padding: 351 | const EdgeInsets.symmetric( 352 | vertical: 11.0), 353 | child: Column( 354 | children: [ 355 | Image.asset( 356 | populerkullanici[index] 357 | .avatar 358 | .toString()), 359 | SizedBox( 360 | height: 3, 361 | ), 362 | Text( 363 | populerkullanici[index] 364 | .name 365 | .toString(), 366 | style: TextStyle( 367 | fontSize: 15), 368 | ), 369 | SizedBox( 370 | height: 3, 371 | ), 372 | Text( 373 | populerkullanici[index] 374 | .age 375 | .toString(), 376 | style: TextStyle( 377 | color: Color( 378 | 0xFFADADAD)), 379 | ), 380 | SizedBox( 381 | height: 15, 382 | ), 383 | Container( 384 | width: 107, 385 | height: 29, 386 | child: Center( 387 | child: 388 | Text('Takip Et '), 389 | ), 390 | decoration: BoxDecoration( 391 | borderRadius: 392 | BorderRadius 393 | .circular(15), 394 | color: populerkullanici[ 395 | index] 396 | .isFemale! 397 | ? redButtonColor 398 | : blueButtonColor, 399 | ), 400 | ) 401 | ], 402 | ), 403 | ), 404 | decoration: BoxDecoration( 405 | color: Colors.white, 406 | borderRadius: 407 | BorderRadius.circular( 408 | 15)), 409 | ), 410 | SizedBox( 411 | width: 19, 412 | ) 413 | ], 414 | ); 415 | }, 416 | itemCount: populerkullanici.length, 417 | shrinkWrap: true, 418 | scrollDirection: Axis.horizontal, 419 | )), 420 | SizedBox( 421 | height: 20, 422 | ), 423 | Text( 424 | 'Yeni Hikayeler', 425 | style: TextStyle(fontSize: 22), 426 | ), 427 | SizedBox( 428 | height: 10, 429 | ), 430 | Container( 431 | height: 246, 432 | child: ListView.builder( 433 | itemBuilder: (context, int index) { 434 | return Row( 435 | children: [ 436 | Container( 437 | height: 246, 438 | width: 160, 439 | child: Stack( 440 | children: [ 441 | Image.asset( 442 | yenihikaye[index] 443 | .image 444 | .toString(), 445 | ), 446 | Image.asset('assets/bg.png'), 447 | Align( 448 | alignment: 449 | Alignment.bottomCenter, 450 | child: Padding( 451 | padding: 452 | const EdgeInsets.only( 453 | bottom: 12.0), 454 | child: Padding( 455 | padding: const EdgeInsets 456 | .symmetric( 457 | horizontal: 10.0), 458 | child: Container( 459 | height: 35, 460 | child: Row( 461 | children: [ 462 | Image.asset( 463 | yenihikaye[ 464 | index] 465 | .avatar 466 | .toString()), 467 | SizedBox( 468 | width: 5, 469 | ), 470 | Column( 471 | crossAxisAlignment: 472 | CrossAxisAlignment 473 | .start, 474 | children: [ 475 | Text( 476 | yenihikaye[ 477 | index] 478 | .name 479 | .toString(), 480 | style: TextStyle( 481 | color: Colors 482 | .white, 483 | fontSize: 484 | 14), 485 | ), 486 | Text( 487 | yenihikaye[ 488 | index] 489 | .postTime 490 | .toString(), 491 | style: TextStyle( 492 | color: Color( 493 | 0xFFE3E3E3), 494 | fontSize: 495 | 10), 496 | ) 497 | ], 498 | ) 499 | ], 500 | ), 501 | ), 502 | ), 503 | ), 504 | ) 505 | ], 506 | ), 507 | ), 508 | SizedBox( 509 | width: 19, 510 | ), 511 | ], 512 | ); 513 | }, 514 | itemCount: yenihikaye.length, 515 | shrinkWrap: true, 516 | scrollDirection: Axis.horizontal, 517 | ), 518 | ) 519 | ], 520 | ), 521 | ) 522 | : SizedBox() 523 | ], 524 | ), 525 | ), 526 | // 527 | // 528 | // 529 | // 530 | // 531 | //BOTTOM NAVBAR KODLARI BU BÖLÜMDE YER ALIYOR. 532 | Align( 533 | alignment: Alignment.bottomCenter, 534 | child: Container( 535 | height: 100, 536 | child: Stack( 537 | children: [ 538 | Align( 539 | alignment: Alignment.bottomCenter, 540 | child: Container( 541 | height: 70, 542 | width: MediaQuery.of(context).size.width, 543 | color: Colors.transparent, 544 | child: Row( 545 | children: [ 546 | Container( 547 | child: Row( 548 | children: [ 549 | InkWell( 550 | onTap: () { 551 | setState(() { 552 | currentPageIndex = 0; 553 | }); 554 | }, 555 | child: Container( 556 | decoration: BoxDecoration( 557 | borderRadius: 558 | BorderRadius.circular(10)), 559 | width: 560 | MediaQuery.of(context).size.width / 3, 561 | margin: EdgeInsets.only(right: 5, left: 5), 562 | child: Icon( 563 | Icons.home, 564 | color: Colors.blueAccent, 565 | size: 36, 566 | ), 567 | ), 568 | ), 569 | InkWell( 570 | onTap: () { 571 | setState(() { 572 | currentPageIndex = 1; 573 | }); 574 | }, 575 | child: Container( 576 | decoration: BoxDecoration( 577 | borderRadius: 578 | BorderRadius.circular(10)), 579 | width: 580 | MediaQuery.of(context).size.width / 3.5, 581 | margin: EdgeInsets.only(right: 5), 582 | child: Icon( 583 | Icons.favorite, 584 | color: Colors.red, 585 | size: 36, 586 | ), 587 | ), 588 | ), 589 | InkWell( 590 | onTap: () { 591 | setState(() { 592 | currentPageIndex = 1; 593 | }); 594 | }, 595 | child: Container( 596 | decoration: BoxDecoration( 597 | borderRadius: 598 | BorderRadius.circular(10)), 599 | width: 600 | MediaQuery.of(context).size.width / 3, 601 | child: Container( 602 | child: Icon( 603 | Icons.supervised_user_circle, 604 | color: Colors.blue, 605 | size: 36, 606 | ), 607 | ), 608 | ), 609 | ) 610 | ], 611 | ), 612 | ), 613 | ], 614 | ), 615 | ), 616 | ), 617 | ], 618 | ), 619 | ), 620 | ) 621 | ], 622 | ), 623 | ); 624 | } 625 | } 626 | -------------------------------------------------------------------------------- /pubspec.lock: -------------------------------------------------------------------------------- 1 | # Generated by pub 2 | # See https://dart.dev/tools/pub/glossary#lockfile 3 | packages: 4 | async: 5 | dependency: transitive 6 | description: 7 | name: async 8 | sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" 9 | url: "https://pub.dev" 10 | source: hosted 11 | version: "2.11.0" 12 | boolean_selector: 13 | dependency: transitive 14 | description: 15 | name: boolean_selector 16 | sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" 17 | url: "https://pub.dev" 18 | source: hosted 19 | version: "2.1.1" 20 | characters: 21 | dependency: transitive 22 | description: 23 | name: characters 24 | sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" 25 | url: "https://pub.dev" 26 | source: hosted 27 | version: "1.3.0" 28 | clock: 29 | dependency: transitive 30 | description: 31 | name: clock 32 | sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf 33 | url: "https://pub.dev" 34 | source: hosted 35 | version: "1.1.1" 36 | collection: 37 | dependency: transitive 38 | description: 39 | name: collection 40 | sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 41 | url: "https://pub.dev" 42 | source: hosted 43 | version: "1.17.2" 44 | cupertino_icons: 45 | dependency: "direct main" 46 | description: 47 | name: cupertino_icons 48 | sha256: d57953e10f9f8327ce64a508a355f0b1ec902193f66288e8cb5070e7c47eeb2d 49 | url: "https://pub.dev" 50 | source: hosted 51 | version: "1.0.6" 52 | fake_async: 53 | dependency: transitive 54 | description: 55 | name: fake_async 56 | sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" 57 | url: "https://pub.dev" 58 | source: hosted 59 | version: "1.3.1" 60 | flutter: 61 | dependency: "direct main" 62 | description: flutter 63 | source: sdk 64 | version: "0.0.0" 65 | flutter_test: 66 | dependency: "direct dev" 67 | description: flutter 68 | source: sdk 69 | version: "0.0.0" 70 | http: 71 | dependency: "direct main" 72 | description: 73 | name: http 74 | sha256: "759d1a329847dd0f39226c688d3e06a6b8679668e350e2891a6474f8b4bb8525" 75 | url: "https://pub.dev" 76 | source: hosted 77 | version: "1.1.0" 78 | http_parser: 79 | dependency: transitive 80 | description: 81 | name: http_parser 82 | sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" 83 | url: "https://pub.dev" 84 | source: hosted 85 | version: "4.0.2" 86 | matcher: 87 | dependency: transitive 88 | description: 89 | name: matcher 90 | sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" 91 | url: "https://pub.dev" 92 | source: hosted 93 | version: "0.12.16" 94 | material_color_utilities: 95 | dependency: transitive 96 | description: 97 | name: material_color_utilities 98 | sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" 99 | url: "https://pub.dev" 100 | source: hosted 101 | version: "0.5.0" 102 | meta: 103 | dependency: transitive 104 | description: 105 | name: meta 106 | sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" 107 | url: "https://pub.dev" 108 | source: hosted 109 | version: "1.9.1" 110 | path: 111 | dependency: transitive 112 | description: 113 | name: path 114 | sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" 115 | url: "https://pub.dev" 116 | source: hosted 117 | version: "1.8.3" 118 | sky_engine: 119 | dependency: transitive 120 | description: flutter 121 | source: sdk 122 | version: "0.0.99" 123 | source_span: 124 | dependency: transitive 125 | description: 126 | name: source_span 127 | sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" 128 | url: "https://pub.dev" 129 | source: hosted 130 | version: "1.10.0" 131 | stack_trace: 132 | dependency: transitive 133 | description: 134 | name: stack_trace 135 | sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 136 | url: "https://pub.dev" 137 | source: hosted 138 | version: "1.11.0" 139 | stream_channel: 140 | dependency: transitive 141 | description: 142 | name: stream_channel 143 | sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" 144 | url: "https://pub.dev" 145 | source: hosted 146 | version: "2.1.1" 147 | string_scanner: 148 | dependency: transitive 149 | description: 150 | name: string_scanner 151 | sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" 152 | url: "https://pub.dev" 153 | source: hosted 154 | version: "1.2.0" 155 | term_glyph: 156 | dependency: transitive 157 | description: 158 | name: term_glyph 159 | sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 160 | url: "https://pub.dev" 161 | source: hosted 162 | version: "1.2.1" 163 | test_api: 164 | dependency: transitive 165 | description: 166 | name: test_api 167 | sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" 168 | url: "https://pub.dev" 169 | source: hosted 170 | version: "0.6.0" 171 | typed_data: 172 | dependency: transitive 173 | description: 174 | name: typed_data 175 | sha256: "53bdf7e979cfbf3e28987552fd72f637e63f3c8724c9e56d9246942dc2fa36ee" 176 | url: "https://pub.dev" 177 | source: hosted 178 | version: "1.3.0" 179 | vector_math: 180 | dependency: transitive 181 | description: 182 | name: vector_math 183 | sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" 184 | url: "https://pub.dev" 185 | source: hosted 186 | version: "2.1.4" 187 | web: 188 | dependency: transitive 189 | description: 190 | name: web 191 | sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 192 | url: "https://pub.dev" 193 | source: hosted 194 | version: "0.1.4-beta" 195 | sdks: 196 | dart: ">=3.1.0-185.0.dev <4.0.0" 197 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: blackblu 2 | description: A new Flutter project. 3 | 4 | 5 | publish_to: 'none' 6 | 7 | 8 | version: 1.0.0+1 9 | 10 | environment: 11 | sdk: ">=2.12.0 <3.0.0" 12 | 13 | dependencies: 14 | flutter: 15 | sdk: flutter 16 | 17 | cupertino_icons: 18 | http: any 19 | 20 | 21 | dev_dependencies: 22 | flutter_test: 23 | sdk: flutter 24 | 25 | 26 | flutter: 27 | 28 | uses-material-design: true 29 | assets: 30 | - assets/ 31 | -------------------------------------------------------------------------------- /test/widget_test.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_test/flutter_test.dart'; 3 | 4 | import 'package:blackblu/main.dart'; 5 | 6 | void main() { 7 | testWidgets('Counter increments smoke test', (WidgetTester tester) async { 8 | await tester.pumpWidget(MyApp()); 9 | 10 | expect(find.text('0'), findsOneWidget); 11 | expect(find.text('1'), findsNothing); 12 | 13 | await tester.tap(find.byIcon(Icons.add)); 14 | await tester.pump(); 15 | 16 | expect(find.text('0'), findsNothing); 17 | expect(find.text('1'), findsOneWidget); 18 | }); 19 | } 20 | --------------------------------------------------------------------------------