├── .gitignore ├── .metadata ├── README.md ├── analysis_options.yaml ├── android ├── .gitignore ├── app │ ├── build.gradle │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── kotlin │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── clean_ui_code_implementation │ │ │ │ └── MainActivity.kt │ │ └── res │ │ │ ├── drawable-v21 │ │ │ └── launch_background.xml │ │ │ ├── drawable │ │ │ └── launch_background.xml │ │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ └── ic_launcher.png │ │ │ ├── values-night │ │ │ └── styles.xml │ │ │ └── values │ │ │ └── styles.xml │ │ └── profile │ │ └── AndroidManifest.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── assets ├── fonts │ ├── Inter-Bold.ttf │ ├── Inter-Medium.ttf │ ├── Inter-Regular.ttf │ └── Inter-SemiBold.ttf ├── icons │ ├── brand_logo.svg │ ├── clock.svg │ └── group_star.svg └── images │ ├── avatar.png │ ├── product_img_0.png │ ├── product_img_1.png │ ├── product_img_2.png │ ├── product_img_3.png │ └── product_img_4.png ├── ios ├── .gitignore ├── Flutter │ ├── AppFrameworkInfo.plist │ ├── Debug.xcconfig │ └── Release.xcconfig ├── Runner.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ └── WorkspaceSettings.xcsettings │ └── xcshareddata │ │ └── xcschemes │ │ └── Runner.xcscheme ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ └── WorkspaceSettings.xcsettings ├── Runner │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ ├── Contents.json │ │ │ ├── Icon-App-1024x1024@1x.png │ │ │ ├── Icon-App-20x20@1x.png │ │ │ ├── Icon-App-20x20@2x.png │ │ │ ├── Icon-App-20x20@3x.png │ │ │ ├── Icon-App-29x29@1x.png │ │ │ ├── Icon-App-29x29@2x.png │ │ │ ├── Icon-App-29x29@3x.png │ │ │ ├── Icon-App-40x40@1x.png │ │ │ ├── Icon-App-40x40@2x.png │ │ │ ├── Icon-App-40x40@3x.png │ │ │ ├── Icon-App-60x60@2x.png │ │ │ ├── Icon-App-60x60@3x.png │ │ │ ├── Icon-App-76x76@1x.png │ │ │ ├── Icon-App-76x76@2x.png │ │ │ └── Icon-App-83.5x83.5@2x.png │ │ └── LaunchImage.imageset │ │ │ ├── Contents.json │ │ │ ├── LaunchImage.png │ │ │ ├── LaunchImage@2x.png │ │ │ ├── LaunchImage@3x.png │ │ │ └── README.md │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── Info.plist │ └── Runner-Bridging-Header.h └── RunnerTests │ └── RunnerTests.swift ├── lib ├── core │ └── constants │ │ └── assets.dart ├── main.dart └── src │ ├── product_detail │ ├── local_widgets │ │ ├── bottom_fixed_button.dart │ │ ├── description_view.dart │ │ ├── expandable_text_view.dart │ │ ├── img_list_view.dart │ │ ├── leading_info_view.dart │ │ ├── price_info_view.dart │ │ ├── product_detail_header.dart │ │ ├── product_detail_scaffold.dart │ │ ├── review_list_view.dart │ │ └── size_info_view.dart │ ├── product_detail_page.dart │ └── product_detail_page_prev.dart │ └── utils │ ├── app_color.dart │ ├── app_text_style.dart │ ├── assets.dart │ └── constants.dart ├── pubspec.lock ├── pubspec.yaml ├── test └── widget_test.dart └── web ├── favicon.png ├── icons ├── Icon-192.png ├── Icon-512.png ├── Icon-maskable-192.png └── Icon-maskable-512.png ├── index.html └── manifest.json /.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | migrate_working_dir/ 12 | 13 | # IntelliJ related 14 | *.iml 15 | *.ipr 16 | *.iws 17 | .idea/ 18 | 19 | # The .vscode folder contains launch configuration and tasks you configure in 20 | # VS Code which you may wish to be included in version control, so this line 21 | # is commented out by default. 22 | #.vscode/ 23 | 24 | # Flutter/Dart/Pub related 25 | **/doc/api/ 26 | **/ios/Flutter/.last_build_id 27 | .dart_tool/ 28 | .flutter-plugins 29 | .flutter-plugins-dependencies 30 | .packages 31 | .pub-cache/ 32 | .pub/ 33 | /build/ 34 | 35 | # Symbolication related 36 | app.*.symbols 37 | 38 | # Obfuscation related 39 | app.*.map.json 40 | 41 | # Android Studio will place build artifacts here 42 | /android/app/debug 43 | /android/app/profile 44 | /android/app/release 45 | -------------------------------------------------------------------------------- /.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. 5 | 6 | version: 7 | revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 8 | channel: stable 9 | 10 | project_type: app 11 | 12 | # Tracks metadata for the flutter migrate command 13 | migration: 14 | platforms: 15 | - platform: root 16 | create_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 17 | base_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 18 | - platform: android 19 | create_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 20 | base_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 21 | - platform: ios 22 | create_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 23 | base_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 24 | - platform: web 25 | create_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 26 | base_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 27 | 28 | # User provided section 29 | 30 | # List of Local paths (relative to this file) that should be 31 | # ignored by the migrate tool. 32 | # 33 | # Files that are not part of the templates will be ignored by default. 34 | unmanaged_files: 35 | - 'lib/main.dart' 36 | - 'ios/Runner.xcodeproj/project.pbxproj' 37 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 3# clean_ui_code_implementation 2 | 3 | A new Flutter project. 4 | 5 | ## Getting Started 6 | 7 | This project is a starting point for a Flutter application. 8 | 9 | A few resources to get you started if this is your first Flutter project: 10 | 11 | - [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab) 12 | - [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook) 13 | 14 | For help getting started with Flutter development, view the 15 | [online documentation](https://docs.flutter.dev/), which offers tutorials, 16 | samples, guidance on mobile development, and a full API reference. 17 | -------------------------------------------------------------------------------- /analysis_options.yaml: -------------------------------------------------------------------------------- 1 | # This file configures the analyzer, which statically analyzes Dart code to 2 | # check for errors, warnings, and lints. 3 | # 4 | # The issues identified by the analyzer are surfaced in the UI of Dart-enabled 5 | # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be 6 | # invoked from the command line by running `flutter analyze`. 7 | 8 | # The following line activates a set of recommended lints for Flutter apps, 9 | # packages, and plugins designed to encourage good coding practices. 10 | include: package:flutter_lints/flutter.yaml 11 | 12 | linter: 13 | # The lint rules applied to this project can be customized in the 14 | # section below to disable rules from the `package:flutter_lints/flutter.yaml` 15 | # included above or to enable additional rules. A list of all available lints 16 | # and their documentation is published at 17 | # https://dart-lang.github.io/linter/lints/index.html. 18 | # 19 | # Instead of disabling a lint rule for the entire project in the 20 | # section below, it can also be suppressed for a single line of code 21 | # or a specific dart file by using the `// ignore: name_of_lint` and 22 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file 23 | # producing the lint. 24 | rules: 25 | # avoid_print: false # Uncomment to disable the `avoid_print` rule 26 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule 27 | 28 | # Additional information about this file can be found at 29 | # https://dart.dev/guides/language/analysis-options 30 | -------------------------------------------------------------------------------- /android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | 9 | # Remember to never publicly share your keystore. 10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app 11 | key.properties 12 | **/*.keystore 13 | **/*.jks 14 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | def localProperties = new Properties() 2 | def localPropertiesFile = rootProject.file('local.properties') 3 | if (localPropertiesFile.exists()) { 4 | localPropertiesFile.withReader('UTF-8') { reader -> 5 | localProperties.load(reader) 6 | } 7 | } 8 | 9 | def flutterRoot = localProperties.getProperty('flutter.sdk') 10 | if (flutterRoot == null) { 11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") 12 | } 13 | 14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode') 15 | if (flutterVersionCode == null) { 16 | flutterVersionCode = '1' 17 | } 18 | 19 | def flutterVersionName = localProperties.getProperty('flutter.versionName') 20 | if (flutterVersionName == null) { 21 | flutterVersionName = '1.0' 22 | } 23 | 24 | apply plugin: 'com.android.application' 25 | apply plugin: 'kotlin-android' 26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 27 | 28 | android { 29 | namespace "com.example.clean_ui_code_implementation" 30 | compileSdkVersion flutter.compileSdkVersion 31 | ndkVersion flutter.ndkVersion 32 | 33 | compileOptions { 34 | sourceCompatibility JavaVersion.VERSION_1_8 35 | targetCompatibility JavaVersion.VERSION_1_8 36 | } 37 | 38 | kotlinOptions { 39 | jvmTarget = '1.8' 40 | } 41 | 42 | sourceSets { 43 | main.java.srcDirs += 'src/main/kotlin' 44 | } 45 | 46 | defaultConfig { 47 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 48 | applicationId "com.example.clean_ui_code_implementation" 49 | // You can update the following values to match your application needs. 50 | // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. 51 | minSdkVersion flutter.minSdkVersion 52 | targetSdkVersion flutter.targetSdkVersion 53 | versionCode flutterVersionCode.toInteger() 54 | versionName flutterVersionName 55 | } 56 | 57 | buildTypes { 58 | release { 59 | // TODO: Add your own signing config for the release build. 60 | // Signing with the debug keys for now, so `flutter run --release` works. 61 | signingConfig signingConfigs.debug 62 | } 63 | } 64 | } 65 | 66 | flutter { 67 | source '../..' 68 | } 69 | 70 | dependencies { 71 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 72 | } 73 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 14 | 18 | 22 | 23 | 24 | 25 | 26 | 27 | 29 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /android/app/src/main/kotlin/com/example/clean_ui_code_implementation/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.clean_ui_code_implementation 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() { 6 | } 7 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values-night/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.7.10' 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:7.3.0' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | } 12 | } 13 | 14 | allprojects { 15 | repositories { 16 | google() 17 | mavenCentral() 18 | } 19 | } 20 | 21 | rootProject.buildDir = '../build' 22 | subprojects { 23 | project.buildDir = "${rootProject.buildDir}/${project.name}" 24 | } 25 | subprojects { 26 | project.evaluationDependsOn(':app') 27 | } 28 | 29 | tasks.register("clean", Delete) { 30 | delete rootProject.buildDir 31 | } 32 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip 6 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties") 4 | def properties = new Properties() 5 | 6 | assert localPropertiesFile.exists() 7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } 8 | 9 | def flutterSdkPath = properties.getProperty("flutter.sdk") 10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" 12 | -------------------------------------------------------------------------------- /assets/fonts/Inter-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/assets/fonts/Inter-Bold.ttf -------------------------------------------------------------------------------- /assets/fonts/Inter-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/assets/fonts/Inter-Medium.ttf -------------------------------------------------------------------------------- /assets/fonts/Inter-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/assets/fonts/Inter-Regular.ttf -------------------------------------------------------------------------------- /assets/fonts/Inter-SemiBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/assets/fonts/Inter-SemiBold.ttf -------------------------------------------------------------------------------- /assets/icons/brand_logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /assets/icons/clock.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /assets/icons/group_star.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /assets/images/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/assets/images/avatar.png -------------------------------------------------------------------------------- /assets/images/product_img_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/assets/images/product_img_0.png -------------------------------------------------------------------------------- /assets/images/product_img_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/assets/images/product_img_1.png -------------------------------------------------------------------------------- /assets/images/product_img_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/assets/images/product_img_2.png -------------------------------------------------------------------------------- /assets/images/product_img_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/assets/images/product_img_3.png -------------------------------------------------------------------------------- /assets/images/product_img_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/assets/images/product_img_4.png -------------------------------------------------------------------------------- /ios/.gitignore: -------------------------------------------------------------------------------- 1 | **/dgph 2 | *.mode1v3 3 | *.mode2v3 4 | *.moved-aside 5 | *.pbxuser 6 | *.perspectivev3 7 | **/*sync/ 8 | .sconsign.dblite 9 | .tags* 10 | **/.vagrant/ 11 | **/DerivedData/ 12 | Icon? 13 | **/Pods/ 14 | **/.symlinks/ 15 | profile 16 | xcuserdata 17 | **/.generated/ 18 | Flutter/App.framework 19 | Flutter/Flutter.framework 20 | Flutter/Flutter.podspec 21 | Flutter/Generated.xcconfig 22 | Flutter/ephemeral/ 23 | Flutter/app.flx 24 | Flutter/app.zip 25 | Flutter/flutter_assets/ 26 | Flutter/flutter_export_environment.sh 27 | ServiceDefinitions.json 28 | Runner/GeneratedPluginRegistrant.* 29 | 30 | # Exceptions to above rules. 31 | !default.mode1v3 32 | !default.mode2v3 33 | !default.pbxuser 34 | !default.perspectivev3 35 | -------------------------------------------------------------------------------- /ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 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 | 11.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 = 54; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 12 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 13 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 14 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 15 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 16 | 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXContainerItemProxy section */ 20 | 331C8085294A63A400263BE5 /* PBXContainerItemProxy */ = { 21 | isa = PBXContainerItemProxy; 22 | containerPortal = 97C146E61CF9000F007C117D /* Project object */; 23 | proxyType = 1; 24 | remoteGlobalIDString = 97C146ED1CF9000F007C117D; 25 | remoteInfo = Runner; 26 | }; 27 | /* End PBXContainerItemProxy section */ 28 | 29 | /* Begin PBXCopyFilesBuildPhase section */ 30 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 31 | isa = PBXCopyFilesBuildPhase; 32 | buildActionMask = 2147483647; 33 | dstPath = ""; 34 | dstSubfolderSpec = 10; 35 | files = ( 36 | ); 37 | name = "Embed Frameworks"; 38 | runOnlyForDeploymentPostprocessing = 0; 39 | }; 40 | /* End PBXCopyFilesBuildPhase section */ 41 | 42 | /* Begin PBXFileReference section */ 43 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 44 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 45 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 46 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 47 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 48 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 49 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 50 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 51 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 52 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 53 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 54 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 55 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 56 | 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; 57 | 331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 58 | /* End PBXFileReference section */ 59 | 60 | /* Begin PBXFrameworksBuildPhase section */ 61 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | ); 66 | runOnlyForDeploymentPostprocessing = 0; 67 | }; 68 | /* End PBXFrameworksBuildPhase section */ 69 | 70 | /* Begin PBXGroup section */ 71 | 9740EEB11CF90186004384FC /* Flutter */ = { 72 | isa = PBXGroup; 73 | children = ( 74 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 75 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 76 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 77 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 78 | ); 79 | name = Flutter; 80 | sourceTree = ""; 81 | }; 82 | 331C8082294A63A400263BE5 /* RunnerTests */ = { 83 | isa = PBXGroup; 84 | children = ( 85 | 331C807B294A618700263BE5 /* RunnerTests.swift */, 86 | ); 87 | path = RunnerTests; 88 | sourceTree = ""; 89 | }; 90 | 97C146E51CF9000F007C117D = { 91 | isa = PBXGroup; 92 | children = ( 93 | 9740EEB11CF90186004384FC /* Flutter */, 94 | 97C146F01CF9000F007C117D /* Runner */, 95 | 97C146EF1CF9000F007C117D /* Products */, 96 | 331C8082294A63A400263BE5 /* RunnerTests */, 97 | ); 98 | sourceTree = ""; 99 | }; 100 | 97C146EF1CF9000F007C117D /* Products */ = { 101 | isa = PBXGroup; 102 | children = ( 103 | 97C146EE1CF9000F007C117D /* Runner.app */, 104 | 331C8081294A63A400263BE5 /* RunnerTests.xctest */, 105 | ); 106 | name = Products; 107 | sourceTree = ""; 108 | }; 109 | 97C146F01CF9000F007C117D /* Runner */ = { 110 | isa = PBXGroup; 111 | children = ( 112 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 113 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 114 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 115 | 97C147021CF9000F007C117D /* Info.plist */, 116 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 117 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 118 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 119 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, 120 | ); 121 | path = Runner; 122 | sourceTree = ""; 123 | }; 124 | /* End PBXGroup section */ 125 | 126 | /* Begin PBXNativeTarget section */ 127 | 331C8080294A63A400263BE5 /* RunnerTests */ = { 128 | isa = PBXNativeTarget; 129 | buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; 130 | buildPhases = ( 131 | 331C807D294A63A400263BE5 /* Sources */, 132 | 331C807E294A63A400263BE5 /* Frameworks */, 133 | 331C807F294A63A400263BE5 /* Resources */, 134 | ); 135 | buildRules = ( 136 | ); 137 | dependencies = ( 138 | 331C8086294A63A400263BE5 /* PBXTargetDependency */, 139 | ); 140 | name = RunnerTests; 141 | productName = RunnerTests; 142 | productReference = 331C8081294A63A400263BE5 /* RunnerTests.xctest */; 143 | productType = "com.apple.product-type.bundle.unit-test"; 144 | }; 145 | 97C146ED1CF9000F007C117D /* Runner */ = { 146 | isa = PBXNativeTarget; 147 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 148 | buildPhases = ( 149 | 9740EEB61CF901F6004384FC /* Run Script */, 150 | 97C146EA1CF9000F007C117D /* Sources */, 151 | 97C146EB1CF9000F007C117D /* Frameworks */, 152 | 97C146EC1CF9000F007C117D /* Resources */, 153 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 154 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 155 | ); 156 | buildRules = ( 157 | ); 158 | dependencies = ( 159 | ); 160 | name = Runner; 161 | productName = Runner; 162 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 163 | productType = "com.apple.product-type.application"; 164 | }; 165 | /* End PBXNativeTarget section */ 166 | 167 | /* Begin PBXProject section */ 168 | 97C146E61CF9000F007C117D /* Project object */ = { 169 | isa = PBXProject; 170 | attributes = { 171 | LastUpgradeCheck = 1300; 172 | ORGANIZATIONNAME = ""; 173 | TargetAttributes = { 174 | 331C8080294A63A400263BE5 = { 175 | CreatedOnToolsVersion = 14.0; 176 | TestTargetID = 97C146ED1CF9000F007C117D; 177 | }; 178 | 97C146ED1CF9000F007C117D = { 179 | CreatedOnToolsVersion = 7.3.1; 180 | LastSwiftMigration = 1100; 181 | }; 182 | }; 183 | }; 184 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 185 | compatibilityVersion = "Xcode 9.3"; 186 | developmentRegion = en; 187 | hasScannedForEncodings = 0; 188 | knownRegions = ( 189 | en, 190 | Base, 191 | ); 192 | mainGroup = 97C146E51CF9000F007C117D; 193 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 194 | projectDirPath = ""; 195 | projectRoot = ""; 196 | targets = ( 197 | 97C146ED1CF9000F007C117D /* Runner */, 198 | 331C8080294A63A400263BE5 /* RunnerTests */, 199 | ); 200 | }; 201 | /* End PBXProject section */ 202 | 203 | /* Begin PBXResourcesBuildPhase section */ 204 | 331C807F294A63A400263BE5 /* Resources */ = { 205 | isa = PBXResourcesBuildPhase; 206 | buildActionMask = 2147483647; 207 | files = ( 208 | ); 209 | runOnlyForDeploymentPostprocessing = 0; 210 | }; 211 | 97C146EC1CF9000F007C117D /* Resources */ = { 212 | isa = PBXResourcesBuildPhase; 213 | buildActionMask = 2147483647; 214 | files = ( 215 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 216 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 217 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 218 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 219 | ); 220 | runOnlyForDeploymentPostprocessing = 0; 221 | }; 222 | /* End PBXResourcesBuildPhase section */ 223 | 224 | /* Begin PBXShellScriptBuildPhase section */ 225 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 226 | isa = PBXShellScriptBuildPhase; 227 | alwaysOutOfDate = 1; 228 | buildActionMask = 2147483647; 229 | files = ( 230 | ); 231 | inputPaths = ( 232 | "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}", 233 | ); 234 | name = "Thin Binary"; 235 | outputPaths = ( 236 | ); 237 | runOnlyForDeploymentPostprocessing = 0; 238 | shellPath = /bin/sh; 239 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; 240 | }; 241 | 9740EEB61CF901F6004384FC /* Run Script */ = { 242 | isa = PBXShellScriptBuildPhase; 243 | alwaysOutOfDate = 1; 244 | buildActionMask = 2147483647; 245 | files = ( 246 | ); 247 | inputPaths = ( 248 | ); 249 | name = "Run Script"; 250 | outputPaths = ( 251 | ); 252 | runOnlyForDeploymentPostprocessing = 0; 253 | shellPath = /bin/sh; 254 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 255 | }; 256 | /* End PBXShellScriptBuildPhase section */ 257 | 258 | /* Begin PBXSourcesBuildPhase section */ 259 | 331C807D294A63A400263BE5 /* Sources */ = { 260 | isa = PBXSourcesBuildPhase; 261 | buildActionMask = 2147483647; 262 | files = ( 263 | 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */, 264 | ); 265 | runOnlyForDeploymentPostprocessing = 0; 266 | }; 267 | 97C146EA1CF9000F007C117D /* Sources */ = { 268 | isa = PBXSourcesBuildPhase; 269 | buildActionMask = 2147483647; 270 | files = ( 271 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 272 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 273 | ); 274 | runOnlyForDeploymentPostprocessing = 0; 275 | }; 276 | /* End PBXSourcesBuildPhase section */ 277 | 278 | /* Begin PBXTargetDependency section */ 279 | 331C8086294A63A400263BE5 /* PBXTargetDependency */ = { 280 | isa = PBXTargetDependency; 281 | target = 97C146ED1CF9000F007C117D /* Runner */; 282 | targetProxy = 331C8085294A63A400263BE5 /* PBXContainerItemProxy */; 283 | }; 284 | /* End PBXTargetDependency section */ 285 | 286 | /* Begin PBXVariantGroup section */ 287 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 288 | isa = PBXVariantGroup; 289 | children = ( 290 | 97C146FB1CF9000F007C117D /* Base */, 291 | ); 292 | name = Main.storyboard; 293 | sourceTree = ""; 294 | }; 295 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 296 | isa = PBXVariantGroup; 297 | children = ( 298 | 97C147001CF9000F007C117D /* Base */, 299 | ); 300 | name = LaunchScreen.storyboard; 301 | sourceTree = ""; 302 | }; 303 | /* End PBXVariantGroup section */ 304 | 305 | /* Begin XCBuildConfiguration section */ 306 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 307 | isa = XCBuildConfiguration; 308 | buildSettings = { 309 | ALWAYS_SEARCH_USER_PATHS = NO; 310 | CLANG_ANALYZER_NONNULL = YES; 311 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 312 | CLANG_CXX_LIBRARY = "libc++"; 313 | CLANG_ENABLE_MODULES = YES; 314 | CLANG_ENABLE_OBJC_ARC = YES; 315 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 316 | CLANG_WARN_BOOL_CONVERSION = YES; 317 | CLANG_WARN_COMMA = YES; 318 | CLANG_WARN_CONSTANT_CONVERSION = YES; 319 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 320 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 321 | CLANG_WARN_EMPTY_BODY = YES; 322 | CLANG_WARN_ENUM_CONVERSION = YES; 323 | CLANG_WARN_INFINITE_RECURSION = YES; 324 | CLANG_WARN_INT_CONVERSION = YES; 325 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 326 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 327 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 328 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 329 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 330 | CLANG_WARN_STRICT_PROTOTYPES = YES; 331 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 332 | CLANG_WARN_UNREACHABLE_CODE = YES; 333 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 334 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 335 | COPY_PHASE_STRIP = NO; 336 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 337 | ENABLE_NS_ASSERTIONS = NO; 338 | ENABLE_STRICT_OBJC_MSGSEND = YES; 339 | GCC_C_LANGUAGE_STANDARD = gnu99; 340 | GCC_NO_COMMON_BLOCKS = YES; 341 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 342 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 343 | GCC_WARN_UNDECLARED_SELECTOR = YES; 344 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 345 | GCC_WARN_UNUSED_FUNCTION = YES; 346 | GCC_WARN_UNUSED_VARIABLE = YES; 347 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 348 | MTL_ENABLE_DEBUG_INFO = NO; 349 | SDKROOT = iphoneos; 350 | SUPPORTED_PLATFORMS = iphoneos; 351 | TARGETED_DEVICE_FAMILY = "1,2"; 352 | VALIDATE_PRODUCT = YES; 353 | }; 354 | name = Profile; 355 | }; 356 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 357 | isa = XCBuildConfiguration; 358 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 359 | buildSettings = { 360 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 361 | CLANG_ENABLE_MODULES = YES; 362 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 363 | DEVELOPMENT_TEAM = YD8Z9K9UT3; 364 | ENABLE_BITCODE = NO; 365 | INFOPLIST_FILE = Runner/Info.plist; 366 | LD_RUNPATH_SEARCH_PATHS = ( 367 | "$(inherited)", 368 | "@executable_path/Frameworks", 369 | ); 370 | PRODUCT_BUNDLE_IDENTIFIER = com.example.cleanUiCodeImplementation; 371 | PRODUCT_NAME = "$(TARGET_NAME)"; 372 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 373 | SWIFT_VERSION = 5.0; 374 | VERSIONING_SYSTEM = "apple-generic"; 375 | }; 376 | name = Profile; 377 | }; 378 | 331C8088294A63A400263BE5 /* Debug */ = { 379 | isa = XCBuildConfiguration; 380 | baseConfigurationReference = AE0B7B92F70575B8D7E0D07E /* Pods-RunnerTests.debug.xcconfig */; 381 | buildSettings = { 382 | BUNDLE_LOADER = "$(TEST_HOST)"; 383 | CODE_SIGN_STYLE = Automatic; 384 | CURRENT_PROJECT_VERSION = 1; 385 | GENERATE_INFOPLIST_FILE = YES; 386 | MARKETING_VERSION = 1.0; 387 | PRODUCT_BUNDLE_IDENTIFIER = com.example.cleanUiCodeImplementation.RunnerTests; 388 | PRODUCT_NAME = "$(TARGET_NAME)"; 389 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 390 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 391 | SWIFT_VERSION = 5.0; 392 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; 393 | }; 394 | name = Debug; 395 | }; 396 | 331C8089294A63A400263BE5 /* Release */ = { 397 | isa = XCBuildConfiguration; 398 | baseConfigurationReference = 89B67EB44CE7B6631473024E /* Pods-RunnerTests.release.xcconfig */; 399 | buildSettings = { 400 | BUNDLE_LOADER = "$(TEST_HOST)"; 401 | CODE_SIGN_STYLE = Automatic; 402 | CURRENT_PROJECT_VERSION = 1; 403 | GENERATE_INFOPLIST_FILE = YES; 404 | MARKETING_VERSION = 1.0; 405 | PRODUCT_BUNDLE_IDENTIFIER = com.example.cleanUiCodeImplementation.RunnerTests; 406 | PRODUCT_NAME = "$(TARGET_NAME)"; 407 | SWIFT_VERSION = 5.0; 408 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; 409 | }; 410 | name = Release; 411 | }; 412 | 331C808A294A63A400263BE5 /* Profile */ = { 413 | isa = XCBuildConfiguration; 414 | baseConfigurationReference = 640959BDD8F10B91D80A66BE /* Pods-RunnerTests.profile.xcconfig */; 415 | buildSettings = { 416 | BUNDLE_LOADER = "$(TEST_HOST)"; 417 | CODE_SIGN_STYLE = Automatic; 418 | CURRENT_PROJECT_VERSION = 1; 419 | GENERATE_INFOPLIST_FILE = YES; 420 | MARKETING_VERSION = 1.0; 421 | PRODUCT_BUNDLE_IDENTIFIER = com.example.cleanUiCodeImplementation.RunnerTests; 422 | PRODUCT_NAME = "$(TARGET_NAME)"; 423 | SWIFT_VERSION = 5.0; 424 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; 425 | }; 426 | name = Profile; 427 | }; 428 | 97C147031CF9000F007C117D /* Debug */ = { 429 | isa = XCBuildConfiguration; 430 | buildSettings = { 431 | ALWAYS_SEARCH_USER_PATHS = NO; 432 | CLANG_ANALYZER_NONNULL = YES; 433 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 434 | CLANG_CXX_LIBRARY = "libc++"; 435 | CLANG_ENABLE_MODULES = YES; 436 | CLANG_ENABLE_OBJC_ARC = YES; 437 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 438 | CLANG_WARN_BOOL_CONVERSION = YES; 439 | CLANG_WARN_COMMA = YES; 440 | CLANG_WARN_CONSTANT_CONVERSION = YES; 441 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 442 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 443 | CLANG_WARN_EMPTY_BODY = YES; 444 | CLANG_WARN_ENUM_CONVERSION = YES; 445 | CLANG_WARN_INFINITE_RECURSION = YES; 446 | CLANG_WARN_INT_CONVERSION = YES; 447 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 448 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 449 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 450 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 451 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 452 | CLANG_WARN_STRICT_PROTOTYPES = YES; 453 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 454 | CLANG_WARN_UNREACHABLE_CODE = YES; 455 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 456 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 457 | COPY_PHASE_STRIP = NO; 458 | DEBUG_INFORMATION_FORMAT = dwarf; 459 | ENABLE_STRICT_OBJC_MSGSEND = YES; 460 | ENABLE_TESTABILITY = YES; 461 | GCC_C_LANGUAGE_STANDARD = gnu99; 462 | GCC_DYNAMIC_NO_PIC = NO; 463 | GCC_NO_COMMON_BLOCKS = YES; 464 | GCC_OPTIMIZATION_LEVEL = 0; 465 | GCC_PREPROCESSOR_DEFINITIONS = ( 466 | "DEBUG=1", 467 | "$(inherited)", 468 | ); 469 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 470 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 471 | GCC_WARN_UNDECLARED_SELECTOR = YES; 472 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 473 | GCC_WARN_UNUSED_FUNCTION = YES; 474 | GCC_WARN_UNUSED_VARIABLE = YES; 475 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 476 | MTL_ENABLE_DEBUG_INFO = YES; 477 | ONLY_ACTIVE_ARCH = YES; 478 | SDKROOT = iphoneos; 479 | TARGETED_DEVICE_FAMILY = "1,2"; 480 | }; 481 | name = Debug; 482 | }; 483 | 97C147041CF9000F007C117D /* Release */ = { 484 | isa = XCBuildConfiguration; 485 | buildSettings = { 486 | ALWAYS_SEARCH_USER_PATHS = NO; 487 | CLANG_ANALYZER_NONNULL = YES; 488 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 489 | CLANG_CXX_LIBRARY = "libc++"; 490 | CLANG_ENABLE_MODULES = YES; 491 | CLANG_ENABLE_OBJC_ARC = YES; 492 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 493 | CLANG_WARN_BOOL_CONVERSION = YES; 494 | CLANG_WARN_COMMA = YES; 495 | CLANG_WARN_CONSTANT_CONVERSION = YES; 496 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 497 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 498 | CLANG_WARN_EMPTY_BODY = YES; 499 | CLANG_WARN_ENUM_CONVERSION = YES; 500 | CLANG_WARN_INFINITE_RECURSION = YES; 501 | CLANG_WARN_INT_CONVERSION = YES; 502 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 503 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 504 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 505 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 506 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 507 | CLANG_WARN_STRICT_PROTOTYPES = YES; 508 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 509 | CLANG_WARN_UNREACHABLE_CODE = YES; 510 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 511 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 512 | COPY_PHASE_STRIP = NO; 513 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 514 | ENABLE_NS_ASSERTIONS = NO; 515 | ENABLE_STRICT_OBJC_MSGSEND = YES; 516 | GCC_C_LANGUAGE_STANDARD = gnu99; 517 | GCC_NO_COMMON_BLOCKS = YES; 518 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 519 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 520 | GCC_WARN_UNDECLARED_SELECTOR = YES; 521 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 522 | GCC_WARN_UNUSED_FUNCTION = YES; 523 | GCC_WARN_UNUSED_VARIABLE = YES; 524 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 525 | MTL_ENABLE_DEBUG_INFO = NO; 526 | SDKROOT = iphoneos; 527 | SUPPORTED_PLATFORMS = iphoneos; 528 | SWIFT_COMPILATION_MODE = wholemodule; 529 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 530 | TARGETED_DEVICE_FAMILY = "1,2"; 531 | VALIDATE_PRODUCT = YES; 532 | }; 533 | name = Release; 534 | }; 535 | 97C147061CF9000F007C117D /* Debug */ = { 536 | isa = XCBuildConfiguration; 537 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 538 | buildSettings = { 539 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 540 | CLANG_ENABLE_MODULES = YES; 541 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 542 | DEVELOPMENT_TEAM = YD8Z9K9UT3; 543 | ENABLE_BITCODE = NO; 544 | INFOPLIST_FILE = Runner/Info.plist; 545 | LD_RUNPATH_SEARCH_PATHS = ( 546 | "$(inherited)", 547 | "@executable_path/Frameworks", 548 | ); 549 | PRODUCT_BUNDLE_IDENTIFIER = com.example.cleanUiCodeImplementation; 550 | PRODUCT_NAME = "$(TARGET_NAME)"; 551 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 552 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 553 | SWIFT_VERSION = 5.0; 554 | VERSIONING_SYSTEM = "apple-generic"; 555 | }; 556 | name = Debug; 557 | }; 558 | 97C147071CF9000F007C117D /* Release */ = { 559 | isa = XCBuildConfiguration; 560 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 561 | buildSettings = { 562 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 563 | CLANG_ENABLE_MODULES = YES; 564 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 565 | DEVELOPMENT_TEAM = YD8Z9K9UT3; 566 | ENABLE_BITCODE = NO; 567 | INFOPLIST_FILE = Runner/Info.plist; 568 | LD_RUNPATH_SEARCH_PATHS = ( 569 | "$(inherited)", 570 | "@executable_path/Frameworks", 571 | ); 572 | PRODUCT_BUNDLE_IDENTIFIER = com.example.cleanUiCodeImplementation; 573 | PRODUCT_NAME = "$(TARGET_NAME)"; 574 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 575 | SWIFT_VERSION = 5.0; 576 | VERSIONING_SYSTEM = "apple-generic"; 577 | }; 578 | name = Release; 579 | }; 580 | /* End XCBuildConfiguration section */ 581 | 582 | /* Begin XCConfigurationList section */ 583 | 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { 584 | isa = XCConfigurationList; 585 | buildConfigurations = ( 586 | 331C8088294A63A400263BE5 /* Debug */, 587 | 331C8089294A63A400263BE5 /* Release */, 588 | 331C808A294A63A400263BE5 /* Profile */, 589 | ); 590 | defaultConfigurationIsVisible = 0; 591 | defaultConfigurationName = Release; 592 | }; 593 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 594 | isa = XCConfigurationList; 595 | buildConfigurations = ( 596 | 97C147031CF9000F007C117D /* Debug */, 597 | 97C147041CF9000F007C117D /* Release */, 598 | 249021D3217E4FDB00AE95B9 /* Profile */, 599 | ); 600 | defaultConfigurationIsVisible = 0; 601 | defaultConfigurationName = Release; 602 | }; 603 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 604 | isa = XCConfigurationList; 605 | buildConfigurations = ( 606 | 97C147061CF9000F007C117D /* Debug */, 607 | 97C147071CF9000F007C117D /* Release */, 608 | 249021D4217E4FDB00AE95B9 /* Profile */, 609 | ); 610 | defaultConfigurationIsVisible = 0; 611 | defaultConfigurationName = Release; 612 | }; 613 | /* End XCConfigurationList section */ 614 | }; 615 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 616 | } 617 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 37 | 38 | 39 | 40 | 43 | 49 | 50 | 51 | 52 | 53 | 63 | 65 | 71 | 72 | 73 | 74 | 80 | 82 | 88 | 89 | 90 | 91 | 93 | 94 | 97 | 98 | 99 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Flutter 3 | 4 | @UIApplicationMain 5 | @objc class AppDelegate: FlutterAppDelegate { 6 | override func application( 7 | _ application: UIApplication, 8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? 9 | ) -> Bool { 10 | GeneratedPluginRegistrant.register(with: self) 11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "20x20", 5 | "idiom" : "iphone", 6 | "filename" : "Icon-App-20x20@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "20x20", 11 | "idiom" : "iphone", 12 | "filename" : "Icon-App-20x20@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "29x29", 17 | "idiom" : "iphone", 18 | "filename" : "Icon-App-29x29@1x.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "29x29", 23 | "idiom" : "iphone", 24 | "filename" : "Icon-App-29x29@2x.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "29x29", 29 | "idiom" : "iphone", 30 | "filename" : "Icon-App-29x29@3x.png", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "40x40", 35 | "idiom" : "iphone", 36 | "filename" : "Icon-App-40x40@2x.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "40x40", 41 | "idiom" : "iphone", 42 | "filename" : "Icon-App-40x40@3x.png", 43 | "scale" : "3x" 44 | }, 45 | { 46 | "size" : "60x60", 47 | "idiom" : "iphone", 48 | "filename" : "Icon-App-60x60@2x.png", 49 | "scale" : "2x" 50 | }, 51 | { 52 | "size" : "60x60", 53 | "idiom" : "iphone", 54 | "filename" : "Icon-App-60x60@3x.png", 55 | "scale" : "3x" 56 | }, 57 | { 58 | "size" : "20x20", 59 | "idiom" : "ipad", 60 | "filename" : "Icon-App-20x20@1x.png", 61 | "scale" : "1x" 62 | }, 63 | { 64 | "size" : "20x20", 65 | "idiom" : "ipad", 66 | "filename" : "Icon-App-20x20@2x.png", 67 | "scale" : "2x" 68 | }, 69 | { 70 | "size" : "29x29", 71 | "idiom" : "ipad", 72 | "filename" : "Icon-App-29x29@1x.png", 73 | "scale" : "1x" 74 | }, 75 | { 76 | "size" : "29x29", 77 | "idiom" : "ipad", 78 | "filename" : "Icon-App-29x29@2x.png", 79 | "scale" : "2x" 80 | }, 81 | { 82 | "size" : "40x40", 83 | "idiom" : "ipad", 84 | "filename" : "Icon-App-40x40@1x.png", 85 | "scale" : "1x" 86 | }, 87 | { 88 | "size" : "40x40", 89 | "idiom" : "ipad", 90 | "filename" : "Icon-App-40x40@2x.png", 91 | "scale" : "2x" 92 | }, 93 | { 94 | "size" : "76x76", 95 | "idiom" : "ipad", 96 | "filename" : "Icon-App-76x76@1x.png", 97 | "scale" : "1x" 98 | }, 99 | { 100 | "size" : "76x76", 101 | "idiom" : "ipad", 102 | "filename" : "Icon-App-76x76@2x.png", 103 | "scale" : "2x" 104 | }, 105 | { 106 | "size" : "83.5x83.5", 107 | "idiom" : "ipad", 108 | "filename" : "Icon-App-83.5x83.5@2x.png", 109 | "scale" : "2x" 110 | }, 111 | { 112 | "size" : "1024x1024", 113 | "idiom" : "ios-marketing", 114 | "filename" : "Icon-App-1024x1024@1x.png", 115 | "scale" : "1x" 116 | } 117 | ], 118 | "info" : { 119 | "version" : 1, 120 | "author" : "xcode" 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/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/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/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/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/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/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/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/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/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/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/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/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/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/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/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/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/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/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/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/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/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/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/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/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/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/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/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/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/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/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/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 | CFBundleDisplayName 8 | Clean Ui Code Implementation 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | clean_ui_code_implementation 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | $(FLUTTER_BUILD_NAME) 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | $(FLUTTER_BUILD_NUMBER) 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIMainStoryboardFile 30 | Main 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UISupportedInterfaceOrientations~ipad 38 | 39 | UIInterfaceOrientationPortrait 40 | UIInterfaceOrientationPortraitUpsideDown 41 | UIInterfaceOrientationLandscapeLeft 42 | UIInterfaceOrientationLandscapeRight 43 | 44 | UIViewControllerBasedStatusBarAppearance 45 | 46 | CADisableMinimumFrameDurationOnPhone 47 | 48 | UIApplicationSupportsIndirectInputEvents 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /ios/RunnerTests/RunnerTests.swift: -------------------------------------------------------------------------------- 1 | import Flutter 2 | import UIKit 3 | import XCTest 4 | 5 | class RunnerTests: XCTestCase { 6 | 7 | func testExample() { 8 | // If you add code to the Runner application, consider adding tests here. 9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest. 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /lib/core/constants/assets.dart: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:clean_ui_code_implementation/src/product_detail/product_detail_page.dart'; 2 | import 'package:flutter/material.dart'; 3 | 4 | void main() { 5 | runApp(const MyApp()); 6 | } 7 | 8 | class MyApp extends StatelessWidget { 9 | const MyApp({super.key}); 10 | 11 | @override 12 | Widget build(BuildContext context) { 13 | return MaterialApp( 14 | debugShowCheckedModeBanner: false, 15 | title: 'Clean UI Code Implementation', 16 | theme: ThemeData( 17 | colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), 18 | useMaterial3: true, 19 | ), 20 | home: const ProductDetailPage(), 21 | // home: const ProductDetailPagePrev(), 22 | ); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /lib/src/product_detail/local_widgets/bottom_fixed_button.dart: -------------------------------------------------------------------------------- 1 | part of '../product_detail_page.dart'; 2 | 3 | class _BottomFixedButton extends StatelessWidget { 4 | const _BottomFixedButton({Key? key}) : super(key: key); 5 | 6 | @override 7 | Widget build(BuildContext context) { 8 | return MaterialButton( 9 | elevation: 0, 10 | onPressed: () {}, 11 | padding: EdgeInsets.only(bottom: MediaQuery.of(context).padding.bottom), 12 | height: 56 + MediaQuery.of(context).padding.bottom, 13 | minWidth: MediaQuery.of(context).size.width, 14 | color: AppColor.purple, 15 | child: Text( 16 | 'Add to Cart', 17 | style: AppTextStyle.body1.copyWith( 18 | color: AppColor.white, 19 | ), 20 | ), 21 | ); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /lib/src/product_detail/local_widgets/description_view.dart: -------------------------------------------------------------------------------- 1 | part of '../product_detail_page.dart'; 2 | 3 | class _DescriptionInfoView extends StatelessWidget { 4 | const _DescriptionInfoView({Key? key}) : super(key: key); 5 | 6 | @override 7 | Widget build(BuildContext context) { 8 | return Column( 9 | crossAxisAlignment: CrossAxisAlignment.start, 10 | children: [ 11 | /// DESCRIPTION 12 | Text( 13 | 'Description', 14 | style: AppTextStyle.body1, 15 | ), 16 | const SizedBox(height: 10), 17 | const ExpandableTextView( 18 | text: productDescription, 19 | maxLines: 3, 20 | ), 21 | ], 22 | ); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /lib/src/product_detail/local_widgets/expandable_text_view.dart: -------------------------------------------------------------------------------- 1 | import 'package:clean_ui_code_implementation/src/utils/app_color.dart'; 2 | import 'package:clean_ui_code_implementation/src/utils/app_text_style.dart'; 3 | import 'package:flutter/material.dart'; 4 | 5 | class ExpandableTextView extends StatefulWidget { 6 | final String text; 7 | final int maxLines; 8 | final bool isLoading; 9 | 10 | const ExpandableTextView( 11 | {super.key, 12 | required this.text, 13 | required this.maxLines, 14 | this.isLoading = false}); 15 | 16 | factory ExpandableTextView.createSkeleton() => const ExpandableTextView( 17 | text: '', 18 | maxLines: 3, 19 | isLoading: true, 20 | ); 21 | 22 | @override 23 | _ExpandableTextViewState createState() => _ExpandableTextViewState(); 24 | } 25 | 26 | class _ExpandableTextViewState extends State { 27 | bool isExpanded = false; 28 | 29 | @override 30 | Widget build(BuildContext context) { 31 | if (widget.isLoading == true) { 32 | return const Column( 33 | children: [ 34 | SizedBox( 35 | height: 21, 36 | ), 37 | ], 38 | ); 39 | } 40 | 41 | return LayoutBuilder( 42 | builder: (BuildContext context, BoxConstraints constraints) { 43 | final TextPainter textPainter = TextPainter( 44 | text: TextSpan(text: widget.text), 45 | maxLines: widget.maxLines, 46 | textDirection: TextDirection.ltr, 47 | )..layout(maxWidth: constraints.maxWidth); 48 | 49 | final bool isTextOverflowing = textPainter.didExceedMaxLines; 50 | 51 | return Stack( 52 | clipBehavior: Clip.none, 53 | children: [ 54 | Padding( 55 | padding: const EdgeInsets.only(bottom: 21), 56 | child: Text( 57 | widget.text, 58 | style: AppTextStyle.body2.copyWith(color: AppColor.grey), 59 | maxLines: isExpanded ? null : widget.maxLines, 60 | overflow: 61 | isExpanded ? TextOverflow.visible : TextOverflow.ellipsis, 62 | ), 63 | ), 64 | if (isTextOverflowing) 65 | AnimatedPositioned( 66 | right: 0, 67 | bottom: isExpanded ? 0 : 19, 68 | duration: const Duration(milliseconds: 80), 69 | child: Container( 70 | padding: const EdgeInsets.only(left: 20), 71 | height: 21, 72 | decoration: const BoxDecoration( 73 | color: AppColor.white, 74 | ), 75 | child: Align( 76 | alignment: Alignment.centerRight, 77 | child: MaterialButton( 78 | elevation: 0, 79 | color: Colors.white, 80 | minWidth: 0, 81 | height: 0, 82 | padding: EdgeInsets.zero, 83 | onPressed: () { 84 | setState(() { 85 | isExpanded = !isExpanded; 86 | }); 87 | }, 88 | child: Text( 89 | isExpanded ? 'Close' : 'Read More..', 90 | style: PretendardTextStyle.semiBold( 91 | size: 15, 92 | height: 17, 93 | color: AppColor.black, 94 | ), 95 | ), 96 | ), 97 | ), 98 | )), 99 | ], 100 | ); 101 | }, 102 | ); 103 | } 104 | } 105 | -------------------------------------------------------------------------------- /lib/src/product_detail/local_widgets/img_list_view.dart: -------------------------------------------------------------------------------- 1 | part of '../product_detail_page.dart'; 2 | 3 | class _ImgListView extends StatelessWidget { 4 | const _ImgListView({Key? key}) : super(key: key); 5 | 6 | @override 7 | Widget build(BuildContext context) { 8 | return Row( 9 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 10 | children: [ 11 | ...List.generate(productImgList.length, (index) { 12 | final img = productImgList[index]; 13 | final imgSize = (MediaQuery.of(context).size.width - 67) / 4; 14 | return Container( 15 | height: imgSize, 16 | width: imgSize, 17 | decoration: BoxDecoration( 18 | borderRadius: BorderRadius.circular(20), 19 | image: DecorationImage( 20 | image: Image.asset(img).image, 21 | ), 22 | ), 23 | ); 24 | }) 25 | ], 26 | ); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /lib/src/product_detail/local_widgets/leading_info_view.dart: -------------------------------------------------------------------------------- 1 | part of '../product_detail_page.dart'; 2 | 3 | class _LeadingInfoView extends StatelessWidget { 4 | const _LeadingInfoView({Key? key}) : super(key: key); 5 | 6 | @override 7 | Widget build(BuildContext context) { 8 | return SizedBox( 9 | width: double.infinity, 10 | child: Wrap( 11 | crossAxisAlignment: WrapCrossAlignment.end, 12 | alignment: WrapAlignment.spaceBetween, 13 | children: [ 14 | Wrap( 15 | direction: Axis.vertical, 16 | children: [ 17 | Text( 18 | 'Men\'s Printed Pullover Hoodie ', 19 | style: AppTextStyle.body3.copyWith( 20 | color: AppColor.grey, 21 | ), 22 | ), 23 | const SizedBox(height: 8), 24 | // NAME 25 | Text( 26 | 'Nike Club Fleece', 27 | style: AppTextStyle.headline3, 28 | ), 29 | ], 30 | ), 31 | 32 | Wrap( 33 | direction: Axis.vertical, 34 | children: [ 35 | Text( 36 | 'Price', 37 | style: AppTextStyle.body3.copyWith( 38 | color: AppColor.grey, 39 | ), 40 | ), 41 | const SizedBox(height: 8), 42 | Text( 43 | '\$120', 44 | style: AppTextStyle.headline3, 45 | ), 46 | ], 47 | ), 48 | // CATEGORY 49 | ], 50 | ), 51 | ); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /lib/src/product_detail/local_widgets/price_info_view.dart: -------------------------------------------------------------------------------- 1 | part of '../product_detail_page.dart'; 2 | 3 | class _PriceInfoView extends StatelessWidget { 4 | const _PriceInfoView({Key? key}) : super(key: key); 5 | 6 | @override 7 | Widget build(BuildContext context) { 8 | return Row( 9 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 10 | children: [ 11 | Column( 12 | crossAxisAlignment: CrossAxisAlignment.start, 13 | children: [ 14 | Text( 15 | 'Total Price', 16 | style: AppTextStyle.body1, 17 | ), 18 | const SizedBox(height: 5), 19 | Text( 20 | 'with VAT, SD', 21 | style: AppTextStyle.body4.copyWith( 22 | color: AppColor.grey, 23 | ), 24 | ) 25 | ], 26 | ), 27 | Text( 28 | '\$125', 29 | style: AppTextStyle.body1, 30 | ) 31 | ], 32 | ); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /lib/src/product_detail/local_widgets/product_detail_header.dart: -------------------------------------------------------------------------------- 1 | part of '../product_detail_page.dart'; 2 | 3 | class _Header extends StatelessWidget { 4 | const _Header({Key? key}) : super(key: key); 5 | 6 | @override 7 | Widget build(BuildContext context) { 8 | return Container( 9 | height: 386, 10 | decoration: BoxDecoration( 11 | color: const Color(0xFFF2F2F2), 12 | image: DecorationImage( 13 | image: Image.asset(Assets.productImg0).image, 14 | fit: BoxFit.fitHeight), 15 | ), 16 | ); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /lib/src/product_detail/local_widgets/product_detail_scaffold.dart: -------------------------------------------------------------------------------- 1 | part of '../product_detail_page.dart'; 2 | 3 | class _Scaffold extends StatelessWidget { 4 | const _Scaffold({ 5 | Key? key, 6 | required this.header, 7 | required this.leadingInfoView, 8 | required this.imgListView, 9 | required this.sizeInfoView, 10 | required this.descriptionView, 11 | required this.reviewListView, 12 | required this.priceInfoView, 13 | required this.bottomFixedButton, 14 | }) : super(key: key); 15 | 16 | final Widget header; 17 | final Widget leadingInfoView; 18 | final Widget imgListView; 19 | final Widget sizeInfoView; 20 | final Widget descriptionView; 21 | final Widget reviewListView; 22 | final Widget priceInfoView; 23 | final Widget bottomFixedButton; 24 | 25 | @override 26 | Widget build(BuildContext context) { 27 | return Scaffold( 28 | backgroundColor: Colors.white, 29 | body: Stack( 30 | children: [ 31 | SingleChildScrollView( 32 | child: Column( 33 | children: [ 34 | header, 35 | const SizedBox(height: 15), 36 | Padding( 37 | padding: const EdgeInsets.symmetric(horizontal: 20), 38 | child: Column( 39 | crossAxisAlignment: CrossAxisAlignment.start, 40 | children: [ 41 | leadingInfoView, 42 | const SizedBox(height: 20), 43 | imgListView, 44 | const SizedBox(height: 15), 45 | sizeInfoView, 46 | const SizedBox(height: 20), 47 | descriptionView, 48 | const SizedBox(height: 15), 49 | reviewListView, 50 | const SizedBox(height: 20), 51 | priceInfoView, 52 | SizedBox( 53 | height: MediaQuery.of(context).padding.bottom + 96, 54 | ) 55 | ], 56 | ), 57 | ), 58 | ], 59 | ), 60 | ), 61 | 62 | /// BOTTOM FIXED BUTTON 63 | Positioned( 64 | bottom: 0, 65 | child: bottomFixedButton, 66 | ) 67 | ], 68 | ), 69 | ); 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /lib/src/product_detail/local_widgets/review_list_view.dart: -------------------------------------------------------------------------------- 1 | part of '../product_detail_page.dart'; 2 | 3 | class _ReviewListView extends StatelessWidget { 4 | const _ReviewListView({Key? key}) : super(key: key); 5 | 6 | @override 7 | Widget build(BuildContext context) { 8 | return Column( 9 | children: [ 10 | Row( 11 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 12 | children: [ 13 | Text( 14 | 'Reviews', 15 | style: AppTextStyle.body1, 16 | ), 17 | TextButton( 18 | onPressed: () {}, 19 | child: Text( 20 | 'View All', 21 | style: AppTextStyle.body3.copyWith( 22 | color: AppColor.grey, 23 | ), 24 | )) 25 | ], 26 | ), 27 | const SizedBox(height: 16), 28 | ListView.builder( 29 | padding: EdgeInsets.zero, 30 | physics: const NeverScrollableScrollPhysics(), 31 | shrinkWrap: true, 32 | itemCount: 1, 33 | itemBuilder: (context, index) { 34 | return Column( 35 | children: [ 36 | Row( 37 | children: [ 38 | // PROFILE IMAGE 39 | Container( 40 | height: 40, 41 | width: 40, 42 | decoration: BoxDecoration( 43 | shape: BoxShape.circle, 44 | image: DecorationImage( 45 | image: Image.asset( 46 | 'assets/images/avatar.png', 47 | ).image, 48 | ), 49 | ), 50 | ), 51 | const SizedBox(width: 10), 52 | 53 | Column( 54 | crossAxisAlignment: CrossAxisAlignment.start, 55 | children: [ 56 | // REVIEWER NAME 57 | Text( 58 | 'Ronald Richards', 59 | style: AppTextStyle.body2, 60 | ), 61 | const SizedBox(height: 5), 62 | Row( 63 | mainAxisAlignment: MainAxisAlignment.center, 64 | children: [ 65 | SvgPicture.asset( 66 | 'assets/icons/clock.svg', 67 | ), 68 | const SizedBox(width: 5), 69 | Text( 70 | '13 Sep, 2020', 71 | style: AppTextStyle.body4.copyWith( 72 | color: AppColor.grey, 73 | ), 74 | ) 75 | ], 76 | ), 77 | // REVIEWED DATE 78 | ], 79 | ), 80 | const Spacer(), 81 | Column( 82 | children: [ 83 | Text.rich( 84 | TextSpan( 85 | children: [ 86 | TextSpan( 87 | text: '4.8', 88 | style: AppTextStyle.body2, 89 | ), 90 | TextSpan( 91 | text: ' rating', 92 | style: AppTextStyle.body4.copyWith( 93 | color: AppColor.grey, 94 | ), 95 | ), 96 | ], 97 | ), 98 | ), 99 | const SizedBox(height: 5), 100 | SvgPicture.asset('assets/icons/group_star.svg') 101 | ], 102 | ), 103 | ], 104 | ), 105 | const SizedBox(height: 10), 106 | Text( 107 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque malesuada eget vitae amet', 108 | style: AppTextStyle.body2.copyWith( 109 | color: AppColor.grey, 110 | ), 111 | ) 112 | ], 113 | ); 114 | }, 115 | ), 116 | ], 117 | ); 118 | } 119 | } 120 | -------------------------------------------------------------------------------- /lib/src/product_detail/local_widgets/size_info_view.dart: -------------------------------------------------------------------------------- 1 | part of '../product_detail_page.dart'; 2 | 3 | class _SizeInfoView extends StatelessWidget { 4 | const _SizeInfoView({Key? key}) : super(key: key); 5 | 6 | @override 7 | Widget build(BuildContext context) { 8 | return Column( 9 | children: [ 10 | /// SIZE 11 | Row( 12 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 13 | children: [ 14 | Text( 15 | 'Size', 16 | style: AppTextStyle.body1, 17 | ), 18 | Text( 19 | 'Size Guide', 20 | style: AppTextStyle.body2, 21 | ) 22 | ], 23 | ), 24 | const SizedBox(height: 10), 25 | Row( 26 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 27 | children: [ 28 | ...List.generate(sizeOptions.length, (index) { 29 | final option = sizeOptions[index]; 30 | final buttonSize = (MediaQuery.of(context).size.width - 76) / 5; 31 | return ElevatedButton( 32 | style: ElevatedButton.styleFrom( 33 | padding: EdgeInsets.zero, 34 | minimumSize: Size(buttonSize, buttonSize), 35 | elevation: 0, 36 | shape: RoundedRectangleBorder( 37 | borderRadius: BorderRadius.circular(10), 38 | ), 39 | 40 | backgroundColor: AppColor.lightGrey, 41 | // background (button) color 42 | foregroundColor: AppColor.black, // foreground (text) color 43 | ), 44 | onPressed: () {}, 45 | child: Text(option), 46 | ); 47 | }) 48 | ], 49 | ), 50 | ], 51 | ); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /lib/src/product_detail/product_detail_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:clean_ui_code_implementation/src/product_detail/local_widgets/expandable_text_view.dart'; 2 | import 'package:clean_ui_code_implementation/src/utils/app_color.dart'; 3 | import 'package:clean_ui_code_implementation/src/utils/app_text_style.dart'; 4 | import 'package:clean_ui_code_implementation/src/utils/assets.dart'; 5 | import 'package:clean_ui_code_implementation/src/utils/constants.dart'; 6 | import 'package:flutter/material.dart'; 7 | import 'package:flutter_svg/flutter_svg.dart'; 8 | 9 | part 'local_widgets/bottom_fixed_button.dart'; 10 | part 'local_widgets/description_view.dart'; 11 | part 'local_widgets/img_list_view.dart'; 12 | part 'local_widgets/leading_info_view.dart'; 13 | part 'local_widgets/price_info_view.dart'; 14 | part 'local_widgets/product_detail_header.dart'; 15 | part 'local_widgets/product_detail_scaffold.dart'; 16 | part 'local_widgets/review_list_view.dart'; 17 | part 'local_widgets/size_info_view.dart'; 18 | 19 | class ProductDetailPage extends StatelessWidget { 20 | const ProductDetailPage({Key? key}) : super(key: key); 21 | 22 | @override 23 | Widget build(BuildContext context) { 24 | return const _Scaffold( 25 | header: _Header(), 26 | leadingInfoView: _LeadingInfoView(), 27 | imgListView: _ImgListView(), 28 | sizeInfoView: _SizeInfoView(), 29 | descriptionView: _DescriptionInfoView(), 30 | reviewListView: _ReviewListView(), 31 | priceInfoView: _PriceInfoView(), 32 | bottomFixedButton: _BottomFixedButton(), 33 | ); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /lib/src/product_detail/product_detail_page_prev.dart: -------------------------------------------------------------------------------- 1 | import 'package:clean_ui_code_implementation/src/product_detail/local_widgets/expandable_text_view.dart'; 2 | import 'package:clean_ui_code_implementation/src/utils/app_color.dart'; 3 | import 'package:clean_ui_code_implementation/src/utils/app_text_style.dart'; 4 | import 'package:clean_ui_code_implementation/src/utils/assets.dart'; 5 | import 'package:clean_ui_code_implementation/src/utils/constants.dart'; 6 | import 'package:flutter/material.dart'; 7 | import 'package:flutter_svg/flutter_svg.dart'; 8 | 9 | class ProductDetailPagePrev extends StatelessWidget { 10 | const ProductDetailPagePrev({Key? key}) : super(key: key); 11 | 12 | @override 13 | Widget build(BuildContext context) { 14 | return Scaffold( 15 | body: Stack( 16 | children: [ 17 | SingleChildScrollView( 18 | child: Column( 19 | children: [ 20 | /// HEADER 21 | Container( 22 | height: 386, 23 | decoration: BoxDecoration( 24 | image: DecorationImage( 25 | image: Image.asset(Assets.productImg0).image, 26 | fit: BoxFit.cover), 27 | ), 28 | ), 29 | const SizedBox(height: 15), 30 | 31 | Padding( 32 | padding: const EdgeInsets.symmetric(horizontal: 20), 33 | child: Column( 34 | crossAxisAlignment: CrossAxisAlignment.start, 35 | children: [ 36 | /// PRODUCT INFO 37 | SizedBox( 38 | width: double.infinity, 39 | child: Wrap( 40 | crossAxisAlignment: WrapCrossAlignment.end, 41 | alignment: WrapAlignment.spaceBetween, 42 | children: [ 43 | Wrap( 44 | direction: Axis.vertical, 45 | children: [ 46 | Text( 47 | 'Men\'s Printed Pullover Hoodie ', 48 | style: AppTextStyle.body3.copyWith( 49 | color: AppColor.grey, 50 | ), 51 | ), 52 | const SizedBox(height: 8), 53 | // NAME 54 | Text( 55 | 'Nike Club Fleece', 56 | style: AppTextStyle.headline3, 57 | ), 58 | ], 59 | ), 60 | 61 | Wrap( 62 | direction: Axis.vertical, 63 | children: [ 64 | Text( 65 | 'Price', 66 | style: AppTextStyle.body3.copyWith( 67 | color: AppColor.grey, 68 | ), 69 | ), 70 | const SizedBox(height: 8), 71 | Text( 72 | '\$120', 73 | style: AppTextStyle.headline3, 74 | ), 75 | ], 76 | ), 77 | // CATEGORY 78 | ], 79 | ), 80 | ), 81 | const SizedBox(height: 20), 82 | 83 | /// PRODUCT PICTURE LIST 84 | Row( 85 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 86 | children: [ 87 | ...List.generate(productImgList.length, (index) { 88 | final img = productImgList[index]; 89 | final imgSize = 90 | (MediaQuery.of(context).size.width - 67) / 4; 91 | return Container( 92 | height: imgSize, 93 | width: imgSize, 94 | decoration: BoxDecoration( 95 | borderRadius: BorderRadius.circular(20), 96 | image: DecorationImage( 97 | image: Image.asset(img).image, 98 | ), 99 | ), 100 | ); 101 | }) 102 | ], 103 | ), 104 | const SizedBox(height: 15), 105 | 106 | /// SIZE 107 | Row( 108 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 109 | children: [ 110 | Text( 111 | 'Size', 112 | style: AppTextStyle.body1, 113 | ), 114 | Text( 115 | 'Size Guide', 116 | style: AppTextStyle.body2, 117 | ) 118 | ], 119 | ), 120 | const SizedBox(height: 10), 121 | Row( 122 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 123 | children: [ 124 | ...List.generate(sizeOptions.length, (index) { 125 | final option = sizeOptions[index]; 126 | final buttonSize = 127 | (MediaQuery.of(context).size.width - 76) / 5; 128 | return ElevatedButton( 129 | style: ElevatedButton.styleFrom( 130 | padding: EdgeInsets.zero, 131 | minimumSize: Size(buttonSize, buttonSize), 132 | elevation: 0, 133 | shape: RoundedRectangleBorder( 134 | borderRadius: BorderRadius.circular(10), 135 | ), 136 | 137 | backgroundColor: AppColor.lightGrey, 138 | // background (button) color 139 | foregroundColor: 140 | AppColor.black, // foreground (text) color 141 | ), 142 | onPressed: () {}, 143 | child: Text(option), 144 | ); 145 | }) 146 | ], 147 | ), 148 | const SizedBox(height: 20), 149 | 150 | /// DESCRIPTION 151 | Text( 152 | 'Description', 153 | style: AppTextStyle.body1, 154 | ), 155 | const SizedBox(height: 10), 156 | const ExpandableTextView( 157 | text: productDescription, 158 | maxLines: 3, 159 | ), 160 | 161 | /// REVIEWS 162 | Row( 163 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 164 | children: [ 165 | Text( 166 | 'Reviews', 167 | style: AppTextStyle.body1, 168 | ), 169 | TextButton( 170 | onPressed: () {}, 171 | child: Text( 172 | 'View All', 173 | style: AppTextStyle.body3.copyWith( 174 | color: AppColor.grey, 175 | ), 176 | )) 177 | ], 178 | ), 179 | 180 | const SizedBox(height: 16), 181 | ListView.builder( 182 | padding: EdgeInsets.zero, 183 | physics: const NeverScrollableScrollPhysics(), 184 | shrinkWrap: true, 185 | itemCount: 1, 186 | itemBuilder: (context, index) { 187 | return Column( 188 | children: [ 189 | Row( 190 | children: [ 191 | // PROFILE IMAGE 192 | Container( 193 | height: 40, 194 | width: 40, 195 | decoration: BoxDecoration( 196 | shape: BoxShape.circle, 197 | image: DecorationImage( 198 | image: Image.asset( 199 | 'assets/images/avatar.png', 200 | ).image, 201 | ), 202 | ), 203 | ), 204 | const SizedBox(width: 10), 205 | 206 | Column( 207 | crossAxisAlignment: 208 | CrossAxisAlignment.start, 209 | children: [ 210 | // REVIEWER NAME 211 | Text( 212 | 'Ronald Richards', 213 | style: AppTextStyle.body2, 214 | ), 215 | const SizedBox(height: 5), 216 | Row( 217 | mainAxisAlignment: 218 | MainAxisAlignment.center, 219 | children: [ 220 | SvgPicture.asset( 221 | Assets.clock, 222 | ), 223 | const SizedBox(width: 5), 224 | Text( 225 | '13 Sep, 2020', 226 | style: AppTextStyle.body4.copyWith( 227 | color: AppColor.grey, 228 | ), 229 | ) 230 | ], 231 | ), 232 | // REVIEWED DATE 233 | ], 234 | ), 235 | const Spacer(), 236 | Column( 237 | children: [ 238 | Text.rich( 239 | TextSpan( 240 | children: [ 241 | TextSpan( 242 | text: '4.8', 243 | style: AppTextStyle.body2, 244 | ), 245 | TextSpan( 246 | text: ' rating', 247 | style: 248 | AppTextStyle.body4.copyWith( 249 | color: AppColor.grey, 250 | ), 251 | ), 252 | ], 253 | ), 254 | ), 255 | const SizedBox(height: 5), 256 | SvgPicture.asset( 257 | 'assets/icons/group_star.svg') 258 | ], 259 | ), 260 | ], 261 | ), 262 | const SizedBox(height: 10), 263 | Text( 264 | 'Lorem ipsum dolor sit amet,...', 265 | style: AppTextStyle.body2.copyWith( 266 | color: AppColor.grey, 267 | ), 268 | ) 269 | ], 270 | ); 271 | }, 272 | ), 273 | 274 | const SizedBox(height: 20), 275 | 276 | /// TOTAL Price 277 | Row( 278 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 279 | children: [ 280 | Column( 281 | crossAxisAlignment: CrossAxisAlignment.start, 282 | children: [ 283 | Text( 284 | 'Total Price', 285 | style: AppTextStyle.body1, 286 | ), 287 | const SizedBox(height: 5), 288 | Text( 289 | 'with VAT, SD', 290 | style: AppTextStyle.body4.copyWith( 291 | color: AppColor.grey, 292 | ), 293 | ) 294 | ], 295 | ), 296 | Text( 297 | '\$125', 298 | style: AppTextStyle.body1, 299 | ) 300 | ], 301 | ), 302 | 303 | SizedBox( 304 | height: MediaQuery.of(context).padding.bottom + 96, 305 | ) 306 | ], 307 | ), 308 | ), 309 | ], 310 | ), 311 | ), 312 | 313 | /// BOTTOM FIXED BUTTON 314 | Positioned( 315 | bottom: 0, 316 | child: MaterialButton( 317 | elevation: 0, 318 | onPressed: () {}, 319 | padding: EdgeInsets.only( 320 | bottom: MediaQuery.of(context).padding.bottom), 321 | height: 56 + MediaQuery.of(context).padding.bottom, 322 | minWidth: MediaQuery.of(context).size.width, 323 | color: AppColor.purple, 324 | child: Text( 325 | 'Add to Cart', 326 | style: AppTextStyle.body1.copyWith( 327 | color: AppColor.white, 328 | ), 329 | ), 330 | ), 331 | ) 332 | ], 333 | ), 334 | ); 335 | } 336 | } 337 | -------------------------------------------------------------------------------- /lib/src/utils/app_color.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | abstract class AppColor { 4 | AppColor._(); 5 | 6 | static const purple = Color(0xFF9775FA); 7 | static const black = Color(0xFF1D1E20); 8 | static const grey = Color(0xFF8F959E); 9 | static const lightGrey = Color(0xFFF5F6FA); 10 | static const white = Color(0xFFFFFFFF); 11 | } 12 | -------------------------------------------------------------------------------- /lib/src/utils/app_text_style.dart: -------------------------------------------------------------------------------- 1 | import 'package:clean_ui_code_implementation/src/utils/app_color.dart'; 2 | import 'package:flutter/material.dart'; 3 | 4 | abstract class AppTextStyle { 5 | static TextStyle headline1 = PretendardTextStyle.bold( 6 | size: 32, 7 | height: 37, 8 | ); 9 | 10 | static TextStyle headline2 = PretendardTextStyle.semiBold( 11 | size: 28, 12 | height: 31, 13 | ); 14 | 15 | static TextStyle headline3 = PretendardTextStyle.semiBold( 16 | size: 22, 17 | height: 24, 18 | ); 19 | 20 | static TextStyle paragraph1 = PretendardTextStyle.bold( 21 | size: 34, 22 | height: 48, 23 | ); 24 | 25 | static TextStyle paragraph2 = PretendardTextStyle.semiBold( 26 | size: 28, 27 | height: 39, 28 | ); 29 | 30 | static TextStyle paragraph3 = PretendardTextStyle.medium( 31 | size: 22, 32 | height: 31, 33 | ); 34 | 35 | static TextStyle body1 = PretendardTextStyle.semiBold( 36 | size: 17, 37 | height: 19, 38 | ); 39 | 40 | static TextStyle body2 = PretendardTextStyle.medium( 41 | size: 15, 42 | height: 17, 43 | ); 44 | 45 | static TextStyle body3 = PretendardTextStyle.regular( 46 | size: 13, 47 | height: 14, 48 | ); 49 | 50 | static TextStyle body4 = PretendardTextStyle.regular( 51 | size: 11, 52 | height: 12, 53 | ); 54 | } 55 | 56 | class PretendardTextStyle extends TextStyle { 57 | static const interBold = 'inter_bold'; 58 | static const interSemiBold = 'inter_semiBold'; 59 | static const interMedium = 'inter_medium'; 60 | static const interRegular = 'inter_regular'; 61 | 62 | const PretendardTextStyle( 63 | String fontFamily, 64 | Color color, 65 | double size, 66 | FontWeight fontWeight, 67 | double height, 68 | double? letterSpacing, 69 | ) : super( 70 | fontFamily: fontFamily, 71 | color: color, 72 | fontSize: size, 73 | fontWeight: fontWeight, 74 | height: height / size, 75 | letterSpacing: letterSpacing, 76 | leadingDistribution: TextLeadingDistribution.even); 77 | 78 | factory PretendardTextStyle.bold({ 79 | required double size, 80 | Color color = AppColor.black, 81 | FontWeight fontWeight = FontWeight.normal, 82 | double height = 1.0, 83 | double? letterSpacing, 84 | }) => 85 | PretendardTextStyle( 86 | interBold, color, size, fontWeight, height, letterSpacing); 87 | 88 | factory PretendardTextStyle.semiBold({ 89 | required double size, 90 | Color color = AppColor.black, 91 | FontWeight fontWeight = FontWeight.normal, 92 | double height = 1.0, 93 | double? letterSpacing, 94 | }) => 95 | PretendardTextStyle( 96 | interSemiBold, color, size, fontWeight, height, letterSpacing); 97 | 98 | factory PretendardTextStyle.medium({ 99 | required double size, 100 | Color color = AppColor.black, 101 | FontWeight fontWeight = FontWeight.normal, 102 | double height = 1.0, 103 | double? letterSpacing, 104 | }) => 105 | PretendardTextStyle( 106 | interMedium, color, size, fontWeight, height, letterSpacing); 107 | 108 | factory PretendardTextStyle.regular({ 109 | required double size, 110 | Color color = AppColor.black, 111 | FontWeight fontWeight = FontWeight.normal, 112 | double height = 1.0, 113 | double? letterSpacing, 114 | }) => 115 | PretendardTextStyle( 116 | interRegular, color, size, fontWeight, height, letterSpacing); 117 | } 118 | -------------------------------------------------------------------------------- /lib/src/utils/assets.dart: -------------------------------------------------------------------------------- 1 | class Assets { 2 | Assets._(); 3 | 4 | static const String brandLogo = 'assets/icons/brand_logo.svg'; 5 | static const String clock = 'assets/icons/clock.svg'; 6 | static const String groupedStar = 'assets/icons/group_star.svg'; 7 | static const String avatar = 'assets/images/avatar.png'; 8 | static const String productImg0 = 'assets/images/product_img_0.png'; 9 | static const String productImg1 = 'assets/images/product_img_1.png'; 10 | static const String productImg2 = 'assets/images/product_img_2.png'; 11 | static const String productImg3 = 'assets/images/product_img_3.png'; 12 | static const String productImg4 = 'assets/images/product_img_4.png'; 13 | } 14 | -------------------------------------------------------------------------------- /lib/src/utils/constants.dart: -------------------------------------------------------------------------------- 1 | import 'package:clean_ui_code_implementation/src/utils/assets.dart'; 2 | 3 | final List productImgList = [ 4 | Assets.productImg1, 5 | Assets.productImg2, 6 | Assets.productImg3, 7 | Assets.productImg4, 8 | ]; 9 | 10 | final List sizeOptions = ['S', 'M', 'L', 'XL', '2XL']; 11 | 12 | const String productDescription = 13 | 'The Nike Throwback Pullover Hoodie is made from premium French terry fabric that blends a performance feel with its vintage-inspired design. The hoodie features a relaxed fit for maximum comfort, making it perfect for both athletic activities and casual wear. The ribbed cuffs and hem provide a snug fit, while the adjustable drawstring hood adds a stylish touch and allows for personalized comfort. Whether you\'re hitting the gym or just going for a laid-back look, the Nike Throwback Pullover Hoodie effortlessly combines performance and style'; 14 | -------------------------------------------------------------------------------- /pubspec.lock: -------------------------------------------------------------------------------- 1 | # Generated by pub 2 | # See https://dart.dev/tools/pub/glossary#lockfile 3 | packages: 4 | args: 5 | dependency: transitive 6 | description: 7 | name: args 8 | sha256: eef6c46b622e0494a36c5a12d10d77fb4e855501a91c1b9ef9339326e58f0596 9 | url: "https://pub.dev" 10 | source: hosted 11 | version: "2.4.2" 12 | async: 13 | dependency: transitive 14 | description: 15 | name: async 16 | sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" 17 | url: "https://pub.dev" 18 | source: hosted 19 | version: "2.11.0" 20 | boolean_selector: 21 | dependency: transitive 22 | description: 23 | name: boolean_selector 24 | sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" 25 | url: "https://pub.dev" 26 | source: hosted 27 | version: "2.1.1" 28 | characters: 29 | dependency: transitive 30 | description: 31 | name: characters 32 | sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" 33 | url: "https://pub.dev" 34 | source: hosted 35 | version: "1.3.0" 36 | clock: 37 | dependency: transitive 38 | description: 39 | name: clock 40 | sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf 41 | url: "https://pub.dev" 42 | source: hosted 43 | version: "1.1.1" 44 | collection: 45 | dependency: transitive 46 | description: 47 | name: collection 48 | sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c" 49 | url: "https://pub.dev" 50 | source: hosted 51 | version: "1.17.1" 52 | cupertino_icons: 53 | dependency: "direct main" 54 | description: 55 | name: cupertino_icons 56 | sha256: d57953e10f9f8327ce64a508a355f0b1ec902193f66288e8cb5070e7c47eeb2d 57 | url: "https://pub.dev" 58 | source: hosted 59 | version: "1.0.6" 60 | fake_async: 61 | dependency: transitive 62 | description: 63 | name: fake_async 64 | sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" 65 | url: "https://pub.dev" 66 | source: hosted 67 | version: "1.3.1" 68 | flutter: 69 | dependency: "direct main" 70 | description: flutter 71 | source: sdk 72 | version: "0.0.0" 73 | flutter_lints: 74 | dependency: "direct dev" 75 | description: 76 | name: flutter_lints 77 | sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04 78 | url: "https://pub.dev" 79 | source: hosted 80 | version: "2.0.3" 81 | flutter_svg: 82 | dependency: "direct main" 83 | description: 84 | name: flutter_svg 85 | sha256: d39e7f95621fc84376bc0f7d504f05c3a41488c562f4a8ad410569127507402c 86 | url: "https://pub.dev" 87 | source: hosted 88 | version: "2.0.9" 89 | flutter_test: 90 | dependency: "direct dev" 91 | description: flutter 92 | source: sdk 93 | version: "0.0.0" 94 | js: 95 | dependency: transitive 96 | description: 97 | name: js 98 | sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3 99 | url: "https://pub.dev" 100 | source: hosted 101 | version: "0.6.7" 102 | lints: 103 | dependency: transitive 104 | description: 105 | name: lints 106 | sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452" 107 | url: "https://pub.dev" 108 | source: hosted 109 | version: "2.1.1" 110 | matcher: 111 | dependency: transitive 112 | description: 113 | name: matcher 114 | sha256: "6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb" 115 | url: "https://pub.dev" 116 | source: hosted 117 | version: "0.12.15" 118 | material_color_utilities: 119 | dependency: transitive 120 | description: 121 | name: material_color_utilities 122 | sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724 123 | url: "https://pub.dev" 124 | source: hosted 125 | version: "0.2.0" 126 | meta: 127 | dependency: transitive 128 | description: 129 | name: meta 130 | sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" 131 | url: "https://pub.dev" 132 | source: hosted 133 | version: "1.9.1" 134 | path: 135 | dependency: transitive 136 | description: 137 | name: path 138 | sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" 139 | url: "https://pub.dev" 140 | source: hosted 141 | version: "1.8.3" 142 | path_parsing: 143 | dependency: transitive 144 | description: 145 | name: path_parsing 146 | sha256: e3e67b1629e6f7e8100b367d3db6ba6af4b1f0bb80f64db18ef1fbabd2fa9ccf 147 | url: "https://pub.dev" 148 | source: hosted 149 | version: "1.0.1" 150 | petitparser: 151 | dependency: transitive 152 | description: 153 | name: petitparser 154 | sha256: cb3798bef7fc021ac45b308f4b51208a152792445cce0448c9a4ba5879dd8750 155 | url: "https://pub.dev" 156 | source: hosted 157 | version: "5.4.0" 158 | sky_engine: 159 | dependency: transitive 160 | description: flutter 161 | source: sdk 162 | version: "0.0.99" 163 | source_span: 164 | dependency: transitive 165 | description: 166 | name: source_span 167 | sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250 168 | url: "https://pub.dev" 169 | source: hosted 170 | version: "1.9.1" 171 | stack_trace: 172 | dependency: transitive 173 | description: 174 | name: stack_trace 175 | sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 176 | url: "https://pub.dev" 177 | source: hosted 178 | version: "1.11.0" 179 | stream_channel: 180 | dependency: transitive 181 | description: 182 | name: stream_channel 183 | sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" 184 | url: "https://pub.dev" 185 | source: hosted 186 | version: "2.1.1" 187 | string_scanner: 188 | dependency: transitive 189 | description: 190 | name: string_scanner 191 | sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" 192 | url: "https://pub.dev" 193 | source: hosted 194 | version: "1.2.0" 195 | term_glyph: 196 | dependency: transitive 197 | description: 198 | name: term_glyph 199 | sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 200 | url: "https://pub.dev" 201 | source: hosted 202 | version: "1.2.1" 203 | test_api: 204 | dependency: transitive 205 | description: 206 | name: test_api 207 | sha256: eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb 208 | url: "https://pub.dev" 209 | source: hosted 210 | version: "0.5.1" 211 | vector_graphics: 212 | dependency: transitive 213 | description: 214 | name: vector_graphics 215 | sha256: "0f0c746dd2d6254a0057218ff980fc7f5670fd0fcf5e4db38a490d31eed4ad43" 216 | url: "https://pub.dev" 217 | source: hosted 218 | version: "1.1.9+1" 219 | vector_graphics_codec: 220 | dependency: transitive 221 | description: 222 | name: vector_graphics_codec 223 | sha256: "0edf6d630d1bfd5589114138ed8fada3234deacc37966bec033d3047c29248b7" 224 | url: "https://pub.dev" 225 | source: hosted 226 | version: "1.1.9+1" 227 | vector_graphics_compiler: 228 | dependency: transitive 229 | description: 230 | name: vector_graphics_compiler 231 | sha256: d24333727332d9bd20990f1483af4e09abdb9b1fc7c3db940b56ab5c42790c26 232 | url: "https://pub.dev" 233 | source: hosted 234 | version: "1.1.9+1" 235 | vector_math: 236 | dependency: transitive 237 | description: 238 | name: vector_math 239 | sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" 240 | url: "https://pub.dev" 241 | source: hosted 242 | version: "2.1.4" 243 | xml: 244 | dependency: transitive 245 | description: 246 | name: xml 247 | sha256: "5bc72e1e45e941d825fd7468b9b4cc3b9327942649aeb6fc5cdbf135f0a86e84" 248 | url: "https://pub.dev" 249 | source: hosted 250 | version: "6.3.0" 251 | sdks: 252 | dart: ">=3.0.6 <4.0.0" 253 | flutter: ">=3.7.0-0" 254 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: clean_ui_code_implementation 2 | description: A new Flutter project. 3 | # The following line prevents the package from being accidentally published to 4 | # pub.dev using `flutter pub publish`. This is preferred for private packages. 5 | publish_to: 'none' # Remove this line if you wish to publish to pub.dev 6 | 7 | # The following defines the version and build number for your application. 8 | # A version number is three numbers separated by dots, like 1.2.43 9 | # followed by an optional build number separated by a +. 10 | # Both the version and the builder number may be overridden in flutter 11 | # build by specifying --build-name and --build-number, respectively. 12 | # In Android, build-name is used as versionName while build-number used as versionCode. 13 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning 14 | # In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion. 15 | # Read more about iOS versioning at 16 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 17 | # In Windows, build-name is used as the major, minor, and patch parts 18 | # of the product and file versions while build-number is used as the build suffix. 19 | version: 1.0.0+1 20 | 21 | environment: 22 | sdk: '>=3.0.6 <4.0.0' 23 | 24 | # Dependencies specify other packages that your package needs in order to work. 25 | # To automatically upgrade your package dependencies to the latest versions 26 | # consider running `flutter pub upgrade --major-versions`. Alternatively, 27 | # dependencies can be manually updated by changing the version numbers below to 28 | # the latest version available on pub.dev. To see which dependencies have newer 29 | # versions available, run `flutter pub outdated`. 30 | dependencies: 31 | flutter: 32 | sdk: flutter 33 | 34 | 35 | # The following adds the Cupertino Icons font to your application. 36 | # Use with the CupertinoIcons class for iOS style icons. 37 | cupertino_icons: ^1.0.2 38 | flutter_svg: ^2.0.9 39 | 40 | dev_dependencies: 41 | flutter_test: 42 | sdk: flutter 43 | 44 | # The "flutter_lints" package below contains a set of recommended lints to 45 | # encourage good coding practices. The lint set provided by the package is 46 | # activated in the `analysis_options.yaml` file located at the root of your 47 | # package. See that file for information about deactivating specific lint 48 | # rules and activating additional ones. 49 | flutter_lints: ^2.0.0 50 | 51 | # For information on the generic Dart part of this file, see the 52 | # following page: https://dart.dev/tools/pub/pubspec 53 | 54 | # The following section is specific to Flutter packages. 55 | flutter: 56 | 57 | # The following line ensures that the Material Icons font is 58 | # included with your application, so that you can use the icons in 59 | # the material Icons class. 60 | uses-material-design: true 61 | 62 | 63 | assets: 64 | - assets/images/ 65 | - assets/icons/ 66 | - assets/ 67 | - assets/fonts/ 68 | 69 | 70 | fonts: 71 | - family: inter_bold 72 | fonts: 73 | - asset: assets/fonts/Inter-Bold.ttf 74 | 75 | - family: inter_semiBold 76 | fonts: 77 | - asset: assets/fonts/Inter-SemiBold.ttf 78 | 79 | - family: inter_medium 80 | fonts: 81 | - asset: assets/fonts/Inter-Medium.ttf 82 | 83 | - family: inter_regular 84 | fonts: 85 | - asset: assets/fonts/Inter-Regular.ttf -------------------------------------------------------------------------------- /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 in the flutter_test package. 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:clean_ui_code_implementation/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(const 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 | -------------------------------------------------------------------------------- /web/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/web/favicon.png -------------------------------------------------------------------------------- /web/icons/Icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/web/icons/Icon-192.png -------------------------------------------------------------------------------- /web/icons/Icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/web/icons/Icon-512.png -------------------------------------------------------------------------------- /web/icons/Icon-maskable-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/web/icons/Icon-maskable-192.png -------------------------------------------------------------------------------- /web/icons/Icon-maskable-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xim-ya/clean_ui_code_implementation/b19f900695ff3d35e8d069083b5d612c3e400cc5/web/icons/Icon-maskable-512.png -------------------------------------------------------------------------------- /web/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | clean_ui_code_implementation 33 | 34 | 35 | 39 | 40 | 41 | 42 | 43 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /web/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "clean_ui_code_implementation", 3 | "short_name": "clean_ui_code_implementation", 4 | "start_url": ".", 5 | "display": "standalone", 6 | "background_color": "#0175C2", 7 | "theme_color": "#0175C2", 8 | "description": "A new Flutter project.", 9 | "orientation": "portrait-primary", 10 | "prefer_related_applications": false, 11 | "icons": [ 12 | { 13 | "src": "icons/Icon-192.png", 14 | "sizes": "192x192", 15 | "type": "image/png" 16 | }, 17 | { 18 | "src": "icons/Icon-512.png", 19 | "sizes": "512x512", 20 | "type": "image/png" 21 | }, 22 | { 23 | "src": "icons/Icon-maskable-192.png", 24 | "sizes": "192x192", 25 | "type": "image/png", 26 | "purpose": "maskable" 27 | }, 28 | { 29 | "src": "icons/Icon-maskable-512.png", 30 | "sizes": "512x512", 31 | "type": "image/png", 32 | "purpose": "maskable" 33 | } 34 | ] 35 | } 36 | --------------------------------------------------------------------------------