├── .gitignore ├── .metadata ├── README.md ├── android ├── .gitignore ├── app │ ├── build.gradle │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── kotlin │ │ │ └── com │ │ │ │ └── henry │ │ │ │ └── baeminapp │ │ │ │ └── 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 ├── assets ├── fonts │ ├── OpenSans_Bold.ttf │ ├── OpenSans_Regular.ttf │ ├── OpenSans_SemiBold.ttf │ ├── Roboto_Bold.ttf │ ├── Roboto_Medium.ttf │ └── Roboto_Regular.ttf └── icons │ ├── banner_1.jpg │ ├── banner_2.jpeg │ ├── banner_3.jpeg │ ├── banner_4.jpeg │ ├── banner_5.jpeg │ ├── banner_6.jpg │ ├── banner_7.jpg │ ├── banner_8.jpg │ ├── cate_1.png │ ├── cate_2.png │ ├── cate_3.png │ ├── cate_4.png │ ├── cate_5.png │ ├── cate_6.png │ ├── cate_7.png │ ├── cate_8.png │ ├── email.png │ ├── flag.png │ ├── promo.png │ ├── splash.png │ ├── three_lines.png │ ├── voucher.png │ ├── voucher_1.png │ ├── voucher_2.png │ ├── voucher_3.png │ └── voucher_4.png ├── ios ├── .gitignore ├── Flutter │ ├── AppFrameworkInfo.plist │ ├── Debug.xcconfig │ └── Release.xcconfig ├── Runner.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── Runner.xcscheme ├── Runner.xcworkspace │ └── contents.xcworkspacedata └── 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 ├── common │ └── EmptyAppBar.dart ├── constant.dart ├── features │ └── home │ │ └── HomePage.dart └── main.dart ├── pubspec.lock ├── pubspec.yaml ├── res ├── 1.jpg ├── 2.jpg ├── 3.jpg └── demo.gif └── 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 | .dart_tool/ 26 | .flutter-plugins 27 | .flutter-plugins-dependencies 28 | .packages 29 | .pub-cache/ 30 | .pub/ 31 | /build/ 32 | 33 | # Web related 34 | lib/generated_plugin_registrant.dart 35 | 36 | # Exceptions to above rules. 37 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages 38 | -------------------------------------------------------------------------------- /.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: 0b8abb4724aa590dd0f429683339b1e045a1594d 8 | channel: stable 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | # Baemin App Clone 3 | 4 | Flutter UI challenge 5 | 6 | 7 | Awesome Flutter 8 | 9 | 10 | ## Why ? 11 | 12 | I have a habit of ordering food every afternoon, in the order applications I have used, I really love UI/UX of BEAMIN app. So I chose BEAMIN as a UI Challenge. 13 | 14 | ## Target ScreenShot 15 | 16 | 17 | 18 | 19 | ## Demo 20 | 21 | 22 | 23 | ## Todo 24 | - Bloc 25 | - Provider 26 | - Shop Details. 27 | -------------------------------------------------------------------------------- /android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | -------------------------------------------------------------------------------- /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.henry.baeminapp" 42 | minSdkVersion 16 43 | targetSdkVersion 28 44 | versionCode flutterVersionCode.toInteger() 45 | versionName flutterVersionName 46 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 47 | } 48 | 49 | buildTypes { 50 | release { 51 | // TODO: Add your own signing config for the release build. 52 | // Signing with the debug keys for now, so `flutter run --release` works. 53 | signingConfig signingConfigs.debug 54 | } 55 | } 56 | } 57 | 58 | flutter { 59 | source '../..' 60 | } 61 | 62 | dependencies { 63 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 64 | testImplementation 'junit:junit:4.12' 65 | androidTestImplementation 'androidx.test:runner:1.1.1' 66 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1' 67 | } 68 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 8 | 9 | 10 | 14 | 21 | 22 | 23 | 24 | 25 | 26 | 28 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /android/app/src/main/kotlin/com/henry/baeminapp/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.henry.baeminapp 2 | 3 | import androidx.annotation.NonNull; 4 | import io.flutter.embedding.android.FlutterActivity 5 | import io.flutter.embedding.engine.FlutterEngine 6 | import io.flutter.plugins.GeneratedPluginRegistrant 7 | 8 | class MainActivity: FlutterActivity() { 9 | override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) { 10 | GeneratedPluginRegistrant.registerWith(flutterEngine); 11 | } 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/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /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 flutterProjectRoot = rootProject.projectDir.parentFile.toPath() 4 | 5 | def plugins = new Properties() 6 | def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins') 7 | if (pluginsFile.exists()) { 8 | pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) } 9 | } 10 | 11 | plugins.each { name, path -> 12 | def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile() 13 | include ":$name" 14 | project(":$name").projectDir = pluginDirectory 15 | } 16 | -------------------------------------------------------------------------------- /assets/fonts/OpenSans_Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/fonts/OpenSans_Bold.ttf -------------------------------------------------------------------------------- /assets/fonts/OpenSans_Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/fonts/OpenSans_Regular.ttf -------------------------------------------------------------------------------- /assets/fonts/OpenSans_SemiBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/fonts/OpenSans_SemiBold.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto_Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/fonts/Roboto_Bold.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto_Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/fonts/Roboto_Medium.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto_Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/fonts/Roboto_Regular.ttf -------------------------------------------------------------------------------- /assets/icons/banner_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/banner_1.jpg -------------------------------------------------------------------------------- /assets/icons/banner_2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/banner_2.jpeg -------------------------------------------------------------------------------- /assets/icons/banner_3.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/banner_3.jpeg -------------------------------------------------------------------------------- /assets/icons/banner_4.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/banner_4.jpeg -------------------------------------------------------------------------------- /assets/icons/banner_5.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/banner_5.jpeg -------------------------------------------------------------------------------- /assets/icons/banner_6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/banner_6.jpg -------------------------------------------------------------------------------- /assets/icons/banner_7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/banner_7.jpg -------------------------------------------------------------------------------- /assets/icons/banner_8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/banner_8.jpg -------------------------------------------------------------------------------- /assets/icons/cate_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/cate_1.png -------------------------------------------------------------------------------- /assets/icons/cate_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/cate_2.png -------------------------------------------------------------------------------- /assets/icons/cate_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/cate_3.png -------------------------------------------------------------------------------- /assets/icons/cate_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/cate_4.png -------------------------------------------------------------------------------- /assets/icons/cate_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/cate_5.png -------------------------------------------------------------------------------- /assets/icons/cate_6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/cate_6.png -------------------------------------------------------------------------------- /assets/icons/cate_7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/cate_7.png -------------------------------------------------------------------------------- /assets/icons/cate_8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/cate_8.png -------------------------------------------------------------------------------- /assets/icons/email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/email.png -------------------------------------------------------------------------------- /assets/icons/flag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/flag.png -------------------------------------------------------------------------------- /assets/icons/promo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/promo.png -------------------------------------------------------------------------------- /assets/icons/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/splash.png -------------------------------------------------------------------------------- /assets/icons/three_lines.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/three_lines.png -------------------------------------------------------------------------------- /assets/icons/voucher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/voucher.png -------------------------------------------------------------------------------- /assets/icons/voucher_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/voucher_1.png -------------------------------------------------------------------------------- /assets/icons/voucher_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/voucher_2.png -------------------------------------------------------------------------------- /assets/icons/voucher_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/voucher_3.png -------------------------------------------------------------------------------- /assets/icons/voucher_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/assets/icons/voucher_4.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 | 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 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; }; 13 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 14 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 15 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; }; 16 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 17 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 18 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 19 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 20 | /* End PBXBuildFile section */ 21 | 22 | /* Begin PBXCopyFilesBuildPhase section */ 23 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 24 | isa = PBXCopyFilesBuildPhase; 25 | buildActionMask = 2147483647; 26 | dstPath = ""; 27 | dstSubfolderSpec = 10; 28 | files = ( 29 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */, 30 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */, 31 | ); 32 | name = "Embed Frameworks"; 33 | runOnlyForDeploymentPostprocessing = 0; 34 | }; 35 | /* End PBXCopyFilesBuildPhase section */ 36 | 37 | /* Begin PBXFileReference section */ 38 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 39 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 40 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 41 | 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; }; 42 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 43 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 44 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 45 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 46 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 47 | 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; }; 48 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 50 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 51 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 52 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 53 | /* End PBXFileReference section */ 54 | 55 | /* Begin PBXFrameworksBuildPhase section */ 56 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 57 | isa = PBXFrameworksBuildPhase; 58 | buildActionMask = 2147483647; 59 | files = ( 60 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */, 61 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */, 62 | ); 63 | runOnlyForDeploymentPostprocessing = 0; 64 | }; 65 | /* End PBXFrameworksBuildPhase section */ 66 | 67 | /* Begin PBXGroup section */ 68 | 9740EEB11CF90186004384FC /* Flutter */ = { 69 | isa = PBXGroup; 70 | children = ( 71 | 3B80C3931E831B6300D905FE /* App.framework */, 72 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 73 | 9740EEBA1CF902C7004384FC /* Flutter.framework */, 74 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 75 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 76 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 77 | ); 78 | name = Flutter; 79 | sourceTree = ""; 80 | }; 81 | 97C146E51CF9000F007C117D = { 82 | isa = PBXGroup; 83 | children = ( 84 | 9740EEB11CF90186004384FC /* Flutter */, 85 | 97C146F01CF9000F007C117D /* Runner */, 86 | 97C146EF1CF9000F007C117D /* Products */, 87 | ); 88 | sourceTree = ""; 89 | }; 90 | 97C146EF1CF9000F007C117D /* Products */ = { 91 | isa = PBXGroup; 92 | children = ( 93 | 97C146EE1CF9000F007C117D /* Runner.app */, 94 | ); 95 | name = Products; 96 | sourceTree = ""; 97 | }; 98 | 97C146F01CF9000F007C117D /* Runner */ = { 99 | isa = PBXGroup; 100 | children = ( 101 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 102 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 103 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 104 | 97C147021CF9000F007C117D /* Info.plist */, 105 | 97C146F11CF9000F007C117D /* Supporting Files */, 106 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 107 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 108 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 109 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, 110 | ); 111 | path = Runner; 112 | sourceTree = ""; 113 | }; 114 | 97C146F11CF9000F007C117D /* Supporting Files */ = { 115 | isa = PBXGroup; 116 | children = ( 117 | ); 118 | name = "Supporting Files"; 119 | sourceTree = ""; 120 | }; 121 | /* End PBXGroup section */ 122 | 123 | /* Begin PBXNativeTarget section */ 124 | 97C146ED1CF9000F007C117D /* Runner */ = { 125 | isa = PBXNativeTarget; 126 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 127 | buildPhases = ( 128 | 9740EEB61CF901F6004384FC /* Run Script */, 129 | 97C146EA1CF9000F007C117D /* Sources */, 130 | 97C146EB1CF9000F007C117D /* Frameworks */, 131 | 97C146EC1CF9000F007C117D /* Resources */, 132 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 133 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 134 | ); 135 | buildRules = ( 136 | ); 137 | dependencies = ( 138 | ); 139 | name = Runner; 140 | productName = Runner; 141 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 142 | productType = "com.apple.product-type.application"; 143 | }; 144 | /* End PBXNativeTarget section */ 145 | 146 | /* Begin PBXProject section */ 147 | 97C146E61CF9000F007C117D /* Project object */ = { 148 | isa = PBXProject; 149 | attributes = { 150 | LastUpgradeCheck = 1020; 151 | ORGANIZATIONNAME = "The Chromium Authors"; 152 | TargetAttributes = { 153 | 97C146ED1CF9000F007C117D = { 154 | CreatedOnToolsVersion = 7.3.1; 155 | LastSwiftMigration = 1100; 156 | }; 157 | }; 158 | }; 159 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 160 | compatibilityVersion = "Xcode 3.2"; 161 | developmentRegion = en; 162 | hasScannedForEncodings = 0; 163 | knownRegions = ( 164 | en, 165 | Base, 166 | ); 167 | mainGroup = 97C146E51CF9000F007C117D; 168 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 169 | projectDirPath = ""; 170 | projectRoot = ""; 171 | targets = ( 172 | 97C146ED1CF9000F007C117D /* Runner */, 173 | ); 174 | }; 175 | /* End PBXProject section */ 176 | 177 | /* Begin PBXResourcesBuildPhase section */ 178 | 97C146EC1CF9000F007C117D /* Resources */ = { 179 | isa = PBXResourcesBuildPhase; 180 | buildActionMask = 2147483647; 181 | files = ( 182 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 183 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 184 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 185 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 186 | ); 187 | runOnlyForDeploymentPostprocessing = 0; 188 | }; 189 | /* End PBXResourcesBuildPhase section */ 190 | 191 | /* Begin PBXShellScriptBuildPhase section */ 192 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 193 | isa = PBXShellScriptBuildPhase; 194 | buildActionMask = 2147483647; 195 | files = ( 196 | ); 197 | inputPaths = ( 198 | ); 199 | name = "Thin Binary"; 200 | outputPaths = ( 201 | ); 202 | runOnlyForDeploymentPostprocessing = 0; 203 | shellPath = /bin/sh; 204 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin"; 205 | }; 206 | 9740EEB61CF901F6004384FC /* Run Script */ = { 207 | isa = PBXShellScriptBuildPhase; 208 | buildActionMask = 2147483647; 209 | files = ( 210 | ); 211 | inputPaths = ( 212 | ); 213 | name = "Run Script"; 214 | outputPaths = ( 215 | ); 216 | runOnlyForDeploymentPostprocessing = 0; 217 | shellPath = /bin/sh; 218 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 219 | }; 220 | /* End PBXShellScriptBuildPhase section */ 221 | 222 | /* Begin PBXSourcesBuildPhase section */ 223 | 97C146EA1CF9000F007C117D /* Sources */ = { 224 | isa = PBXSourcesBuildPhase; 225 | buildActionMask = 2147483647; 226 | files = ( 227 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 228 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 229 | ); 230 | runOnlyForDeploymentPostprocessing = 0; 231 | }; 232 | /* End PBXSourcesBuildPhase section */ 233 | 234 | /* Begin PBXVariantGroup section */ 235 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 236 | isa = PBXVariantGroup; 237 | children = ( 238 | 97C146FB1CF9000F007C117D /* Base */, 239 | ); 240 | name = Main.storyboard; 241 | sourceTree = ""; 242 | }; 243 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 244 | isa = PBXVariantGroup; 245 | children = ( 246 | 97C147001CF9000F007C117D /* Base */, 247 | ); 248 | name = LaunchScreen.storyboard; 249 | sourceTree = ""; 250 | }; 251 | /* End PBXVariantGroup section */ 252 | 253 | /* Begin XCBuildConfiguration section */ 254 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 255 | isa = XCBuildConfiguration; 256 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 257 | buildSettings = { 258 | ALWAYS_SEARCH_USER_PATHS = NO; 259 | CLANG_ANALYZER_NONNULL = YES; 260 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 261 | CLANG_CXX_LIBRARY = "libc++"; 262 | CLANG_ENABLE_MODULES = YES; 263 | CLANG_ENABLE_OBJC_ARC = YES; 264 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 265 | CLANG_WARN_BOOL_CONVERSION = YES; 266 | CLANG_WARN_COMMA = YES; 267 | CLANG_WARN_CONSTANT_CONVERSION = YES; 268 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 269 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 270 | CLANG_WARN_EMPTY_BODY = YES; 271 | CLANG_WARN_ENUM_CONVERSION = YES; 272 | CLANG_WARN_INFINITE_RECURSION = YES; 273 | CLANG_WARN_INT_CONVERSION = YES; 274 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 275 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 276 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 277 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 278 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 279 | CLANG_WARN_STRICT_PROTOTYPES = YES; 280 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 281 | CLANG_WARN_UNREACHABLE_CODE = YES; 282 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 283 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 284 | COPY_PHASE_STRIP = NO; 285 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 286 | ENABLE_NS_ASSERTIONS = NO; 287 | ENABLE_STRICT_OBJC_MSGSEND = YES; 288 | GCC_C_LANGUAGE_STANDARD = gnu99; 289 | GCC_NO_COMMON_BLOCKS = YES; 290 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 291 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 292 | GCC_WARN_UNDECLARED_SELECTOR = YES; 293 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 294 | GCC_WARN_UNUSED_FUNCTION = YES; 295 | GCC_WARN_UNUSED_VARIABLE = YES; 296 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 297 | MTL_ENABLE_DEBUG_INFO = NO; 298 | SDKROOT = iphoneos; 299 | SUPPORTED_PLATFORMS = iphoneos; 300 | TARGETED_DEVICE_FAMILY = "1,2"; 301 | VALIDATE_PRODUCT = YES; 302 | }; 303 | name = Profile; 304 | }; 305 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 306 | isa = XCBuildConfiguration; 307 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 308 | buildSettings = { 309 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 310 | CLANG_ENABLE_MODULES = YES; 311 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 312 | ENABLE_BITCODE = NO; 313 | FRAMEWORK_SEARCH_PATHS = ( 314 | "$(inherited)", 315 | "$(PROJECT_DIR)/Flutter", 316 | ); 317 | INFOPLIST_FILE = Runner/Info.plist; 318 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 319 | LIBRARY_SEARCH_PATHS = ( 320 | "$(inherited)", 321 | "$(PROJECT_DIR)/Flutter", 322 | ); 323 | PRODUCT_BUNDLE_IDENTIFIER = com.henry.baeminapp; 324 | PRODUCT_NAME = "$(TARGET_NAME)"; 325 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 326 | SWIFT_VERSION = 5.0; 327 | VERSIONING_SYSTEM = "apple-generic"; 328 | }; 329 | name = Profile; 330 | }; 331 | 97C147031CF9000F007C117D /* Debug */ = { 332 | isa = XCBuildConfiguration; 333 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 334 | buildSettings = { 335 | ALWAYS_SEARCH_USER_PATHS = NO; 336 | CLANG_ANALYZER_NONNULL = YES; 337 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 338 | CLANG_CXX_LIBRARY = "libc++"; 339 | CLANG_ENABLE_MODULES = YES; 340 | CLANG_ENABLE_OBJC_ARC = YES; 341 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 342 | CLANG_WARN_BOOL_CONVERSION = YES; 343 | CLANG_WARN_COMMA = YES; 344 | CLANG_WARN_CONSTANT_CONVERSION = YES; 345 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 346 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 347 | CLANG_WARN_EMPTY_BODY = YES; 348 | CLANG_WARN_ENUM_CONVERSION = YES; 349 | CLANG_WARN_INFINITE_RECURSION = YES; 350 | CLANG_WARN_INT_CONVERSION = YES; 351 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 352 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 353 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 354 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 355 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 356 | CLANG_WARN_STRICT_PROTOTYPES = YES; 357 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 358 | CLANG_WARN_UNREACHABLE_CODE = YES; 359 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 360 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 361 | COPY_PHASE_STRIP = NO; 362 | DEBUG_INFORMATION_FORMAT = dwarf; 363 | ENABLE_STRICT_OBJC_MSGSEND = YES; 364 | ENABLE_TESTABILITY = YES; 365 | GCC_C_LANGUAGE_STANDARD = gnu99; 366 | GCC_DYNAMIC_NO_PIC = NO; 367 | GCC_NO_COMMON_BLOCKS = YES; 368 | GCC_OPTIMIZATION_LEVEL = 0; 369 | GCC_PREPROCESSOR_DEFINITIONS = ( 370 | "DEBUG=1", 371 | "$(inherited)", 372 | ); 373 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 374 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 375 | GCC_WARN_UNDECLARED_SELECTOR = YES; 376 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 377 | GCC_WARN_UNUSED_FUNCTION = YES; 378 | GCC_WARN_UNUSED_VARIABLE = YES; 379 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 380 | MTL_ENABLE_DEBUG_INFO = YES; 381 | ONLY_ACTIVE_ARCH = YES; 382 | SDKROOT = iphoneos; 383 | TARGETED_DEVICE_FAMILY = "1,2"; 384 | }; 385 | name = Debug; 386 | }; 387 | 97C147041CF9000F007C117D /* Release */ = { 388 | isa = XCBuildConfiguration; 389 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 390 | buildSettings = { 391 | ALWAYS_SEARCH_USER_PATHS = NO; 392 | CLANG_ANALYZER_NONNULL = YES; 393 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 394 | CLANG_CXX_LIBRARY = "libc++"; 395 | CLANG_ENABLE_MODULES = YES; 396 | CLANG_ENABLE_OBJC_ARC = YES; 397 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 398 | CLANG_WARN_BOOL_CONVERSION = YES; 399 | CLANG_WARN_COMMA = YES; 400 | CLANG_WARN_CONSTANT_CONVERSION = YES; 401 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 402 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 403 | CLANG_WARN_EMPTY_BODY = YES; 404 | CLANG_WARN_ENUM_CONVERSION = YES; 405 | CLANG_WARN_INFINITE_RECURSION = YES; 406 | CLANG_WARN_INT_CONVERSION = YES; 407 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 408 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 409 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 410 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 411 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 412 | CLANG_WARN_STRICT_PROTOTYPES = YES; 413 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 414 | CLANG_WARN_UNREACHABLE_CODE = YES; 415 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 416 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 417 | COPY_PHASE_STRIP = NO; 418 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 419 | ENABLE_NS_ASSERTIONS = NO; 420 | ENABLE_STRICT_OBJC_MSGSEND = YES; 421 | GCC_C_LANGUAGE_STANDARD = gnu99; 422 | GCC_NO_COMMON_BLOCKS = YES; 423 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 424 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 425 | GCC_WARN_UNDECLARED_SELECTOR = YES; 426 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 427 | GCC_WARN_UNUSED_FUNCTION = YES; 428 | GCC_WARN_UNUSED_VARIABLE = YES; 429 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 430 | MTL_ENABLE_DEBUG_INFO = NO; 431 | SDKROOT = iphoneos; 432 | SUPPORTED_PLATFORMS = iphoneos; 433 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 434 | TARGETED_DEVICE_FAMILY = "1,2"; 435 | VALIDATE_PRODUCT = YES; 436 | }; 437 | name = Release; 438 | }; 439 | 97C147061CF9000F007C117D /* Debug */ = { 440 | isa = XCBuildConfiguration; 441 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 442 | buildSettings = { 443 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 444 | CLANG_ENABLE_MODULES = YES; 445 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 446 | ENABLE_BITCODE = NO; 447 | FRAMEWORK_SEARCH_PATHS = ( 448 | "$(inherited)", 449 | "$(PROJECT_DIR)/Flutter", 450 | ); 451 | INFOPLIST_FILE = Runner/Info.plist; 452 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 453 | LIBRARY_SEARCH_PATHS = ( 454 | "$(inherited)", 455 | "$(PROJECT_DIR)/Flutter", 456 | ); 457 | PRODUCT_BUNDLE_IDENTIFIER = com.henry.baeminapp; 458 | PRODUCT_NAME = "$(TARGET_NAME)"; 459 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 460 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 461 | SWIFT_VERSION = 5.0; 462 | VERSIONING_SYSTEM = "apple-generic"; 463 | }; 464 | name = Debug; 465 | }; 466 | 97C147071CF9000F007C117D /* Release */ = { 467 | isa = XCBuildConfiguration; 468 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 469 | buildSettings = { 470 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 471 | CLANG_ENABLE_MODULES = YES; 472 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 473 | ENABLE_BITCODE = NO; 474 | FRAMEWORK_SEARCH_PATHS = ( 475 | "$(inherited)", 476 | "$(PROJECT_DIR)/Flutter", 477 | ); 478 | INFOPLIST_FILE = Runner/Info.plist; 479 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 480 | LIBRARY_SEARCH_PATHS = ( 481 | "$(inherited)", 482 | "$(PROJECT_DIR)/Flutter", 483 | ); 484 | PRODUCT_BUNDLE_IDENTIFIER = com.henry.baeminapp; 485 | PRODUCT_NAME = "$(TARGET_NAME)"; 486 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 487 | SWIFT_VERSION = 5.0; 488 | VERSIONING_SYSTEM = "apple-generic"; 489 | }; 490 | name = Release; 491 | }; 492 | /* End XCBuildConfiguration section */ 493 | 494 | /* Begin XCConfigurationList section */ 495 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 496 | isa = XCConfigurationList; 497 | buildConfigurations = ( 498 | 97C147031CF9000F007C117D /* Debug */, 499 | 97C147041CF9000F007C117D /* Release */, 500 | 249021D3217E4FDB00AE95B9 /* Profile */, 501 | ); 502 | defaultConfigurationIsVisible = 0; 503 | defaultConfigurationName = Release; 504 | }; 505 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 506 | isa = XCConfigurationList; 507 | buildConfigurations = ( 508 | 97C147061CF9000F007C117D /* Debug */, 509 | 97C147071CF9000F007C117D /* Release */, 510 | 249021D4217E4FDB00AE95B9 /* Profile */, 511 | ); 512 | defaultConfigurationIsVisible = 0; 513 | defaultConfigurationName = Release; 514 | }; 515 | /* End XCConfigurationList section */ 516 | }; 517 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 518 | } 519 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /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/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/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/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/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/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/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/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/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/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/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/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/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/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/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/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/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/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/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/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/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/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/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/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/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/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/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/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/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/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/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/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/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/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 | baeminapp 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" -------------------------------------------------------------------------------- /lib/common/EmptyAppBar.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/cupertino.dart'; 2 | 3 | class EmptyAppBar extends StatelessWidget implements PreferredSizeWidget { 4 | @override 5 | Widget build(BuildContext context) { 6 | return Container(); 7 | } 8 | @override 9 | Size get preferredSize => Size(10.0,0.0); 10 | } -------------------------------------------------------------------------------- /lib/constant.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | // Colors 4 | const kBackgroundColor = Color(0xFFFEFEFE); 5 | const kTitleTextColor = Color(0xFF303030); 6 | const kBodyTextColor = Color(0xFF4B4B4B); 7 | const kTextLightColor = Color(0xFF959595); 8 | const kInfectedColor = Color(0xFFFF8748); 9 | const kDeathColor = Color(0xFFFF4848); 10 | const kRecovercolor = Color(0xFF36C12C); 11 | 12 | final kShadowColor = Color(0xFFB7B7B7).withOpacity(.16); 13 | final kActiveShadowColor = Color(0xFF4056C6).withOpacity(.15); 14 | 15 | const kPrimaryColor = Color(0xFFFFFFFF); 16 | const kColorAccent = Color(0xFF65c3c8); 17 | const kColorPrimaryDark = Color(0xFFFFFFFF); 18 | 19 | // Text Style 20 | const kHeadingTextStyle = TextStyle( 21 | fontSize: 22, 22 | fontWeight: FontWeight.w600, 23 | ); 24 | 25 | const kSubTextStyle = TextStyle(fontSize: 16, color: kTextLightColor); 26 | 27 | const kNomalTextStyle = TextStyle(fontSize: 14, color: kTextLightColor); 28 | 29 | const kTitleTextstyle = TextStyle( 30 | fontSize: 18, 31 | color: kTitleTextColor, 32 | fontWeight: FontWeight.bold, 33 | ); -------------------------------------------------------------------------------- /lib/features/home/HomePage.dart: -------------------------------------------------------------------------------- 1 | import 'package:baeminapp/common/EmptyAppBar.dart'; 2 | import 'package:flutter/cupertino.dart'; 3 | import 'package:flutter/material.dart'; 4 | import 'package:carousel_slider/carousel_slider.dart'; 5 | import 'package:flutter_banner_swiper/flutter_banner_swiper.dart'; 6 | import 'dart:math'; 7 | 8 | import '../../constant.dart'; 9 | 10 | class HomePage extends StatefulWidget { 11 | CarouselController bannerController = CarouselController(); 12 | List banners = [ 13 | "assets/icons/banner_1.jpg", 14 | "assets/icons/banner_2.jpeg", 15 | "assets/icons/banner_3.jpeg", 16 | "assets/icons/banner_4.jpeg", 17 | "assets/icons/banner_5.jpeg", 18 | "assets/icons/banner_6.jpg", 19 | "assets/icons/banner_7.jpg", 20 | "assets/icons/banner_8.jpg" 21 | ]; 22 | 23 | List categories = [ 24 | "assets/icons/cate_1.png", 25 | "assets/icons/cate_2.png", 26 | "assets/icons/cate_3.png", 27 | "assets/icons/cate_4.png", 28 | "assets/icons/cate_5.png", 29 | "assets/icons/cate_6.png", 30 | "assets/icons/cate_7.png", 31 | "assets/icons/cate_8.png" 32 | ]; 33 | 34 | List categoriesName = [ 35 | "Cơm Phần", 36 | "Đi Chợ", 37 | "Bún/Phở", 38 | "Chuỗi", 39 | "Ăn Vặt", 40 | "Gà Rán", 41 | "Món Hàn", 42 | "Trà Sữa", 43 | ]; 44 | 45 | List vouchersPercents = [ 46 | "${Random().nextInt(30)}% Off | T2-CN", 47 | "${Random().nextInt(60)}% Off | T3-T5", 48 | "${Random().nextInt(80)}% Off | T5-CN", 49 | "${Random().nextInt(99)}% Off | T7-CN", 50 | ]; 51 | 52 | List foodRecommendationToday = [ 53 | "Khao bạn ${Random().nextInt(30)}K menu này nha", 54 | "Khao bạn ${Random().nextInt(80)}K menu này nha", 55 | "Khao bạn ${Random().nextInt(123)}K menu này nha", 56 | "Khao bạn ${Random().nextInt(212)}K menu này nha", 57 | ]; 58 | 59 | List address = [ 60 | "Ozzy - Nguyễn Đức cảnh", 61 | "Yến Chân Long - Dương Quảng Hàm", 62 | "Farmers' Market Nguyễn Thị Thập", 63 | "GoGi House Nguyễn Thị Thập", 64 | "3G Trois Gourmands Saigon", 65 | "4Ps Pizza Saigon", 66 | "Au Lac do Brazil", 67 | "Bamboo Chic Restaurant Saigon", 68 | "Banh Mi 37", 69 | "Banh Xeo 46A", 70 | "Bun Bo Xu", 71 | "Cafe Cardinal Saigon", 72 | "Camargue", 73 | "Cantina Central", 74 | "Cobalt Wine Bar & Restaurant", 75 | "Din Ky Restaurant Saigon", 76 | "EON 51 Fine Dining Saigon", 77 | "Hideaway Café Saigon", 78 | "ID Café Saigon", 79 | "La Cuisine", 80 | "La Brasserie at Hotel Nikko Saigon", 81 | "New York Steakhouse & Winery", 82 | "Nguyen Thi Thanh (The Lunch Lady)", 83 | "The Refinery Bar and Restaurant", 84 | ]; 85 | 86 | List foodPhoto = [ 87 | "https://www.remotelands.com/travelogues/app/uploads/2018/05/Anan_3.jpg", 88 | "https://everydaymonkey.com/wp-content/uploads/2018/09/leesamantha.jpg", 89 | "https://mymodernmet.com/wp/wp-content/uploads/2017/06/food-art-healthy-desserts-foodbites-1-1.jpg", 90 | "https://4.bp.blogspot.com/-rPf2o5NAos4/UmFkcLePN4I/AAAAAAAABMw/4AudqcQFKzw/s1600/food+art7.jpg", 91 | "https://media-cdn.tripadvisor.com/media/photo-s/13/cc/26/08/grilled-sea-bass-chef.jpg", 92 | "https://www.abudhabitalking.com/wp-content/uploads/2019/02/CP_IMG_3836-1-768x512.jpg", 93 | "https://www.itourvn.com/images/easyblog_articles/828/b2ap3_large_a-bite-1.jpg", 94 | "https://media.cooky.vn/article/s640/Article2696-636111865848504395.jpg", 95 | "https://www.asia-bars.com/wp-content/uploads/2017/09/Vietnam-House-Wagyu-Beef-Pho-I.jpg", 96 | "https://ahima17.discoverlosangeles.com/sites/default/files/styles/listography_image/public/media/restaurants/ramen-champ-tonkotsu-ramen-chinatown.jpg", 97 | "https://www.itourvn.com/images/easyblog_articles/681/vietnamese-rice-paper-wrappers-cover.jpg", 98 | "https://yummyvietnam.net/wp-content/uploads/2019/12/Banh-trang-nuong-recipe%E2%80%93Vietnamese-grilled-rice-paper-11.jpg", 99 | "https://vietnamcoracle.com/wp-content/uploads/2018/05/IMG_3385-copy-blog-1024x768.jpg", 100 | "https://media-cdn.tripadvisor.com/media/photo-s/16/a9/6c/16/waffles-with-banana-balsamic.jpg", 101 | ]; 102 | 103 | @override 104 | State createState() { 105 | return new HomePageState(); 106 | } 107 | } 108 | 109 | class HomePageState extends State { 110 | double heightBanner = 0; 111 | int _currentBanner = 0; 112 | final _scaffoldKey = GlobalKey(); 113 | 114 | _displaySnackBar(BuildContext context, String text) { 115 | final snackBar = SnackBar(content: Text(text)); 116 | _scaffoldKey.currentState.showSnackBar(snackBar); 117 | } 118 | 119 | @override 120 | Widget build(BuildContext context) { 121 | heightBanner = MediaQuery.of(context).size.height / 4; 122 | return Scaffold( 123 | key: _scaffoldKey, 124 | primary: false, 125 | body: SafeArea( 126 | child: Container( 127 | child: Column( 128 | children: [ 129 | Padding( 130 | padding: EdgeInsets.fromLTRB(8, 8, 8, 8), 131 | child: Center( 132 | child: Row( 133 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 134 | mainAxisSize: MainAxisSize.max, 135 | crossAxisAlignment: CrossAxisAlignment.start, 136 | children: [ 137 | Padding( 138 | padding: EdgeInsets.fromLTRB(0, 0, 8, 0), 139 | child: Icon( 140 | Icons.location_on, 141 | color: kColorAccent, 142 | )), 143 | Expanded( 144 | child: Text( 145 | "Tp HCM Việt Nam, 123A/12/BA Nguyễn Văn Nghi Chợ Gò Vấp", 146 | maxLines: 1, 147 | overflow: TextOverflow.ellipsis, 148 | style: kTitleTextstyle.copyWith( 149 | color: Colors.black, 150 | fontFamily: "Roboto_Medium"), 151 | ), 152 | ), 153 | Padding( 154 | padding: EdgeInsets.fromLTRB(8, 3, 8, 0), 155 | child: Image( 156 | image: AssetImage("assets/icons/email.png"), 157 | width: 20, 158 | height: 17, 159 | )), 160 | Padding( 161 | padding: EdgeInsets.fromLTRB(8, 2, 8, 0), 162 | child: Image( 163 | image: AssetImage("assets/icons/three_lines.png"), 164 | width: 17, 165 | height: 17, 166 | )) 167 | ], 168 | ))), 169 | /** 170 | * Search bar 171 | * */ 172 | Container( 173 | margin: EdgeInsets.fromLTRB(16, 0, 16, 8), 174 | height: 35, 175 | decoration: BoxDecoration( 176 | color: Color(0xFFf5f7fa), 177 | borderRadius: BorderRadius.all( 178 | Radius.circular(20.0) // <--- border radius here 179 | ), 180 | ), 181 | child: Row( 182 | mainAxisAlignment: MainAxisAlignment.center, 183 | children: [ 184 | Icon( 185 | Icons.search, 186 | color: kTextLightColor, 187 | ), 188 | Text( 189 | "Tìm nhà hàng, món ăn", 190 | style: kSubTextStyle.copyWith( 191 | fontSize: 14, fontFamily: "Roboto_Regular"), 192 | ) 193 | ], 194 | ), 195 | ), 196 | Expanded( 197 | child: ListView.builder( 198 | scrollDirection: Axis.vertical, 199 | itemCount: 40, 200 | itemBuilder: (BuildContext context, int position) { 201 | switch (position) { 202 | case 0: 203 | return _slider(context); 204 | case 1: 205 | return _categories(context); 206 | case 3: 207 | return _vouchersCount(context); 208 | case 5: 209 | return _discountTime(context); 210 | case 7: 211 | return _foodRecommendationToday(context); 212 | case 9: 213 | return _foodRecommendationPromo(context); 214 | case 11: 215 | return Padding( 216 | padding: EdgeInsets.fromLTRB(16, 16, 16, 0), 217 | child: Text( 218 | "Restaurants Near You", 219 | style: kTitleTextstyle, 220 | )); 221 | case 12: 222 | case 14: 223 | case 16: 224 | case 18: 225 | case 20: 226 | case 22: 227 | case 24: 228 | case 26: 229 | case 28: 230 | case 30: 231 | case 32: 232 | case 34: 233 | case 36: 234 | case 38: 235 | return _foodRecommendationNearMe(context, 236 | Random().nextInt(widget.foodPhoto.length)); 237 | case 13: 238 | case 15: 239 | case 17: 240 | case 19: 241 | case 21: 242 | case 23: 243 | case 25: 244 | case 27: 245 | case 29: 246 | case 31: 247 | case 33: 248 | case 35: 249 | case 37: 250 | case 39: 251 | return _dividerSmall(context); 252 | default: 253 | return _dividerLarge(context); 254 | } 255 | })), 256 | ], 257 | ), 258 | ), 259 | )); 260 | } 261 | 262 | /// Slider 263 | Widget _slider(BuildContext context) { 264 | return Stack( 265 | alignment: Alignment.bottomRight, 266 | children: [ 267 | CarouselSlider( 268 | items: widget.foodPhoto 269 | .map((item) => Container( 270 | width: MediaQuery.of(context).size.width, 271 | height: heightBanner, 272 | child: Center( 273 | child: Image.network( 274 | item, 275 | width: MediaQuery.of(context).size.width, 276 | height: heightBanner, 277 | fit: BoxFit.cover, 278 | )), 279 | )) 280 | .toList(), 281 | carouselController: widget.bannerController, 282 | options: CarouselOptions( 283 | autoPlay: true, 284 | autoPlayInterval: Duration(seconds: 1), 285 | onPageChanged: (pageIndex, _) { 286 | setState(() { 287 | _currentBanner = pageIndex; 288 | }); 289 | }), 290 | ), 291 | Align( 292 | alignment: Alignment.bottomRight, 293 | child: GestureDetector( 294 | onTap: () { 295 | widget.bannerController.nextPage( 296 | duration: Duration(milliseconds: 300), 297 | curve: Curves.linear); 298 | }, 299 | child: Container( 300 | margin: EdgeInsets.fromLTRB(0, 0, 0, 20), 301 | alignment: Alignment.center, 302 | height: 35, 303 | width: _currentBanner + 1 <= 9 ? 80 : 85, 304 | decoration: BoxDecoration( 305 | color: Color(0xFFeaf0d6).withOpacity(0.8), 306 | borderRadius: BorderRadius.only( 307 | topLeft: Radius.circular(20.0), 308 | bottomLeft: Radius.circular(20.0)), 309 | ), 310 | child: Row( 311 | children: [ 312 | Padding( 313 | padding: EdgeInsets.fromLTRB(16, 0, 0, 0), 314 | child: Text( 315 | "${_currentBanner + 1}/${widget.foodPhoto.length}", 316 | style: kTitleTextstyle.copyWith( 317 | fontSize: 14, 318 | fontFamily: "Roboto_Bold", 319 | color: Colors.black), 320 | )), 321 | Icon( 322 | Icons.navigate_next, 323 | color: Colors.black, 324 | size: 25, 325 | ) 326 | ], 327 | ), 328 | ))) 329 | ], 330 | ); 331 | } 332 | 333 | /// Categories 334 | Widget _categories(BuildContext context) { 335 | return GridView.count( 336 | physics: NeverScrollableScrollPhysics(), 337 | childAspectRatio: 1.0, 338 | shrinkWrap: true, 339 | crossAxisCount: 4, 340 | children: List.generate(widget.categories.length, (index) { 341 | return InkWell( 342 | onTap: () { 343 | _displaySnackBar(context, widget.categoriesName[index]); 344 | }, 345 | child: Column( 346 | crossAxisAlignment: CrossAxisAlignment.stretch, 347 | mainAxisSize: MainAxisSize.max, 348 | mainAxisAlignment: MainAxisAlignment.center, 349 | children: [ 350 | Image( 351 | height: 80, 352 | fit: BoxFit.fitWidth, 353 | image: AssetImage(widget.categories[index])), 354 | Center( 355 | child: Text( 356 | widget.categoriesName[index], 357 | style: kTitleTextstyle.copyWith( 358 | color: Colors.black, fontSize: 14), 359 | )), 360 | ], 361 | )); 362 | }), 363 | ); 364 | } 365 | 366 | /// Divider 367 | Widget _dividerLarge(BuildContext context) { 368 | return Container( 369 | height: 10, 370 | color: Color(0xFFf4f6fc), 371 | ); 372 | } 373 | 374 | Widget _dividerSmall(BuildContext context) { 375 | return Container( 376 | height: 0.5, 377 | color: Color(0xFFBDBDBD), 378 | ); 379 | } 380 | 381 | /// Vouchers 382 | Widget _vouchersCount(BuildContext context) { 383 | return InkWell( 384 | onTap: () {}, 385 | child: Padding( 386 | padding: EdgeInsets.fromLTRB(16, 8, 16, 8), 387 | child: Row( 388 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 389 | mainAxisSize: MainAxisSize.max, 390 | crossAxisAlignment: CrossAxisAlignment.start, 391 | children: [ 392 | Image( 393 | image: AssetImage("assets/icons/voucher.png"), 394 | width: 20, 395 | height: 17, 396 | ), 397 | Expanded( 398 | child: RichText( 399 | text: TextSpan( 400 | style: TextStyle( 401 | fontSize: 14.0, 402 | color: Colors.black, 403 | ), 404 | children: [ 405 | TextSpan( 406 | text: ' Bạn ơi,', 407 | style: kNomalTextStyle.copyWith( 408 | fontFamily: "Roboto_Regular")), 409 | TextSpan( 410 | text: '12', 411 | style: kNomalTextStyle.copyWith( 412 | fontFamily: "Roboto_Bold", 413 | fontWeight: FontWeight.bold, 414 | color: kColorAccent)), 415 | TextSpan( 416 | text: ' mã giảm giá vẫy gọi nè', 417 | style: kNomalTextStyle.copyWith( 418 | fontFamily: "Roboto_Regular")), 419 | ], 420 | ), 421 | )), 422 | Text("Xem", 423 | style: kNomalTextStyle.copyWith( 424 | fontFamily: "Roboto_Bold", 425 | fontWeight: FontWeight.bold, 426 | color: kColorAccent)) 427 | ], 428 | ))); 429 | } 430 | 431 | /// Discount time 432 | Widget _discountTime(BuildContext context) { 433 | return Container( 434 | color: Colors.white, 435 | height: heightBanner / 2, 436 | child: ListView.separated( 437 | itemCount: widget.vouchersPercents.length, 438 | separatorBuilder: (BuildContext context, int index) => SizedBox( 439 | width: 0, 440 | ), 441 | shrinkWrap: true, 442 | scrollDirection: Axis.horizontal, 443 | itemBuilder: (BuildContext context, int index) { 444 | return Padding( 445 | padding: EdgeInsets.fromLTRB(0, 16, 0, 16), 446 | child: Container( 447 | color: Colors.transparent, 448 | width: MediaQuery.of(context).size.width / 1.5, 449 | child: Stack( 450 | alignment: Alignment.centerLeft, 451 | children: [ 452 | InkWell( 453 | onTap: () { 454 | _displaySnackBar( 455 | context, widget.vouchersPercents[index]); 456 | }, 457 | child: Container( 458 | padding: EdgeInsets.fromLTRB( 459 | MediaQuery.of(context).size.width / 16, 460 | 0, 461 | 0, 462 | 0), 463 | width: MediaQuery.of(context).size.width / 1.5, 464 | margin: EdgeInsets.fromLTRB(16, 0, 0, 0), 465 | decoration: BoxDecoration( 466 | color: Color(0xFF71d173), 467 | borderRadius: 468 | BorderRadius.all(Radius.circular(30.0))), 469 | child: Column( 470 | mainAxisAlignment: MainAxisAlignment.center, 471 | crossAxisAlignment: CrossAxisAlignment.center, 472 | children: [ 473 | Text( 474 | "Nhập HENRYCODE", 475 | style: kTitleTextstyle.copyWith( 476 | color: Colors.white, 477 | fontFamily: "Roboto_Bold", 478 | fontWeight: FontWeight.w400, 479 | fontSize: 14), 480 | ), 481 | Text( 482 | widget.vouchersPercents[index], 483 | style: kTitleTextstyle.copyWith( 484 | color: Colors.white, 485 | fontFamily: "Roboto_Bold", 486 | fontWeight: FontWeight.w400, 487 | fontSize: 14), 488 | ), 489 | ], 490 | )), 491 | ), 492 | Container( 493 | padding: EdgeInsets.fromLTRB(0, 0, 8, 0), 494 | alignment: Alignment.centerLeft, 495 | color: Colors.transparent, 496 | child: Image.asset( 497 | "assets/icons/voucher_${index + 1}.png", 498 | fit: BoxFit.fitHeight, 499 | height: heightBanner / 2)), 500 | Padding( 501 | padding: EdgeInsets.fromLTRB( 502 | MediaQuery.of(context).size.width / 1.7, 0, 0, 0), 503 | child: Icon(Icons.navigate_next, color: Colors.white70), 504 | ) 505 | ], 506 | )), 507 | ); 508 | }), 509 | ); 510 | } 511 | 512 | /// food today 513 | Widget _foodRecommendationToday(BuildContext context) { 514 | return Container( 515 | color: Colors.white, 516 | height: heightBanner + heightBanner / 8, 517 | child: Column( 518 | mainAxisAlignment: MainAxisAlignment.start, 519 | crossAxisAlignment: CrossAxisAlignment.start, 520 | children: [ 521 | Padding( 522 | padding: EdgeInsets.fromLTRB(16, 16, 16, 0), 523 | child: Text( 524 | "Hôm nay ăn gì?", 525 | style: kTitleTextstyle, 526 | ), 527 | ), 528 | Expanded( 529 | child: ListView.separated( 530 | itemCount: widget.foodRecommendationToday.length, 531 | separatorBuilder: (BuildContext context, int index) => SizedBox( 532 | width: 0, 533 | ), 534 | shrinkWrap: true, 535 | scrollDirection: Axis.horizontal, 536 | itemBuilder: (BuildContext context, int index) { 537 | return Container( 538 | margin: EdgeInsets.fromLTRB( 539 | 16, 540 | 16, 541 | index == widget.foodRecommendationToday.length - 1 542 | ? 16 543 | : 0, 544 | 16), 545 | decoration: BoxDecoration( 546 | image: DecorationImage( 547 | image: NetworkImage(widget.foodPhoto[index]), 548 | fit: BoxFit.cover, 549 | ), 550 | border: Border.all( 551 | color: Colors.white70, // 552 | ), 553 | borderRadius: BorderRadius.all(Radius.circular(5.0))), 554 | width: MediaQuery.of(context).size.width / 1.5, 555 | child: Material( 556 | color: Colors.white.withOpacity(0.0), 557 | child: InkWell( 558 | onTap: () { 559 | _displaySnackBar( 560 | context, widget.foodRecommendationToday[index]); 561 | }, 562 | child: Container( 563 | decoration: new BoxDecoration( 564 | borderRadius: 565 | BorderRadius.all(Radius.circular(5.0)), 566 | color: Colors.purple, 567 | gradient: new LinearGradient( 568 | colors: [ 569 | Colors.transparent, 570 | Colors.grey.withOpacity(0.7), 571 | ], 572 | stops: [ 573 | 0.0, 574 | 1.0 575 | ], 576 | begin: FractionalOffset.topCenter, 577 | end: FractionalOffset.bottomCenter, 578 | tileMode: TileMode.repeated), 579 | ), 580 | padding: EdgeInsets.all(16), 581 | width: MediaQuery.of(context).size.width / 1.5, 582 | child: Column( 583 | mainAxisAlignment: MainAxisAlignment.end, 584 | crossAxisAlignment: CrossAxisAlignment.start, 585 | children: [ 586 | Text( 587 | "Lần đầu order Beamin thì ăn gì?", 588 | style: kTitleTextstyle.copyWith( 589 | color: Colors.white, 590 | fontFamily: "Roboto_Bold", 591 | fontWeight: FontWeight.w500, 592 | fontSize: 14), 593 | ), 594 | SizedBox( 595 | height: 5, 596 | ), 597 | Text( 598 | widget.foodRecommendationToday[index], 599 | style: kTitleTextstyle.copyWith( 600 | color: Colors.white, 601 | fontFamily: "Roboto_Bold", 602 | fontWeight: FontWeight.w400, 603 | fontSize: 12), 604 | ), 605 | ], 606 | )), 607 | ), 608 | )); 609 | }), 610 | ) 611 | ], 612 | ), 613 | ); 614 | } 615 | 616 | /// promo block 617 | Widget _foodRecommendationPromo(BuildContext context) { 618 | return Container( 619 | color: Colors.white, 620 | height: heightBanner + heightBanner / 8, 621 | child: Column( 622 | mainAxisAlignment: MainAxisAlignment.start, 623 | crossAxisAlignment: CrossAxisAlignment.start, 624 | children: [ 625 | Padding( 626 | padding: EdgeInsets.fromLTRB(16, 16, 16, 0), 627 | child: Row( 628 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 629 | crossAxisAlignment: CrossAxisAlignment.start, 630 | children: [ 631 | Text( 632 | "BEAMIN Đi Chợ - FREESHIP", 633 | style: kTitleTextstyle, 634 | ), 635 | Material( 636 | color: Colors.white.withOpacity(0.0), 637 | child: InkWell( 638 | onTap: () {}, 639 | child: Text("Xem", 640 | style: kNomalTextStyle.copyWith( 641 | fontFamily: "Roboto_Bold", 642 | fontWeight: FontWeight.bold, 643 | color: kColorAccent)))) 644 | ], 645 | ), 646 | ), 647 | Expanded( 648 | child: ListView.separated( 649 | itemCount: widget.foodPhoto.length, 650 | separatorBuilder: (BuildContext context, int index) => SizedBox( 651 | width: 8, 652 | ), 653 | shrinkWrap: true, 654 | scrollDirection: Axis.horizontal, 655 | itemBuilder: (BuildContext context, int index) { 656 | return Material( 657 | color: Colors.white.withOpacity(0.0), 658 | child: InkWell( 659 | onTap: () { 660 | _displaySnackBar(context, widget.address[index]); 661 | }, 662 | child: Container( 663 | margin: EdgeInsets.fromLTRB( 664 | index == 0 ? 16 : 0, 665 | 16, 666 | widget.address.length - 1 == 667 | index 668 | ? 16 669 | : 0, 670 | 16), 671 | color: Colors.transparent, 672 | width: MediaQuery.of(context).size.width / 2.5, 673 | child: Stack( 674 | alignment: Alignment.topLeft, 675 | children: [ 676 | Column( 677 | mainAxisAlignment: 678 | MainAxisAlignment.spaceBetween, 679 | mainAxisSize: MainAxisSize.max, 680 | children: [ 681 | Expanded( 682 | child: Container( 683 | margin: EdgeInsets.fromLTRB(8, 8, 0, 0), 684 | decoration: BoxDecoration( 685 | image: DecorationImage( 686 | image: NetworkImage( 687 | widget.foodPhoto[index]), 688 | fit: BoxFit.cover, 689 | ), 690 | border: Border.all( 691 | color: Colors.white70, // 692 | ), 693 | borderRadius: BorderRadius.all( 694 | Radius.circular(5.0))), 695 | )), 696 | Stack( 697 | children: [ 698 | Padding( 699 | padding: EdgeInsets.fromLTRB( 700 | 8, 8, 0, 0), 701 | child: Image.asset( 702 | "assets/icons/flag.png", 703 | fit: BoxFit.fitWidth, 704 | width: 15, 705 | )), 706 | Padding( 707 | padding: EdgeInsets.fromLTRB( 708 | 8, 8, 0, 0), 709 | child: Text( 710 | " ${widget.address[index]}", 711 | maxLines: 2, 712 | style: kNomalTextStyle.copyWith( 713 | color: Colors.black, 714 | fontFamily: "Roboto_Medium", 715 | fontWeight: 716 | FontWeight.w500), 717 | )) 718 | ], 719 | ) 720 | ], 721 | ), 722 | Image.asset( 723 | "assets/icons/promo.png", 724 | fit: BoxFit.fitHeight, 725 | height: 20, 726 | ) 727 | ], 728 | )))); 729 | }), 730 | ) 731 | ], 732 | ), 733 | ); 734 | } 735 | 736 | /// around me 737 | Widget _foodRecommendationNearMe(BuildContext context, int index) { 738 | return Material( 739 | color: Colors.white.withOpacity(0.0), 740 | child: InkWell( 741 | onTap: () { 742 | _displaySnackBar(context, widget.address[index]); 743 | }, 744 | child: Container( 745 | padding: EdgeInsets.all(16), 746 | color: Colors.transparent, 747 | child: Row( 748 | mainAxisAlignment: MainAxisAlignment.start, 749 | mainAxisSize: MainAxisSize.max, 750 | crossAxisAlignment: CrossAxisAlignment.start, 751 | children: [ 752 | Stack( 753 | children: [ 754 | Container( 755 | width: MediaQuery.of(context).size.width / 4.5, 756 | height: MediaQuery.of(context).size.width / 4.5, 757 | margin: EdgeInsets.fromLTRB(8, 8, 0, 0), 758 | decoration: BoxDecoration( 759 | image: DecorationImage( 760 | image: NetworkImage(widget.foodPhoto[index]), 761 | fit: BoxFit.cover, 762 | ), 763 | border: Border.all( 764 | color: Colors.white70, // 765 | ), 766 | borderRadius: BorderRadius.all(Radius.circular(5.0))), 767 | ), 768 | Visibility( 769 | visible: index % 2 == 0, 770 | child: Image.asset( 771 | "assets/icons/promo.png", 772 | fit: BoxFit.fitHeight, 773 | height: 20, 774 | ), 775 | ) 776 | ], 777 | ), 778 | SizedBox( 779 | width: 16, 780 | height: 1, 781 | ), 782 | Expanded(child: 783 | Container( 784 | margin: EdgeInsets.fromLTRB(0, 8, 0, 0), 785 | height: MediaQuery.of(context).size.width / 4.5, 786 | color: Colors.transparent, 787 | child:Column( 788 | mainAxisAlignment: MainAxisAlignment.start, 789 | mainAxisSize: MainAxisSize.max, 790 | crossAxisAlignment: CrossAxisAlignment.stretch, 791 | children: [ 792 | Row( 793 | mainAxisAlignment: MainAxisAlignment.start, 794 | mainAxisSize: MainAxisSize.max, 795 | crossAxisAlignment: CrossAxisAlignment.start, 796 | children: [ 797 | Image.asset( 798 | "assets/icons/flag.png", 799 | fit: BoxFit.fitWidth, 800 | width: 15, 801 | ), 802 | Expanded(child:Text( 803 | " ${widget.address[index]}", 804 | maxLines: 1, 805 | overflow: TextOverflow.ellipsis, 806 | style: kNomalTextStyle.copyWith( 807 | color: Colors.black, 808 | fontFamily: "Roboto_Medium", 809 | fontWeight: FontWeight.w500), 810 | )) 811 | ], 812 | ), 813 | Padding( 814 | padding: EdgeInsets.fromLTRB(0, 8, 0, 0), 815 | child: Text( 816 | "Gà tắm nước mắm", 817 | overflow: TextOverflow.ellipsis, 818 | maxLines: 1, 819 | style: 820 | kNomalTextStyle.copyWith(fontFamily: "Roboto_Regular"), 821 | )), 822 | Expanded(child: Container( 823 | alignment: Alignment.bottomLeft, 824 | color: Colors.transparent, 825 | child: Text( 826 | "${index}km", 827 | overflow: TextOverflow.ellipsis, 828 | style: kNomalTextStyle.copyWith(fontFamily: "Roboto_Regular"), 829 | ), 830 | )) 831 | ], 832 | ))) 833 | ], 834 | ), 835 | ))); 836 | } 837 | } 838 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import 'constant.dart'; 4 | import 'features/home/HomePage.dart'; 5 | 6 | void main() => runApp(MyApp()); 7 | 8 | class MyApp extends StatelessWidget { 9 | // This widget is the root of your application. 10 | @override 11 | Widget build(BuildContext context) { 12 | return MaterialApp( 13 | title: 'Flutter Demo', 14 | theme: ThemeData( 15 | scaffoldBackgroundColor: kBackgroundColor, 16 | fontFamily: "Roboto", 17 | textTheme: TextTheme( 18 | body1: TextStyle(color: kBodyTextColor), 19 | )), 20 | home: HomePage(), 21 | ); 22 | } 23 | } -------------------------------------------------------------------------------- /pubspec.lock: -------------------------------------------------------------------------------- 1 | # Generated by pub 2 | # See https://dart.dev/tools/pub/glossary#lockfile 3 | packages: 4 | archive: 5 | dependency: transitive 6 | description: 7 | name: archive 8 | url: "https://pub.dartlang.org" 9 | source: hosted 10 | version: "2.0.11" 11 | args: 12 | dependency: transitive 13 | description: 14 | name: args 15 | url: "https://pub.dartlang.org" 16 | source: hosted 17 | version: "1.5.2" 18 | async: 19 | dependency: transitive 20 | description: 21 | name: async 22 | url: "https://pub.dartlang.org" 23 | source: hosted 24 | version: "2.4.0" 25 | bloc: 26 | dependency: transitive 27 | description: 28 | name: bloc 29 | url: "https://pub.dartlang.org" 30 | source: hosted 31 | version: "4.0.0" 32 | boolean_selector: 33 | dependency: transitive 34 | description: 35 | name: boolean_selector 36 | url: "https://pub.dartlang.org" 37 | source: hosted 38 | version: "1.0.5" 39 | carousel_slider: 40 | dependency: "direct main" 41 | description: 42 | name: carousel_slider 43 | url: "https://pub.dartlang.org" 44 | source: hosted 45 | version: "2.0.0" 46 | charcode: 47 | dependency: transitive 48 | description: 49 | name: charcode 50 | url: "https://pub.dartlang.org" 51 | source: hosted 52 | version: "1.1.2" 53 | collection: 54 | dependency: transitive 55 | description: 56 | name: collection 57 | url: "https://pub.dartlang.org" 58 | source: hosted 59 | version: "1.14.11" 60 | convert: 61 | dependency: transitive 62 | description: 63 | name: convert 64 | url: "https://pub.dartlang.org" 65 | source: hosted 66 | version: "2.1.1" 67 | crypto: 68 | dependency: transitive 69 | description: 70 | name: crypto 71 | url: "https://pub.dartlang.org" 72 | source: hosted 73 | version: "2.1.3" 74 | cupertino_icons: 75 | dependency: "direct main" 76 | description: 77 | name: cupertino_icons 78 | url: "https://pub.dartlang.org" 79 | source: hosted 80 | version: "0.1.3" 81 | flutter: 82 | dependency: "direct main" 83 | description: flutter 84 | source: sdk 85 | version: "0.0.0" 86 | flutter_banner_swiper: 87 | dependency: "direct main" 88 | description: 89 | name: flutter_banner_swiper 90 | url: "https://pub.dartlang.org" 91 | source: hosted 92 | version: "0.1.4" 93 | flutter_bloc: 94 | dependency: "direct main" 95 | description: 96 | name: flutter_bloc 97 | url: "https://pub.dartlang.org" 98 | source: hosted 99 | version: "4.0.0" 100 | flutter_test: 101 | dependency: "direct dev" 102 | description: flutter 103 | source: sdk 104 | version: "0.0.0" 105 | image: 106 | dependency: transitive 107 | description: 108 | name: image 109 | url: "https://pub.dartlang.org" 110 | source: hosted 111 | version: "2.1.4" 112 | matcher: 113 | dependency: transitive 114 | description: 115 | name: matcher 116 | url: "https://pub.dartlang.org" 117 | source: hosted 118 | version: "0.12.6" 119 | meta: 120 | dependency: transitive 121 | description: 122 | name: meta 123 | url: "https://pub.dartlang.org" 124 | source: hosted 125 | version: "1.1.8" 126 | nested: 127 | dependency: transitive 128 | description: 129 | name: nested 130 | url: "https://pub.dartlang.org" 131 | source: hosted 132 | version: "0.0.4" 133 | path: 134 | dependency: transitive 135 | description: 136 | name: path 137 | url: "https://pub.dartlang.org" 138 | source: hosted 139 | version: "1.6.4" 140 | pedantic: 141 | dependency: transitive 142 | description: 143 | name: pedantic 144 | url: "https://pub.dartlang.org" 145 | source: hosted 146 | version: "1.8.0+1" 147 | petitparser: 148 | dependency: transitive 149 | description: 150 | name: petitparser 151 | url: "https://pub.dartlang.org" 152 | source: hosted 153 | version: "2.4.0" 154 | provider: 155 | dependency: transitive 156 | description: 157 | name: provider 158 | url: "https://pub.dartlang.org" 159 | source: hosted 160 | version: "4.0.5+1" 161 | quiver: 162 | dependency: transitive 163 | description: 164 | name: quiver 165 | url: "https://pub.dartlang.org" 166 | source: hosted 167 | version: "2.0.5" 168 | sky_engine: 169 | dependency: transitive 170 | description: flutter 171 | source: sdk 172 | version: "0.0.99" 173 | source_span: 174 | dependency: transitive 175 | description: 176 | name: source_span 177 | url: "https://pub.dartlang.org" 178 | source: hosted 179 | version: "1.5.5" 180 | stack_trace: 181 | dependency: transitive 182 | description: 183 | name: stack_trace 184 | url: "https://pub.dartlang.org" 185 | source: hosted 186 | version: "1.9.3" 187 | stream_channel: 188 | dependency: transitive 189 | description: 190 | name: stream_channel 191 | url: "https://pub.dartlang.org" 192 | source: hosted 193 | version: "2.0.0" 194 | string_scanner: 195 | dependency: transitive 196 | description: 197 | name: string_scanner 198 | url: "https://pub.dartlang.org" 199 | source: hosted 200 | version: "1.0.5" 201 | term_glyph: 202 | dependency: transitive 203 | description: 204 | name: term_glyph 205 | url: "https://pub.dartlang.org" 206 | source: hosted 207 | version: "1.1.0" 208 | test_api: 209 | dependency: transitive 210 | description: 211 | name: test_api 212 | url: "https://pub.dartlang.org" 213 | source: hosted 214 | version: "0.2.11" 215 | typed_data: 216 | dependency: transitive 217 | description: 218 | name: typed_data 219 | url: "https://pub.dartlang.org" 220 | source: hosted 221 | version: "1.1.6" 222 | vector_math: 223 | dependency: transitive 224 | description: 225 | name: vector_math 226 | url: "https://pub.dartlang.org" 227 | source: hosted 228 | version: "2.0.8" 229 | xml: 230 | dependency: transitive 231 | description: 232 | name: xml 233 | url: "https://pub.dartlang.org" 234 | source: hosted 235 | version: "3.5.0" 236 | sdks: 237 | dart: ">=2.6.0 <3.0.0" 238 | flutter: ">=1.12.1" 239 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: baeminapp 2 | description: Baemin challenge 3 | 4 | # The following defines the version and build number for your application. 5 | # A version number is three numbers separated by dots, like 1.2.43 6 | # followed by an optional build number separated by a +. 7 | # Both the version and the builder number may be overridden in flutter 8 | # build by specifying --build-name and --build-number, respectively. 9 | # In Android, build-name is used as versionName while build-number used as versionCode. 10 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning 11 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. 12 | # Read more about iOS versioning at 13 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 14 | version: 1.0.0+1 15 | 16 | environment: 17 | sdk: ">=2.1.0 <3.0.0" 18 | 19 | dependencies: 20 | flutter: 21 | sdk: flutter 22 | 23 | # The following adds the Cupertino Icons font to your application. 24 | # Use with the CupertinoIcons class for iOS style icons. 25 | cupertino_icons: ^0.1.2 26 | flutter_bloc: ^4.0.0 27 | carousel_slider: ^2.0.0 28 | flutter_banner_swiper: ^0.1.4 29 | 30 | dev_dependencies: 31 | flutter_test: 32 | sdk: flutter 33 | 34 | 35 | # For information on the generic Dart part of this file, see the 36 | # following page: https://dart.dev/tools/pub/pubspec 37 | 38 | # The following section is specific to Flutter. 39 | flutter: 40 | 41 | # The following line ensures that the Material Icons font is 42 | # included with your application, so that you can use the icons in 43 | # the material Icons class. 44 | uses-material-design: true 45 | 46 | # To add assets to your application, add an assets section, like this: 47 | assets: 48 | - assets/icons/ 49 | # An image asset can refer to one or more resolution-specific "variants", see 50 | # https://flutter.dev/assets-and-images/#resolution-aware. 51 | 52 | # For details regarding adding assets from package dependencies, see 53 | # https://flutter.dev/assets-and-images/#from-packages 54 | 55 | # To add custom fonts to your application, add a fonts section here, 56 | # in this "flutter" section. Each entry in this list should have a 57 | # "family" key with the font family name, and a "fonts" key with a 58 | # list giving the asset and other descriptors for the font. For 59 | # example: 60 | fonts: 61 | - family: OpenSans 62 | fonts: 63 | - asset: assets/fonts/OpenSans_Bold.ttf 64 | weight: 700 65 | 66 | - asset: assets/fonts/OpenSans_Regular.ttf 67 | style: normal 68 | weight: 400 69 | 70 | - asset: assets/fonts/OpenSans_SemiBold.ttf 71 | weight: 500 72 | 73 | - family: Roboto 74 | fonts: 75 | - asset: assets/fonts/Roboto_Bold.ttf 76 | weight: 700 77 | 78 | - asset: assets/fonts/Roboto_Medium.ttf 79 | style: normal 80 | weight: 500 81 | 82 | - asset: assets/fonts/Roboto_Regular.ttf 83 | style: normal 84 | weight: 400 85 | 86 | # For details regarding fonts from package dependencies, 87 | # see https://flutter.dev/custom-fonts/#from-packages 88 | -------------------------------------------------------------------------------- /res/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/res/1.jpg -------------------------------------------------------------------------------- /res/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/res/2.jpg -------------------------------------------------------------------------------- /res/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/res/3.jpg -------------------------------------------------------------------------------- /res/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chihung93/baemin-clone/84196197b3f44cd330ff37df7758f0863c53d7c7/res/demo.gif -------------------------------------------------------------------------------- /test/widget_test.dart: -------------------------------------------------------------------------------- 1 | // This is a basic Flutter widget test. 2 | // 3 | // To perform an interaction with a widget in your test, use the WidgetTester 4 | // utility that Flutter provides. For example, you can send tap and scroll 5 | // gestures. You can also use WidgetTester to find child widgets in the widget 6 | // tree, read text, and verify that the values of widget properties are correct. 7 | 8 | import 'package:flutter/material.dart'; 9 | import 'package:flutter_test/flutter_test.dart'; 10 | 11 | import 'package:baeminapp/main.dart'; 12 | 13 | void main() { 14 | testWidgets('Counter increments smoke test', (WidgetTester tester) async { 15 | // Build our app and trigger a frame. 16 | await tester.pumpWidget(MyApp()); 17 | 18 | // Verify that our counter starts at 0. 19 | expect(find.text('0'), findsOneWidget); 20 | expect(find.text('1'), findsNothing); 21 | 22 | // Tap the '+' icon and trigger a frame. 23 | await tester.tap(find.byIcon(Icons.add)); 24 | await tester.pump(); 25 | 26 | // Verify that our counter has incremented. 27 | expect(find.text('0'), findsNothing); 28 | expect(find.text('1'), findsOneWidget); 29 | }); 30 | } 31 | --------------------------------------------------------------------------------