├── .gitignore ├── .metadata ├── README.md ├── android ├── .gitignore ├── app │ ├── build.gradle │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── kotlin │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── ecommerce_app │ │ │ │ └── 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 ├── icons │ ├── arrow.svg │ ├── cart.svg │ ├── filter.svg │ ├── hamburger.svg │ └── search.svg └── images │ ├── headphone1.png │ ├── headphone2.png │ └── headphone3.png ├── ios ├── .gitignore ├── Flutter │ ├── AppFrameworkInfo.plist │ ├── Debug.xcconfig │ └── Release.xcconfig ├── Podfile ├── Podfile.lock ├── Runner.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ └── WorkspaceSettings.xcsettings │ └── xcshareddata │ │ └── xcschemes │ │ └── Runner.xcscheme ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ └── WorkspaceSettings.xcsettings └── Runner │ ├── AppDelegate.swift │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ ├── Contents.json │ │ ├── Icon-App-1024x1024@1x.png │ │ ├── Icon-App-20x20@1x.png │ │ ├── Icon-App-20x20@2x.png │ │ ├── Icon-App-20x20@3x.png │ │ ├── Icon-App-29x29@1x.png │ │ ├── Icon-App-29x29@2x.png │ │ ├── Icon-App-29x29@3x.png │ │ ├── Icon-App-40x40@1x.png │ │ ├── Icon-App-40x40@2x.png │ │ ├── Icon-App-40x40@3x.png │ │ ├── Icon-App-60x60@2x.png │ │ ├── Icon-App-60x60@3x.png │ │ ├── Icon-App-76x76@1x.png │ │ ├── Icon-App-76x76@2x.png │ │ └── Icon-App-83.5x83.5@2x.png │ └── LaunchImage.imageset │ │ ├── Contents.json │ │ ├── LaunchImage.png │ │ ├── LaunchImage@2x.png │ │ ├── LaunchImage@3x.png │ │ └── README.md │ ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ ├── Info.plist │ └── Runner-Bridging-Header.h ├── lib ├── components │ ├── app_bar.dart │ ├── card_body.dart │ ├── cart_button.dart │ ├── main_body.dart │ ├── primary_button.dart │ ├── product_card_bottom.dart │ └── rounded_icon_button.dart ├── constants.dart ├── main.dart ├── models │ ├── category_model.dart │ └── products_model.dart ├── screens │ ├── details │ │ ├── components │ │ │ └── product_images.dart │ │ └── product_details_screen.dart │ └── home │ │ ├── components │ │ ├── best_selling_section.dart │ │ ├── category_section.dart │ │ ├── product_slider.dart │ │ └── search_bar.dart │ │ └── home_screen.dart └── size_config.dart ├── preview.jpg ├── pubspec.lock ├── pubspec.yaml ├── test └── widget_test.dart └── web ├── favicon.png ├── icons ├── Icon-192.png └── Icon-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 | 12 | # IntelliJ related 13 | *.iml 14 | *.ipr 15 | *.iws 16 | .idea/ 17 | 18 | # The .vscode folder contains launch configuration and tasks you configure in 19 | # VS Code which you may wish to be included in version control, so this line 20 | # is commented out by default. 21 | #.vscode/ 22 | 23 | # Flutter/Dart/Pub related 24 | **/doc/api/ 25 | **/ios/Flutter/.last_build_id 26 | .dart_tool/ 27 | .flutter-plugins 28 | .flutter-plugins-dependencies 29 | .packages 30 | .pub-cache/ 31 | .pub/ 32 | /build/ 33 | 34 | # Web related 35 | lib/generated_plugin_registrant.dart 36 | 37 | # Symbolication related 38 | app.*.symbols 39 | 40 | # Obfuscation related 41 | app.*.map.json 42 | 43 | # Android Studio will place build artifacts here 44 | /android/app/debug 45 | /android/app/profile 46 | /android/app/release 47 | -------------------------------------------------------------------------------- /.metadata: -------------------------------------------------------------------------------- 1 | # This file tracks properties of this Flutter project. 2 | # Used by Flutter tool to assess capabilities and perform upgrades etc. 3 | # 4 | # This file should be version controlled and should not be manually edited. 5 | 6 | version: 7 | revision: f4abaa0735eba4dfd8f33f73363911d63931fe03 8 | channel: stable 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Flutter Ecommerce App UI 2 | 3 | ## [Watch it on YouTube](https://youtu.be/bCAOaP5O2UY) 4 | 5 | Flutter Ecommerce App UI | Speed Code 6 | 7 | In this video we will create two screens for ecommerce app using #flutter. In Home screen there will be items grid and category selector. In Details screen we display selected item details. We using #Hero widget to implement #animation. 8 | 9 | ### Preview 10 | 11 | ![App UI](/preview.jpg) 12 | -------------------------------------------------------------------------------- /android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | 9 | # Remember to never publicly share your keystore. 10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app 11 | key.properties 12 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | def localProperties = new Properties() 2 | def localPropertiesFile = rootProject.file('local.properties') 3 | if (localPropertiesFile.exists()) { 4 | localPropertiesFile.withReader('UTF-8') { reader -> 5 | localProperties.load(reader) 6 | } 7 | } 8 | 9 | def flutterRoot = localProperties.getProperty('flutter.sdk') 10 | if (flutterRoot == null) { 11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") 12 | } 13 | 14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode') 15 | if (flutterVersionCode == null) { 16 | flutterVersionCode = '1' 17 | } 18 | 19 | def flutterVersionName = localProperties.getProperty('flutter.versionName') 20 | if (flutterVersionName == null) { 21 | flutterVersionName = '1.0' 22 | } 23 | 24 | apply plugin: 'com.android.application' 25 | apply plugin: 'kotlin-android' 26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 27 | 28 | android { 29 | compileSdkVersion 30 30 | 31 | sourceSets { 32 | main.java.srcDirs += 'src/main/kotlin' 33 | } 34 | 35 | defaultConfig { 36 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 37 | applicationId "com.example.ecommerce_app" 38 | minSdkVersion 16 39 | targetSdkVersion 30 40 | versionCode flutterVersionCode.toInteger() 41 | versionName flutterVersionName 42 | } 43 | 44 | buildTypes { 45 | release { 46 | // TODO: Add your own signing config for the release build. 47 | // Signing with the debug keys for now, so `flutter run --release` works. 48 | signingConfig signingConfigs.debug 49 | } 50 | } 51 | } 52 | 53 | flutter { 54 | source '../..' 55 | } 56 | 57 | dependencies { 58 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 59 | } 60 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 13 | 17 | 21 | 26 | 30 | 31 | 32 | 33 | 34 | 35 | 37 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /android/app/src/main/kotlin/com/example/ecommerce_app/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.ecommerce_app 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/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values-night/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.3.50' 3 | repositories { 4 | google() 5 | jcenter() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:4.1.0' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | } 12 | } 13 | 14 | allprojects { 15 | repositories { 16 | google() 17 | jcenter() 18 | } 19 | } 20 | 21 | rootProject.buildDir = '../build' 22 | subprojects { 23 | project.buildDir = "${rootProject.buildDir}/${project.name}" 24 | project.evaluationDependsOn(':app') 25 | } 26 | 27 | task clean(type: Delete) { 28 | delete rootProject.buildDir 29 | } 30 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jun 23 08:50:38 CEST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip 7 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties") 4 | def properties = new Properties() 5 | 6 | assert localPropertiesFile.exists() 7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } 8 | 9 | def flutterSdkPath = properties.getProperty("flutter.sdk") 10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" 12 | -------------------------------------------------------------------------------- /assets/icons/arrow.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /assets/icons/cart.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /assets/icons/filter.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /assets/icons/hamburger.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /assets/icons/search.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /assets/images/headphone1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/assets/images/headphone1.png -------------------------------------------------------------------------------- /assets/images/headphone2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/assets/images/headphone2.png -------------------------------------------------------------------------------- /assets/images/headphone3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/assets/images/headphone3.png -------------------------------------------------------------------------------- /ios/.gitignore: -------------------------------------------------------------------------------- 1 | *.mode1v3 2 | *.mode2v3 3 | *.moved-aside 4 | *.pbxuser 5 | *.perspectivev3 6 | **/*sync/ 7 | .sconsign.dblite 8 | .tags* 9 | **/.vagrant/ 10 | **/DerivedData/ 11 | Icon? 12 | **/Pods/ 13 | **/.symlinks/ 14 | profile 15 | xcuserdata 16 | **/.generated/ 17 | Flutter/App.framework 18 | Flutter/Flutter.framework 19 | Flutter/Flutter.podspec 20 | Flutter/Generated.xcconfig 21 | Flutter/ephemeral/ 22 | Flutter/app.flx 23 | Flutter/app.zip 24 | Flutter/flutter_assets/ 25 | Flutter/flutter_export_environment.sh 26 | ServiceDefinitions.json 27 | Runner/GeneratedPluginRegistrant.* 28 | 29 | # Exceptions to above rules. 30 | !default.mode1v3 31 | !default.mode2v3 32 | !default.pbxuser 33 | !default.perspectivev3 34 | -------------------------------------------------------------------------------- /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 | 8.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /ios/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency. 5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true' 6 | 7 | project 'Runner', { 8 | 'Debug' => :debug, 9 | 'Profile' => :release, 10 | 'Release' => :release, 11 | } 12 | 13 | def flutter_root 14 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) 15 | unless File.exist?(generated_xcode_build_settings_path) 16 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" 17 | end 18 | 19 | File.foreach(generated_xcode_build_settings_path) do |line| 20 | matches = line.match(/FLUTTER_ROOT\=(.*)/) 21 | return matches[1].strip if matches 22 | end 23 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" 24 | end 25 | 26 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) 27 | 28 | flutter_ios_podfile_setup 29 | 30 | target 'Runner' do 31 | use_frameworks! 32 | use_modular_headers! 33 | 34 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) 35 | end 36 | 37 | post_install do |installer| 38 | installer.pods_project.targets.each do |target| 39 | flutter_additional_ios_build_settings(target) 40 | end 41 | end 42 | -------------------------------------------------------------------------------- /ios/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Flutter (1.0.0) 3 | - path_provider (0.0.1): 4 | - Flutter 5 | 6 | DEPENDENCIES: 7 | - Flutter (from `Flutter`) 8 | - path_provider (from `.symlinks/plugins/path_provider/ios`) 9 | 10 | EXTERNAL SOURCES: 11 | Flutter: 12 | :path: Flutter 13 | path_provider: 14 | :path: ".symlinks/plugins/path_provider/ios" 15 | 16 | SPEC CHECKSUMS: 17 | Flutter: 434fef37c0980e73bb6479ef766c45957d4b510c 18 | path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c 19 | 20 | PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c 21 | 22 | COCOAPODS: 1.10.1 23 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 11 | 2493F915DCB4EBD7D24577D6 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 26E5E165D5DFFAE4CEE2F5A3 /* Pods_Runner.framework */; }; 12 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 13 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 14 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 15 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 16 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXCopyFilesBuildPhase section */ 20 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 21 | isa = PBXCopyFilesBuildPhase; 22 | buildActionMask = 2147483647; 23 | dstPath = ""; 24 | dstSubfolderSpec = 10; 25 | files = ( 26 | ); 27 | name = "Embed Frameworks"; 28 | runOnlyForDeploymentPostprocessing = 0; 29 | }; 30 | /* End PBXCopyFilesBuildPhase section */ 31 | 32 | /* Begin PBXFileReference section */ 33 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 34 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 35 | 26E5E165D5DFFAE4CEE2F5A3 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 36 | 3751EA8A3C47862430921727 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; 37 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 38 | 69F2C8BC342E3713F9FB6325 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; 39 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 40 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 41 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 42 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 43 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 44 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 46 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 47 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 48 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 49 | C8C70B6050E0AC3B5A53F159 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | 2493F915DCB4EBD7D24577D6 /* Pods_Runner.framework in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | /* End PBXFrameworksBuildPhase section */ 62 | 63 | /* Begin PBXGroup section */ 64 | 11F1893448989E5C0359084D /* Frameworks */ = { 65 | isa = PBXGroup; 66 | children = ( 67 | 26E5E165D5DFFAE4CEE2F5A3 /* Pods_Runner.framework */, 68 | ); 69 | name = Frameworks; 70 | sourceTree = ""; 71 | }; 72 | 2B7FEEFA2D033AB83E14570B /* Pods */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | 3751EA8A3C47862430921727 /* Pods-Runner.debug.xcconfig */, 76 | C8C70B6050E0AC3B5A53F159 /* Pods-Runner.release.xcconfig */, 77 | 69F2C8BC342E3713F9FB6325 /* Pods-Runner.profile.xcconfig */, 78 | ); 79 | name = Pods; 80 | path = Pods; 81 | sourceTree = ""; 82 | }; 83 | 9740EEB11CF90186004384FC /* Flutter */ = { 84 | isa = PBXGroup; 85 | children = ( 86 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 87 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 88 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 89 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 90 | ); 91 | name = Flutter; 92 | sourceTree = ""; 93 | }; 94 | 97C146E51CF9000F007C117D = { 95 | isa = PBXGroup; 96 | children = ( 97 | 9740EEB11CF90186004384FC /* Flutter */, 98 | 97C146F01CF9000F007C117D /* Runner */, 99 | 97C146EF1CF9000F007C117D /* Products */, 100 | 2B7FEEFA2D033AB83E14570B /* Pods */, 101 | 11F1893448989E5C0359084D /* Frameworks */, 102 | ); 103 | sourceTree = ""; 104 | }; 105 | 97C146EF1CF9000F007C117D /* Products */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | 97C146EE1CF9000F007C117D /* Runner.app */, 109 | ); 110 | name = Products; 111 | sourceTree = ""; 112 | }; 113 | 97C146F01CF9000F007C117D /* Runner */ = { 114 | isa = PBXGroup; 115 | children = ( 116 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 117 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 118 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 119 | 97C147021CF9000F007C117D /* Info.plist */, 120 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 121 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 122 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 123 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, 124 | ); 125 | path = Runner; 126 | sourceTree = ""; 127 | }; 128 | /* End PBXGroup section */ 129 | 130 | /* Begin PBXNativeTarget section */ 131 | 97C146ED1CF9000F007C117D /* Runner */ = { 132 | isa = PBXNativeTarget; 133 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 134 | buildPhases = ( 135 | 7627A8C72F0E025BF7DC2DD8 /* [CP] Check Pods Manifest.lock */, 136 | 9740EEB61CF901F6004384FC /* Run Script */, 137 | 97C146EA1CF9000F007C117D /* Sources */, 138 | 97C146EB1CF9000F007C117D /* Frameworks */, 139 | 97C146EC1CF9000F007C117D /* Resources */, 140 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 141 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 142 | 4A6DC66FE5AD724583F7815C /* [CP] Embed Pods Frameworks */, 143 | ); 144 | buildRules = ( 145 | ); 146 | dependencies = ( 147 | ); 148 | name = Runner; 149 | productName = Runner; 150 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 151 | productType = "com.apple.product-type.application"; 152 | }; 153 | /* End PBXNativeTarget section */ 154 | 155 | /* Begin PBXProject section */ 156 | 97C146E61CF9000F007C117D /* Project object */ = { 157 | isa = PBXProject; 158 | attributes = { 159 | LastUpgradeCheck = 1020; 160 | ORGANIZATIONNAME = ""; 161 | TargetAttributes = { 162 | 97C146ED1CF9000F007C117D = { 163 | CreatedOnToolsVersion = 7.3.1; 164 | LastSwiftMigration = 1100; 165 | }; 166 | }; 167 | }; 168 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 169 | compatibilityVersion = "Xcode 9.3"; 170 | developmentRegion = en; 171 | hasScannedForEncodings = 0; 172 | knownRegions = ( 173 | en, 174 | Base, 175 | ); 176 | mainGroup = 97C146E51CF9000F007C117D; 177 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 178 | projectDirPath = ""; 179 | projectRoot = ""; 180 | targets = ( 181 | 97C146ED1CF9000F007C117D /* Runner */, 182 | ); 183 | }; 184 | /* End PBXProject section */ 185 | 186 | /* Begin PBXResourcesBuildPhase section */ 187 | 97C146EC1CF9000F007C117D /* Resources */ = { 188 | isa = PBXResourcesBuildPhase; 189 | buildActionMask = 2147483647; 190 | files = ( 191 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 192 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 193 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 194 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 195 | ); 196 | runOnlyForDeploymentPostprocessing = 0; 197 | }; 198 | /* End PBXResourcesBuildPhase section */ 199 | 200 | /* Begin PBXShellScriptBuildPhase section */ 201 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 202 | isa = PBXShellScriptBuildPhase; 203 | buildActionMask = 2147483647; 204 | files = ( 205 | ); 206 | inputPaths = ( 207 | ); 208 | name = "Thin Binary"; 209 | outputPaths = ( 210 | ); 211 | runOnlyForDeploymentPostprocessing = 0; 212 | shellPath = /bin/sh; 213 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; 214 | }; 215 | 4A6DC66FE5AD724583F7815C /* [CP] Embed Pods Frameworks */ = { 216 | isa = PBXShellScriptBuildPhase; 217 | buildActionMask = 2147483647; 218 | files = ( 219 | ); 220 | inputFileListPaths = ( 221 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", 222 | ); 223 | name = "[CP] Embed Pods Frameworks"; 224 | outputFileListPaths = ( 225 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", 226 | ); 227 | runOnlyForDeploymentPostprocessing = 0; 228 | shellPath = /bin/sh; 229 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; 230 | showEnvVarsInLog = 0; 231 | }; 232 | 7627A8C72F0E025BF7DC2DD8 /* [CP] Check Pods Manifest.lock */ = { 233 | isa = PBXShellScriptBuildPhase; 234 | buildActionMask = 2147483647; 235 | files = ( 236 | ); 237 | inputFileListPaths = ( 238 | ); 239 | inputPaths = ( 240 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 241 | "${PODS_ROOT}/Manifest.lock", 242 | ); 243 | name = "[CP] Check Pods Manifest.lock"; 244 | outputFileListPaths = ( 245 | ); 246 | outputPaths = ( 247 | "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", 248 | ); 249 | runOnlyForDeploymentPostprocessing = 0; 250 | shellPath = /bin/sh; 251 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 252 | showEnvVarsInLog = 0; 253 | }; 254 | 9740EEB61CF901F6004384FC /* Run Script */ = { 255 | isa = PBXShellScriptBuildPhase; 256 | buildActionMask = 2147483647; 257 | files = ( 258 | ); 259 | inputPaths = ( 260 | ); 261 | name = "Run Script"; 262 | outputPaths = ( 263 | ); 264 | runOnlyForDeploymentPostprocessing = 0; 265 | shellPath = /bin/sh; 266 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 267 | }; 268 | /* End PBXShellScriptBuildPhase section */ 269 | 270 | /* Begin PBXSourcesBuildPhase section */ 271 | 97C146EA1CF9000F007C117D /* Sources */ = { 272 | isa = PBXSourcesBuildPhase; 273 | buildActionMask = 2147483647; 274 | files = ( 275 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 276 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 277 | ); 278 | runOnlyForDeploymentPostprocessing = 0; 279 | }; 280 | /* End PBXSourcesBuildPhase section */ 281 | 282 | /* Begin PBXVariantGroup section */ 283 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 284 | isa = PBXVariantGroup; 285 | children = ( 286 | 97C146FB1CF9000F007C117D /* Base */, 287 | ); 288 | name = Main.storyboard; 289 | sourceTree = ""; 290 | }; 291 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 292 | isa = PBXVariantGroup; 293 | children = ( 294 | 97C147001CF9000F007C117D /* Base */, 295 | ); 296 | name = LaunchScreen.storyboard; 297 | sourceTree = ""; 298 | }; 299 | /* End PBXVariantGroup section */ 300 | 301 | /* Begin XCBuildConfiguration section */ 302 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 303 | isa = XCBuildConfiguration; 304 | buildSettings = { 305 | ALWAYS_SEARCH_USER_PATHS = NO; 306 | CLANG_ANALYZER_NONNULL = YES; 307 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 308 | CLANG_CXX_LIBRARY = "libc++"; 309 | CLANG_ENABLE_MODULES = YES; 310 | CLANG_ENABLE_OBJC_ARC = YES; 311 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 312 | CLANG_WARN_BOOL_CONVERSION = YES; 313 | CLANG_WARN_COMMA = YES; 314 | CLANG_WARN_CONSTANT_CONVERSION = YES; 315 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 316 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 317 | CLANG_WARN_EMPTY_BODY = YES; 318 | CLANG_WARN_ENUM_CONVERSION = YES; 319 | CLANG_WARN_INFINITE_RECURSION = YES; 320 | CLANG_WARN_INT_CONVERSION = YES; 321 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 322 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 323 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 324 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 325 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 326 | CLANG_WARN_STRICT_PROTOTYPES = YES; 327 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 328 | CLANG_WARN_UNREACHABLE_CODE = YES; 329 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 330 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 331 | COPY_PHASE_STRIP = NO; 332 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 333 | ENABLE_NS_ASSERTIONS = NO; 334 | ENABLE_STRICT_OBJC_MSGSEND = YES; 335 | GCC_C_LANGUAGE_STANDARD = gnu99; 336 | GCC_NO_COMMON_BLOCKS = YES; 337 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 338 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 339 | GCC_WARN_UNDECLARED_SELECTOR = YES; 340 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 341 | GCC_WARN_UNUSED_FUNCTION = YES; 342 | GCC_WARN_UNUSED_VARIABLE = YES; 343 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 344 | MTL_ENABLE_DEBUG_INFO = NO; 345 | SDKROOT = iphoneos; 346 | SUPPORTED_PLATFORMS = iphoneos; 347 | TARGETED_DEVICE_FAMILY = "1,2"; 348 | VALIDATE_PRODUCT = YES; 349 | }; 350 | name = Profile; 351 | }; 352 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 353 | isa = XCBuildConfiguration; 354 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 355 | buildSettings = { 356 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 357 | CLANG_ENABLE_MODULES = YES; 358 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 359 | ENABLE_BITCODE = NO; 360 | INFOPLIST_FILE = Runner/Info.plist; 361 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 362 | PRODUCT_BUNDLE_IDENTIFIER = com.example.ecommerceApp; 363 | PRODUCT_NAME = "$(TARGET_NAME)"; 364 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 365 | SWIFT_VERSION = 5.0; 366 | VERSIONING_SYSTEM = "apple-generic"; 367 | }; 368 | name = Profile; 369 | }; 370 | 97C147031CF9000F007C117D /* Debug */ = { 371 | isa = XCBuildConfiguration; 372 | buildSettings = { 373 | ALWAYS_SEARCH_USER_PATHS = NO; 374 | CLANG_ANALYZER_NONNULL = YES; 375 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 376 | CLANG_CXX_LIBRARY = "libc++"; 377 | CLANG_ENABLE_MODULES = YES; 378 | CLANG_ENABLE_OBJC_ARC = YES; 379 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 380 | CLANG_WARN_BOOL_CONVERSION = YES; 381 | CLANG_WARN_COMMA = YES; 382 | CLANG_WARN_CONSTANT_CONVERSION = YES; 383 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 384 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 385 | CLANG_WARN_EMPTY_BODY = YES; 386 | CLANG_WARN_ENUM_CONVERSION = YES; 387 | CLANG_WARN_INFINITE_RECURSION = YES; 388 | CLANG_WARN_INT_CONVERSION = YES; 389 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 390 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 391 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 392 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 393 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 394 | CLANG_WARN_STRICT_PROTOTYPES = YES; 395 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 396 | CLANG_WARN_UNREACHABLE_CODE = YES; 397 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 398 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 399 | COPY_PHASE_STRIP = NO; 400 | DEBUG_INFORMATION_FORMAT = dwarf; 401 | ENABLE_STRICT_OBJC_MSGSEND = YES; 402 | ENABLE_TESTABILITY = YES; 403 | GCC_C_LANGUAGE_STANDARD = gnu99; 404 | GCC_DYNAMIC_NO_PIC = NO; 405 | GCC_NO_COMMON_BLOCKS = YES; 406 | GCC_OPTIMIZATION_LEVEL = 0; 407 | GCC_PREPROCESSOR_DEFINITIONS = ( 408 | "DEBUG=1", 409 | "$(inherited)", 410 | ); 411 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 412 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 413 | GCC_WARN_UNDECLARED_SELECTOR = YES; 414 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 415 | GCC_WARN_UNUSED_FUNCTION = YES; 416 | GCC_WARN_UNUSED_VARIABLE = YES; 417 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 418 | MTL_ENABLE_DEBUG_INFO = YES; 419 | ONLY_ACTIVE_ARCH = YES; 420 | SDKROOT = iphoneos; 421 | TARGETED_DEVICE_FAMILY = "1,2"; 422 | }; 423 | name = Debug; 424 | }; 425 | 97C147041CF9000F007C117D /* Release */ = { 426 | isa = XCBuildConfiguration; 427 | buildSettings = { 428 | ALWAYS_SEARCH_USER_PATHS = NO; 429 | CLANG_ANALYZER_NONNULL = YES; 430 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 431 | CLANG_CXX_LIBRARY = "libc++"; 432 | CLANG_ENABLE_MODULES = YES; 433 | CLANG_ENABLE_OBJC_ARC = YES; 434 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 435 | CLANG_WARN_BOOL_CONVERSION = YES; 436 | CLANG_WARN_COMMA = YES; 437 | CLANG_WARN_CONSTANT_CONVERSION = YES; 438 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 439 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 440 | CLANG_WARN_EMPTY_BODY = YES; 441 | CLANG_WARN_ENUM_CONVERSION = YES; 442 | CLANG_WARN_INFINITE_RECURSION = YES; 443 | CLANG_WARN_INT_CONVERSION = YES; 444 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 445 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 446 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 447 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 448 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 449 | CLANG_WARN_STRICT_PROTOTYPES = YES; 450 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 451 | CLANG_WARN_UNREACHABLE_CODE = YES; 452 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 453 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 454 | COPY_PHASE_STRIP = NO; 455 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 456 | ENABLE_NS_ASSERTIONS = NO; 457 | ENABLE_STRICT_OBJC_MSGSEND = YES; 458 | GCC_C_LANGUAGE_STANDARD = gnu99; 459 | GCC_NO_COMMON_BLOCKS = YES; 460 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 461 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 462 | GCC_WARN_UNDECLARED_SELECTOR = YES; 463 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 464 | GCC_WARN_UNUSED_FUNCTION = YES; 465 | GCC_WARN_UNUSED_VARIABLE = YES; 466 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 467 | MTL_ENABLE_DEBUG_INFO = NO; 468 | SDKROOT = iphoneos; 469 | SUPPORTED_PLATFORMS = iphoneos; 470 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 471 | TARGETED_DEVICE_FAMILY = "1,2"; 472 | VALIDATE_PRODUCT = YES; 473 | }; 474 | name = Release; 475 | }; 476 | 97C147061CF9000F007C117D /* Debug */ = { 477 | isa = XCBuildConfiguration; 478 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 479 | buildSettings = { 480 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 481 | CLANG_ENABLE_MODULES = YES; 482 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 483 | ENABLE_BITCODE = NO; 484 | INFOPLIST_FILE = Runner/Info.plist; 485 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 486 | PRODUCT_BUNDLE_IDENTIFIER = com.example.ecommerceApp; 487 | PRODUCT_NAME = "$(TARGET_NAME)"; 488 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 489 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 490 | SWIFT_VERSION = 5.0; 491 | VERSIONING_SYSTEM = "apple-generic"; 492 | }; 493 | name = Debug; 494 | }; 495 | 97C147071CF9000F007C117D /* Release */ = { 496 | isa = XCBuildConfiguration; 497 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 498 | buildSettings = { 499 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 500 | CLANG_ENABLE_MODULES = YES; 501 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 502 | ENABLE_BITCODE = NO; 503 | INFOPLIST_FILE = Runner/Info.plist; 504 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 505 | PRODUCT_BUNDLE_IDENTIFIER = com.example.ecommerceApp; 506 | PRODUCT_NAME = "$(TARGET_NAME)"; 507 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 508 | SWIFT_VERSION = 5.0; 509 | VERSIONING_SYSTEM = "apple-generic"; 510 | }; 511 | name = Release; 512 | }; 513 | /* End XCBuildConfiguration section */ 514 | 515 | /* Begin XCConfigurationList section */ 516 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 517 | isa = XCConfigurationList; 518 | buildConfigurations = ( 519 | 97C147031CF9000F007C117D /* Debug */, 520 | 97C147041CF9000F007C117D /* Release */, 521 | 249021D3217E4FDB00AE95B9 /* Profile */, 522 | ); 523 | defaultConfigurationIsVisible = 0; 524 | defaultConfigurationName = Release; 525 | }; 526 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 527 | isa = XCConfigurationList; 528 | buildConfigurations = ( 529 | 97C147061CF9000F007C117D /* Debug */, 530 | 97C147071CF9000F007C117D /* Release */, 531 | 249021D4217E4FDB00AE95B9 /* Profile */, 532 | ); 533 | defaultConfigurationIsVisible = 0; 534 | defaultConfigurationName = Release; 535 | }; 536 | /* End XCConfigurationList section */ 537 | }; 538 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 539 | } 540 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 43 | 44 | 54 | 56 | 62 | 63 | 64 | 65 | 66 | 67 | 73 | 75 | 81 | 82 | 83 | 84 | 86 | 87 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /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/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/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/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/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/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/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/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/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/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/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/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/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/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/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/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/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/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/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/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/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/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/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/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/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/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/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/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/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/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/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/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ecommerce_app 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | $(FLUTTER_BUILD_NAME) 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UISupportedInterfaceOrientations 30 | 31 | UIInterfaceOrientationPortrait 32 | UIInterfaceOrientationLandscapeLeft 33 | UIInterfaceOrientationLandscapeRight 34 | 35 | UISupportedInterfaceOrientations~ipad 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationPortraitUpsideDown 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | UIViewControllerBasedStatusBarAppearance 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /lib/components/app_bar.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | AppBar buildAppBar({ 4 | Widget? title, 5 | Widget? leading, 6 | List? actions, 7 | }) { 8 | return AppBar( 9 | elevation: 0, 10 | title: title, 11 | actions: actions, 12 | automaticallyImplyLeading: false, // this should be false :) 13 | titleSpacing: 0, 14 | leading: leading, 15 | ); 16 | } 17 | -------------------------------------------------------------------------------- /lib/components/card_body.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import '../constants.dart'; 4 | import '../size_config.dart'; 5 | 6 | class CardBody extends StatelessWidget { 7 | const CardBody({ 8 | Key? key, 9 | required this.child, 10 | required this.onTap, 11 | required this.index, 12 | required this.width, 13 | required this.height, 14 | }) : super(key: key); 15 | 16 | final Widget child; 17 | final GestureTapCallback onTap; 18 | final int index; 19 | final double width; 20 | final double height; 21 | 22 | @override 23 | Widget build(BuildContext context) { 24 | return GestureDetector( 25 | onTap: onTap, 26 | child: Container( 27 | width: width, 28 | height: height, 29 | margin: EdgeInsets.only( 30 | right: 29, 31 | left: index == 0 ? 36 : 0, // adding margin left only for first item 32 | top: 10, 33 | bottom: 20, 34 | ), 35 | decoration: BoxDecoration( 36 | color: kWhite, 37 | borderRadius: BorderRadius.circular(25.0), 38 | boxShadow: [ 39 | BoxShadow( 40 | color: Colors.black.withOpacity(0.16), 41 | offset: const Offset(0, 3), 42 | blurRadius: 12, 43 | ), 44 | ], 45 | ), 46 | child: child, 47 | ), 48 | ); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /lib/components/cart_button.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import '../constants.dart'; 4 | 5 | class CartButton extends StatelessWidget { 6 | const CartButton({ 7 | Key? key, 8 | required this.onTap, 9 | }) : super(key: key); 10 | 11 | final GestureTapCallback onTap; 12 | 13 | @override 14 | Widget build(BuildContext context) { 15 | return GestureDetector( 16 | onTap: onTap, 17 | child: Container( 18 | width: 100.0, 19 | height: 40.0, 20 | child: Stack( 21 | children: [ 22 | Align( 23 | alignment: Alignment.center, 24 | child: Container( 25 | height: 30.0, 26 | width: 90.0, 27 | decoration: BoxDecoration( 28 | color: kPrimaryColor, 29 | borderRadius: BorderRadius.circular(50.0), 30 | ), 31 | ), 32 | ), 33 | Align( 34 | alignment: Alignment.centerLeft, 35 | child: Padding( 36 | padding: EdgeInsets.only( 37 | left: 20, 38 | ), 39 | child: Text( 40 | 'Cart', 41 | style: TextStyle( 42 | color: kWhite, 43 | fontSize: 14.0, 44 | ), 45 | ), 46 | ), 47 | ), 48 | Align( 49 | alignment: Alignment.centerRight, 50 | child: Container( 51 | width: 40.0, 52 | height: 40.0, 53 | alignment: Alignment.center, 54 | decoration: BoxDecoration( 55 | borderRadius: BorderRadius.circular(25.0), 56 | color: kWhite, 57 | boxShadow: [ 58 | BoxShadow( 59 | color: Colors.black.withOpacity(0.12), 60 | offset: const Offset(0, 1), 61 | blurRadius: 10, 62 | ) 63 | ], 64 | ), 65 | child: Text( 66 | '+', 67 | style: TextStyle( 68 | color: kPrimaryColor, 69 | fontSize: 26.0, 70 | fontWeight: FontWeight.bold, 71 | ), 72 | ), 73 | ), 74 | ), 75 | ], 76 | ), 77 | ), 78 | ); 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /lib/components/main_body.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import '../constants.dart'; 4 | 5 | class MainBody extends StatelessWidget { 6 | const MainBody({Key? key, required this.child, this.padding = const EdgeInsets.only(top: 40.0) // Default padding 7 | }) 8 | : super(key: key); 9 | 10 | final Widget child; 11 | final EdgeInsets padding; 12 | 13 | @override 14 | Widget build(BuildContext context) { 15 | return Container( 16 | width: double.infinity, 17 | padding: padding, 18 | decoration: BoxDecoration( 19 | color: kWhite, 20 | borderRadius: BorderRadius.only( 21 | topLeft: Radius.circular(60.0), 22 | topRight: Radius.circular(20.0), 23 | ), 24 | ), 25 | child: child, 26 | ); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /lib/components/primary_button.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import '../constants.dart'; 4 | 5 | class PrimaryButton extends StatelessWidget { 6 | const PrimaryButton({ 7 | Key? key, 8 | required this.onTap, 9 | required this.text, 10 | }) : super(key: key); 11 | 12 | final GestureTapCallback onTap; 13 | final String text; 14 | 15 | @override 16 | Widget build(BuildContext context) { 17 | return GestureDetector( 18 | onTap: onTap, 19 | child: Container( 20 | width: double.infinity, 21 | height: 50.0, 22 | decoration: BoxDecoration( 23 | color: kPrimaryColor, 24 | borderRadius: BorderRadius.circular(25.0), 25 | ), 26 | alignment: Alignment.center, 27 | child: Text( 28 | text, 29 | style: TextStyle( 30 | color: kWhite, 31 | fontSize: 16, 32 | ), 33 | ), 34 | ), 35 | ); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /lib/components/product_card_bottom.dart: -------------------------------------------------------------------------------- 1 | import 'package:ecommerce_app/models/products_model.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:flutter_rating_bar/flutter_rating_bar.dart'; 4 | 5 | import '../constants.dart'; 6 | 7 | class ProductCardBottom extends StatelessWidget { 8 | const ProductCardBottom({ 9 | Key? key, 10 | required this.product, 11 | }) : super(key: key); 12 | 13 | final ProductModel product; 14 | 15 | @override 16 | Widget build(BuildContext context) { 17 | return Container( 18 | padding: EdgeInsets.symmetric(horizontal: 16.0), 19 | decoration: BoxDecoration( 20 | color: kPrimaryColor, 21 | borderRadius: BorderRadius.only( 22 | bottomLeft: Radius.circular(25.0), 23 | bottomRight: Radius.circular(25.0), 24 | ), 25 | ), 26 | child: Row( 27 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 28 | children: [ 29 | Text( 30 | '\$${product.price}', 31 | style: TextStyle( 32 | color: kWhite, 33 | fontSize: 14, 34 | fontWeight: FontWeight.bold, 35 | ), 36 | ), 37 | RatingBar.builder( 38 | initialRating: product.rating, 39 | allowHalfRating: false, 40 | itemCount: product.rating.toInt(), 41 | ignoreGestures: true, // this disables the change star rating 42 | itemSize: 20, 43 | itemBuilder: (context, _) => Icon( 44 | Icons.star, 45 | color: kWhite, 46 | ), 47 | onRatingUpdate: (rating) {}, 48 | ) 49 | ], 50 | ), 51 | ); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /lib/components/rounded_icon_button.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_svg/flutter_svg.dart'; 3 | 4 | import '../constants.dart'; 5 | 6 | class RoundedIconButton extends StatelessWidget { 7 | const RoundedIconButton({ 8 | Key? key, 9 | required this.onTap, 10 | required this.icon, 11 | }) : super(key: key); 12 | 13 | final GestureTapCallback onTap; 14 | final String icon; 15 | 16 | @override 17 | Widget build(BuildContext context) { 18 | return GestureDetector( 19 | onTap: onTap, 20 | child: Container( 21 | width: 40, 22 | height: 40, 23 | decoration: BoxDecoration( 24 | borderRadius: BorderRadius.circular(20.0), 25 | color: kWhite, 26 | boxShadow: [ 27 | BoxShadow( 28 | color: Colors.black.withOpacity(0.12), 29 | offset: const Offset(0, 1), 30 | blurRadius: 10, 31 | ), 32 | ], 33 | ), 34 | alignment: Alignment.center, 35 | child: SvgPicture.asset( 36 | icon, 37 | ), 38 | ), 39 | ); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /lib/constants.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | const kPrimaryColor = Color(0xFFFF1031); 4 | const kWhite = Colors.white; 5 | const kTextColor = Color(0xFF707070); 6 | const kTextLightColor = Color(0xFF949098); 7 | 8 | const kDefaultPadding = 25.0; 9 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:ecommerce_app/constants.dart'; 2 | import 'package:ecommerce_app/screens/home/home_screen.dart'; 3 | import 'package:ecommerce_app/size_config.dart'; 4 | import 'package:flutter/material.dart'; 5 | import 'package:google_fonts/google_fonts.dart'; 6 | 7 | void main() { 8 | runApp(MyApp()); 9 | } 10 | 11 | class MyApp extends StatelessWidget { 12 | // This widget is the root of your application. 13 | @override 14 | Widget build(BuildContext context) { 15 | return LayoutBuilder(builder: (context, constraints) { 16 | // We are using layout builder to get the screen max width, height constraints 17 | SizeConfig().init(constraints); 18 | 19 | return MaterialApp( 20 | title: 'Flutter Ecommerce App', 21 | debugShowCheckedModeBanner: false, 22 | theme: ThemeData( 23 | primaryColor: kPrimaryColor, 24 | textTheme: GoogleFonts.montserratTextTheme(Theme.of(context).textTheme), 25 | ), 26 | home: HomeScreen(), 27 | ); 28 | }); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /lib/models/category_model.dart: -------------------------------------------------------------------------------- 1 | class CategoryModel { 2 | final int id; 3 | final String name; 4 | 5 | CategoryModel({ 6 | required this.id, 7 | required this.name, 8 | }); 9 | } 10 | 11 | List demoCategories = [ 12 | CategoryModel( 13 | id: 1, 14 | name: 'Laptop', 15 | ), 16 | CategoryModel( 17 | id: 2, 18 | name: 'Speaker', 19 | ), 20 | CategoryModel( 21 | id: 3, 22 | name: 'Headphones', 23 | ), 24 | CategoryModel( 25 | id: 4, 26 | name: 'Ac', 27 | ), 28 | CategoryModel( 29 | id: 5, 30 | name: 'Mobile', 31 | ), 32 | ]; 33 | -------------------------------------------------------------------------------- /lib/models/products_model.dart: -------------------------------------------------------------------------------- 1 | class ProductModel { 2 | final int id; 3 | final String name; 4 | final String modelNo; 5 | final double price; 6 | final double rating; 7 | final int ratingCount; 8 | final String description; 9 | final List images; 10 | 11 | ProductModel({ 12 | required this.id, 13 | required this.name, 14 | required this.modelNo, 15 | required this.price, 16 | required this.rating, 17 | required this.ratingCount, 18 | required this.description, 19 | required this.images, 20 | }); 21 | } 22 | 23 | List demoProducts = [ 24 | ProductModel( 25 | id: 1, 26 | name: 'Studio 3 Wireless', 27 | modelNo: 'Mi-Cc-790', 28 | price: 369, 29 | rating: 3, 30 | ratingCount: 89, 31 | description: 32 | 'Studio orem Ipsum is simply dummy text of the printing and typesetting industry. orem Ipsum is simply dummy text of the printing and typesetting industry.', 33 | images: [ 34 | 'assets/images/headphone1.png', 35 | 'assets/images/headphone1.png', 36 | 'assets/images/headphone1.png', 37 | ], 38 | ), 39 | ProductModel( 40 | id: 2, 41 | name: 'Studio 7 Wireless', 42 | modelNo: 'Tionic-G80', 43 | price: 299, 44 | rating: 4, 45 | ratingCount: 89, 46 | description: 47 | 'Studio orem Ipsum is simply dummy text of the printing and typesetting industry. orem Ipsum is simply dummy text of the printing and typesetting industry.', 48 | images: [ 49 | 'assets/images/headphone2.png', 50 | 'assets/images/headphone2.png', 51 | 'assets/images/headphone2.png', 52 | ], 53 | ), 54 | ]; 55 | 56 | List bestSelling = [ 57 | ProductModel( 58 | id: 3, 59 | name: 'Studio 7 Wireless', 60 | modelNo: 'Tionic-G80', 61 | price: 299, 62 | rating: 4, 63 | ratingCount: 89, 64 | description: 65 | 'Studio orem Ipsum is simply dummy text of the printing and typesetting industry. orem Ipsum is simply dummy text of the printing and typesetting industry.', 66 | images: [ 67 | 'assets/images/headphone3.png', 68 | 'assets/images/headphone3.png', 69 | 'assets/images/headphone3.png', 70 | ], 71 | ), 72 | ]; 73 | -------------------------------------------------------------------------------- /lib/screens/details/components/product_images.dart: -------------------------------------------------------------------------------- 1 | import 'package:ecommerce_app/models/products_model.dart'; 2 | import 'package:flutter/material.dart'; 3 | 4 | import '../../../size_config.dart'; 5 | 6 | class ProductImages extends StatelessWidget { 7 | const ProductImages({ 8 | Key? key, 9 | required this.product, 10 | }) : super(key: key); 11 | 12 | final ProductModel product; 13 | 14 | @override 15 | Widget build(BuildContext context) { 16 | return Container( 17 | width: double.infinity, 18 | height: SizeConfig.getScreenPropotionHeight(80.0), 19 | child: ListView.builder( 20 | scrollDirection: Axis.horizontal, 21 | itemBuilder: (context, index) { 22 | return Padding( 23 | padding: EdgeInsets.only(right: 30), 24 | child: Image.asset( 25 | product.images[index], 26 | ), 27 | ); 28 | }, 29 | itemCount: product.images.length, 30 | ), 31 | ); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /lib/screens/details/product_details_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:ecommerce_app/components/app_bar.dart'; 2 | import 'package:ecommerce_app/components/cart_button.dart'; 3 | import 'package:ecommerce_app/components/main_body.dart'; 4 | import 'package:ecommerce_app/components/primary_button.dart'; 5 | import 'package:ecommerce_app/components/rounded_icon_button.dart'; 6 | import 'package:ecommerce_app/models/products_model.dart'; 7 | import 'package:ecommerce_app/size_config.dart'; 8 | import 'package:flutter/material.dart'; 9 | import 'package:flutter_rating_bar/flutter_rating_bar.dart'; 10 | import 'package:flutter_svg/svg.dart'; 11 | 12 | import '../../constants.dart'; 13 | import 'components/product_images.dart'; 14 | 15 | class ProductDetailsScreen extends StatelessWidget { 16 | const ProductDetailsScreen({ 17 | Key? key, 18 | required this.product, 19 | }) : super(key: key); 20 | 21 | final ProductModel product; 22 | 23 | @override 24 | Widget build(BuildContext context) { 25 | return Scaffold( 26 | backgroundColor: kPrimaryColor, 27 | appBar: buildAppBar( 28 | title: Row( 29 | children: [ 30 | Padding( 31 | padding: EdgeInsets.symmetric( 32 | horizontal: kDefaultPadding, 33 | ), 34 | child: RoundedIconButton( 35 | onTap: () { 36 | Navigator.pop(context); 37 | }, 38 | icon: 'assets/icons/arrow.svg', 39 | ), 40 | ), 41 | ], 42 | ), 43 | actions: [ 44 | InkWell( 45 | onTap: () {}, 46 | child: Container( 47 | padding: EdgeInsets.symmetric(horizontal: kDefaultPadding), 48 | child: SvgPicture.asset( 49 | 'assets/icons/cart.svg', 50 | ), 51 | ), 52 | ) 53 | ], 54 | ), 55 | extendBody: true, 56 | bottomNavigationBar: Container( 57 | color: Colors.transparent, 58 | padding: EdgeInsets.only( 59 | left: 50, 60 | right: 37, 61 | bottom: 30, 62 | ), 63 | child: PrimaryButton( 64 | onTap: () {}, 65 | text: "Buy Now", 66 | ), 67 | ), 68 | body: Container( 69 | width: double.infinity, 70 | height: SizeConfig.screenHeight, 71 | child: Column( 72 | children: [ 73 | Hero( 74 | tag: product.id, 75 | child: Image.asset( 76 | product.images[0], 77 | width: SizeConfig.getScreenPropotionWidth(250), 78 | height: SizeConfig.getScreenPropotionWidth(250), 79 | ), 80 | ), 81 | Expanded( 82 | child: MainBody( 83 | padding: EdgeInsets.only( 84 | left: 50, 85 | top: 43, 86 | right: 37, 87 | ), 88 | child: SingleChildScrollView( 89 | child: Column( 90 | crossAxisAlignment: CrossAxisAlignment.start, 91 | children: [ 92 | Row( 93 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 94 | children: [ 95 | Text( 96 | '\$${product.price}', 97 | style: TextStyle( 98 | color: kPrimaryColor, 99 | fontSize: 28.0, 100 | fontWeight: FontWeight.bold, 101 | ), 102 | ), 103 | CartButton( 104 | onTap: () {}, 105 | ) 106 | ], 107 | ), 108 | SizedBox( 109 | height: 30, 110 | ), 111 | Text( 112 | 'Photos', 113 | style: TextStyle( 114 | color: kTextLightColor, 115 | fontSize: 22.0, 116 | ), 117 | ), 118 | SizedBox( 119 | height: 10, 120 | ), 121 | ProductImages(product: product), 122 | SizedBox( 123 | height: 10, 124 | ), 125 | Text( 126 | product.modelNo, 127 | style: TextStyle( 128 | color: kPrimaryColor, 129 | fontSize: 16.0, 130 | ), 131 | ), 132 | RatingBar.builder( 133 | initialRating: product.rating, 134 | allowHalfRating: false, 135 | itemCount: product.rating.toInt(), 136 | ignoreGestures: true, // this disables the change star rating 137 | itemSize: 20, 138 | itemBuilder: (context, _) => Icon( 139 | Icons.star, 140 | color: kPrimaryColor, 141 | ), 142 | onRatingUpdate: (rating) {}, 143 | ), 144 | SizedBox( 145 | height: 15, 146 | ), 147 | Text( 148 | product.description, 149 | style: TextStyle( 150 | color: kTextLightColor, 151 | fontSize: 14.0, 152 | ), 153 | ), 154 | ], 155 | ), 156 | ), 157 | ), 158 | ) 159 | ], 160 | ), 161 | ), 162 | ); 163 | } 164 | } 165 | -------------------------------------------------------------------------------- /lib/screens/home/components/best_selling_section.dart: -------------------------------------------------------------------------------- 1 | import 'package:ecommerce_app/components/card_body.dart'; 2 | import 'package:ecommerce_app/components/product_card_bottom.dart'; 3 | import 'package:ecommerce_app/models/products_model.dart'; 4 | import 'package:ecommerce_app/screens/details/product_details_screen.dart'; 5 | import 'package:flutter/material.dart'; 6 | 7 | import '../../../constants.dart'; 8 | import '../../../size_config.dart'; 9 | 10 | class BestSellingSection extends StatelessWidget { 11 | const BestSellingSection({ 12 | Key? key, 13 | }) : super(key: key); 14 | 15 | @override 16 | Widget build(BuildContext context) { 17 | return Container( 18 | width: double.infinity, 19 | height: SizeConfig.getScreenPropotionHeight(300), 20 | child: ListView.builder( 21 | scrollDirection: Axis.horizontal, 22 | itemBuilder: (context, index) { 23 | return CardBody( 24 | width: SizeConfig.getScreenPropotionWidth(298), 25 | height: SizeConfig.getScreenPropotionHeight(300), 26 | child: Column( 27 | crossAxisAlignment: CrossAxisAlignment.start, 28 | children: [ 29 | SizedBox( 30 | height: 19, 31 | ), 32 | Padding( 33 | padding: EdgeInsets.only(left: 16.0), 34 | child: Text( 35 | bestSelling[index].name, 36 | style: TextStyle( 37 | fontSize: 16, 38 | fontWeight: FontWeight.bold, 39 | color: kTextColor, 40 | ), 41 | ), 42 | ), 43 | Padding( 44 | padding: EdgeInsets.only(left: 16.0), 45 | child: Text( 46 | bestSelling[index].modelNo, 47 | style: TextStyle( 48 | fontSize: 12, 49 | fontWeight: FontWeight.bold, 50 | color: kPrimaryColor, 51 | ), 52 | ), 53 | ), 54 | Padding( 55 | padding: EdgeInsets.symmetric(horizontal: 16.0), 56 | child: Row( 57 | children: [ 58 | Expanded( 59 | child: Text( 60 | bestSelling[index].description, 61 | style: TextStyle( 62 | color: kTextLightColor, 63 | fontSize: 14.0, 64 | ), 65 | ), 66 | ), 67 | Expanded( 68 | child: Center( 69 | child: Hero( 70 | tag: bestSelling[index].id, 71 | child: Image.asset( 72 | bestSelling[index].images[0], 73 | width: SizeConfig.getScreenPropotionWidth(100), 74 | height: SizeConfig.getScreenPropotionHeight(170), 75 | fit: BoxFit.cover, 76 | ), 77 | ), 78 | ), 79 | ), 80 | ], 81 | ), 82 | ), 83 | Expanded( 84 | child: ProductCardBottom( 85 | product: bestSelling[index], 86 | ), 87 | ) 88 | ], 89 | ), 90 | onTap: () { 91 | Navigator.push( 92 | context, 93 | MaterialPageRoute( 94 | builder: (context) => ProductDetailsScreen( 95 | product: bestSelling[index], 96 | ), 97 | ), 98 | ); 99 | }, 100 | index: index, 101 | ); 102 | }, 103 | itemCount: bestSelling.length, 104 | ), 105 | ); 106 | } 107 | } 108 | -------------------------------------------------------------------------------- /lib/screens/home/components/category_section.dart: -------------------------------------------------------------------------------- 1 | import 'package:ecommerce_app/models/category_model.dart'; 2 | import 'package:flutter/material.dart'; 3 | 4 | import '../../../constants.dart'; 5 | 6 | class CategorySection extends StatefulWidget { 7 | const CategorySection({ 8 | Key? key, 9 | }) : super(key: key); 10 | 11 | @override 12 | _CategorySectionState createState() => _CategorySectionState(); 13 | } 14 | 15 | class _CategorySectionState extends State { 16 | int _activeCategory = 0; 17 | 18 | @override 19 | Widget build(BuildContext context) { 20 | return Padding( 21 | padding: EdgeInsets.only( 22 | left: 36, 23 | ), 24 | child: SizedBox( 25 | height: 50.0, 26 | child: ListView.builder( 27 | scrollDirection: Axis.horizontal, 28 | itemBuilder: (context, index) { 29 | return CategoryPhill( 30 | category: demoCategories[index], 31 | onTap: () { 32 | setState(() { 33 | _activeCategory = demoCategories[index].id; 34 | }); 35 | }, 36 | isActive: _activeCategory == demoCategories[index].id, 37 | ); 38 | }, 39 | itemCount: demoCategories.length, 40 | ), 41 | ), 42 | ); 43 | } 44 | } 45 | 46 | class CategoryPhill extends StatelessWidget { 47 | const CategoryPhill({ 48 | Key? key, 49 | required this.onTap, 50 | required this.category, 51 | this.isActive = false, // by default active state is false 52 | }) : super(key: key); 53 | 54 | final GestureTapCallback onTap; 55 | final CategoryModel category; 56 | final bool isActive; 57 | 58 | @override 59 | Widget build(BuildContext context) { 60 | return GestureDetector( 61 | onTap: onTap, 62 | child: Container( 63 | alignment: Alignment.center, 64 | padding: EdgeInsets.symmetric( 65 | horizontal: 15.0, 66 | vertical: 2.0, 67 | ), 68 | margin: EdgeInsets.only( 69 | right: 10, 70 | top: 10, 71 | bottom: 10, 72 | ), 73 | decoration: BoxDecoration( 74 | borderRadius: BorderRadius.circular(20.0), 75 | color: isActive ? kPrimaryColor : kWhite, 76 | boxShadow: [ 77 | BoxShadow( 78 | color: Colors.black.withOpacity(0.16), 79 | offset: const Offset(0, 1), 80 | blurRadius: 10, 81 | ) 82 | ], 83 | ), 84 | child: Text( 85 | category.name, 86 | style: TextStyle( 87 | fontSize: 14, 88 | color: isActive ? kWhite : kTextLightColor, 89 | fontWeight: FontWeight.w500, 90 | ), 91 | ), 92 | ), 93 | ); 94 | } 95 | } 96 | -------------------------------------------------------------------------------- /lib/screens/home/components/product_slider.dart: -------------------------------------------------------------------------------- 1 | import 'package:ecommerce_app/components/card_body.dart'; 2 | import 'package:ecommerce_app/components/product_card_bottom.dart'; 3 | import 'package:ecommerce_app/models/products_model.dart'; 4 | import 'package:ecommerce_app/screens/details/product_details_screen.dart'; 5 | import 'package:flutter/material.dart'; 6 | 7 | import '../../../constants.dart'; 8 | import '../../../size_config.dart'; 9 | 10 | class ProductSlider extends StatelessWidget { 11 | const ProductSlider({ 12 | Key? key, 13 | }) : super(key: key); 14 | 15 | @override 16 | Widget build(BuildContext context) { 17 | return Container( 18 | width: double.infinity, 19 | height: SizeConfig.getScreenPropotionHeight(300.0), 20 | child: ListView.builder( 21 | scrollDirection: Axis.horizontal, 22 | itemBuilder: (context, index) { 23 | return CardBody( 24 | width: SizeConfig.getScreenPropotionWidth(200.0), 25 | height: SizeConfig.getScreenPropotionHeight(300.0), 26 | index: index, 27 | onTap: () { 28 | Navigator.push( 29 | context, 30 | MaterialPageRoute( 31 | builder: (context) => ProductDetailsScreen( 32 | product: demoProducts[index], 33 | ), 34 | ), 35 | ); 36 | }, 37 | child: Column( 38 | crossAxisAlignment: CrossAxisAlignment.start, 39 | children: [ 40 | SizedBox( 41 | height: 19, 42 | ), 43 | Padding( 44 | padding: EdgeInsets.only(left: 16.0), 45 | child: Text( 46 | demoProducts[index].name, 47 | style: TextStyle( 48 | fontSize: 16, 49 | fontWeight: FontWeight.bold, 50 | color: kTextColor, 51 | ), 52 | ), 53 | ), 54 | Padding( 55 | padding: EdgeInsets.only(left: 16.0), 56 | child: Text( 57 | demoProducts[index].modelNo, 58 | style: TextStyle( 59 | fontSize: 12, 60 | fontWeight: FontWeight.bold, 61 | color: kPrimaryColor, 62 | ), 63 | ), 64 | ), 65 | Center( 66 | child: Hero( 67 | tag: demoProducts[index].id, 68 | child: Image.asset( 69 | demoProducts[index].images[0], 70 | width: SizeConfig.getScreenPropotionWidth(100), 71 | height: SizeConfig.getScreenPropotionHeight(170), 72 | fit: BoxFit.cover, 73 | ), 74 | ), 75 | ), 76 | Expanded( 77 | child: ProductCardBottom( 78 | product: demoProducts[index], 79 | ), 80 | ) 81 | ], 82 | ), 83 | ); 84 | }, 85 | itemCount: demoProducts.length, 86 | ), 87 | ); 88 | } 89 | } 90 | -------------------------------------------------------------------------------- /lib/screens/home/components/search_bar.dart: -------------------------------------------------------------------------------- 1 | import 'package:ecommerce_app/components/rounded_icon_button.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:flutter_svg/flutter_svg.dart'; 4 | 5 | import '../../../constants.dart'; 6 | 7 | class SearchBar extends StatelessWidget { 8 | const SearchBar({ 9 | Key? key, 10 | }) : super(key: key); 11 | 12 | @override 13 | Widget build(BuildContext context) { 14 | return Padding( 15 | padding: EdgeInsets.symmetric(horizontal: kDefaultPadding), 16 | child: Row( 17 | children: [ 18 | Expanded( 19 | child: Container( 20 | height: 40.0, 21 | child: TextField( 22 | style: TextStyle( 23 | fontSize: 12, 24 | ), 25 | decoration: InputDecoration( 26 | hintText: 'search', 27 | hintStyle: TextStyle( 28 | color: kTextLightColor, 29 | fontSize: 12, 30 | ), 31 | filled: true, 32 | fillColor: kWhite, 33 | border: OutlineInputBorder( 34 | borderSide: BorderSide.none, 35 | borderRadius: BorderRadius.circular(30.0), 36 | ), 37 | contentPadding: EdgeInsets.symmetric( 38 | horizontal: 13, 39 | vertical: 8, 40 | ), 41 | suffixIcon: SvgPicture.asset( 42 | 'assets/icons/search.svg', 43 | color: kPrimaryColor, 44 | fit: BoxFit.scaleDown, 45 | ), 46 | ), 47 | ), 48 | ), 49 | ), 50 | SizedBox( 51 | width: kDefaultPadding / 2, 52 | ), 53 | RoundedIconButton( 54 | onTap: () {}, 55 | icon: 'assets/icons/filter.svg', 56 | ) 57 | ], 58 | ), 59 | ); 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /lib/screens/home/home_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:ecommerce_app/components/app_bar.dart'; 2 | import 'package:ecommerce_app/components/card_body.dart'; 3 | import 'package:ecommerce_app/components/main_body.dart'; 4 | import 'package:ecommerce_app/components/product_card_bottom.dart'; 5 | import 'package:ecommerce_app/components/rounded_icon_button.dart'; 6 | import 'package:ecommerce_app/constants.dart'; 7 | import 'package:ecommerce_app/models/category_model.dart'; 8 | import 'package:ecommerce_app/models/products_model.dart'; 9 | import 'package:ecommerce_app/size_config.dart'; 10 | import 'package:flutter/material.dart'; 11 | import 'package:flutter_rating_bar/flutter_rating_bar.dart'; 12 | import 'package:flutter_svg/flutter_svg.dart'; 13 | 14 | import 'components/best_selling_section.dart'; 15 | import 'components/category_section.dart'; 16 | import 'components/product_slider.dart'; 17 | import 'components/search_bar.dart'; 18 | 19 | class HomeScreen extends StatelessWidget { 20 | const HomeScreen({Key? key}) : super(key: key); 21 | 22 | @override 23 | Widget build(BuildContext context) { 24 | return Scaffold( 25 | backgroundColor: kPrimaryColor, 26 | appBar: buildAppBar( 27 | title: Row( 28 | children: [ 29 | Padding( 30 | padding: EdgeInsets.symmetric( 31 | horizontal: kDefaultPadding, 32 | ), 33 | child: RoundedIconButton( 34 | onTap: () {}, 35 | icon: 'assets/icons/hamburger.svg', 36 | ), 37 | ), 38 | ], 39 | ), 40 | actions: [ 41 | InkWell( 42 | onTap: () {}, 43 | child: Container( 44 | padding: EdgeInsets.symmetric(horizontal: kDefaultPadding), 45 | child: SvgPicture.asset( 46 | 'assets/icons/cart.svg', 47 | ), 48 | ), 49 | ) 50 | ], 51 | ), 52 | body: Container( 53 | width: double.infinity, 54 | height: SizeConfig.screenHeight, 55 | child: Column( 56 | crossAxisAlignment: CrossAxisAlignment.start, 57 | children: [ 58 | SizedBox( 59 | height: 35, 60 | ), 61 | Padding( 62 | padding: EdgeInsets.symmetric(horizontal: kDefaultPadding), 63 | child: Text( 64 | 'Explore your\nfavourite products', 65 | style: TextStyle( 66 | color: kWhite, 67 | fontSize: 23, 68 | fontWeight: FontWeight.bold, 69 | ), 70 | ), 71 | ), 72 | SizedBox( 73 | height: 7, 74 | ), 75 | SearchBar(), 76 | SizedBox( 77 | height: 28, 78 | ), 79 | Expanded( 80 | child: MainBody( 81 | child: SingleChildScrollView( 82 | child: Column( 83 | crossAxisAlignment: CrossAxisAlignment.start, 84 | children: [ 85 | CategorySection(), 86 | SizedBox( 87 | height: 30, 88 | ), 89 | ProductSlider(), 90 | Padding( 91 | padding: EdgeInsets.only(left: 42), 92 | child: Text( 93 | 'Best Selling', 94 | style: TextStyle( 95 | color: kPrimaryColor, 96 | fontSize: 16, 97 | fontWeight: FontWeight.bold, 98 | ), 99 | ), 100 | ), 101 | SizedBox( 102 | height: 10, 103 | ), 104 | BestSellingSection(), 105 | SizedBox( 106 | height: 30, 107 | ), 108 | ], 109 | ), 110 | ), 111 | ), 112 | ) 113 | ], 114 | ), 115 | ), 116 | ); 117 | } 118 | } 119 | -------------------------------------------------------------------------------- /lib/size_config.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class SizeConfig { 4 | static double screenWidth = 0; 5 | static double screenHeight = 0; 6 | 7 | void init(BoxConstraints constraints) { 8 | screenWidth = constraints.maxWidth; 9 | screenHeight = constraints.maxHeight; 10 | } 11 | 12 | // Get the height, proportionally to screen height 13 | static double getScreenPropotionHeight(double actualHeight) { 14 | // 812 is the artboard height that designer use 15 | return (actualHeight / 900.0) * screenHeight; 16 | } 17 | 18 | // Get the width, proportionally to screen width 19 | static double getScreenPropotionWidth(double actualWidth) { 20 | // 375 is the artboard width that designer use 21 | return (actualWidth / 375.0) * screenWidth; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /preview.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/preview.jpg -------------------------------------------------------------------------------- /pubspec.lock: -------------------------------------------------------------------------------- 1 | # Generated by pub 2 | # See https://dart.dev/tools/pub/glossary#lockfile 3 | packages: 4 | async: 5 | dependency: transitive 6 | description: 7 | name: async 8 | url: "https://pub.dartlang.org" 9 | source: hosted 10 | version: "2.6.1" 11 | boolean_selector: 12 | dependency: transitive 13 | description: 14 | name: boolean_selector 15 | url: "https://pub.dartlang.org" 16 | source: hosted 17 | version: "2.1.0" 18 | characters: 19 | dependency: transitive 20 | description: 21 | name: characters 22 | url: "https://pub.dartlang.org" 23 | source: hosted 24 | version: "1.1.0" 25 | charcode: 26 | dependency: transitive 27 | description: 28 | name: charcode 29 | url: "https://pub.dartlang.org" 30 | source: hosted 31 | version: "1.2.0" 32 | clock: 33 | dependency: transitive 34 | description: 35 | name: clock 36 | url: "https://pub.dartlang.org" 37 | source: hosted 38 | version: "1.1.0" 39 | collection: 40 | dependency: transitive 41 | description: 42 | name: collection 43 | url: "https://pub.dartlang.org" 44 | source: hosted 45 | version: "1.15.0" 46 | crypto: 47 | dependency: transitive 48 | description: 49 | name: crypto 50 | url: "https://pub.dartlang.org" 51 | source: hosted 52 | version: "3.0.1" 53 | cupertino_icons: 54 | dependency: "direct main" 55 | description: 56 | name: cupertino_icons 57 | url: "https://pub.dartlang.org" 58 | source: hosted 59 | version: "1.0.3" 60 | fake_async: 61 | dependency: transitive 62 | description: 63 | name: fake_async 64 | url: "https://pub.dartlang.org" 65 | source: hosted 66 | version: "1.2.0" 67 | ffi: 68 | dependency: transitive 69 | description: 70 | name: ffi 71 | url: "https://pub.dartlang.org" 72 | source: hosted 73 | version: "1.1.2" 74 | file: 75 | dependency: transitive 76 | description: 77 | name: file 78 | url: "https://pub.dartlang.org" 79 | source: hosted 80 | version: "6.1.2" 81 | flutter: 82 | dependency: "direct main" 83 | description: flutter 84 | source: sdk 85 | version: "0.0.0" 86 | flutter_rating_bar: 87 | dependency: "direct main" 88 | description: 89 | name: flutter_rating_bar 90 | url: "https://pub.dartlang.org" 91 | source: hosted 92 | version: "4.0.0" 93 | flutter_svg: 94 | dependency: "direct main" 95 | description: 96 | name: flutter_svg 97 | url: "https://pub.dartlang.org" 98 | source: hosted 99 | version: "0.22.0" 100 | flutter_test: 101 | dependency: "direct dev" 102 | description: flutter 103 | source: sdk 104 | version: "0.0.0" 105 | google_fonts: 106 | dependency: "direct main" 107 | description: 108 | name: google_fonts 109 | url: "https://pub.dartlang.org" 110 | source: hosted 111 | version: "2.1.0" 112 | http: 113 | dependency: transitive 114 | description: 115 | name: http 116 | url: "https://pub.dartlang.org" 117 | source: hosted 118 | version: "0.13.3" 119 | http_parser: 120 | dependency: transitive 121 | description: 122 | name: http_parser 123 | url: "https://pub.dartlang.org" 124 | source: hosted 125 | version: "4.0.0" 126 | matcher: 127 | dependency: transitive 128 | description: 129 | name: matcher 130 | url: "https://pub.dartlang.org" 131 | source: hosted 132 | version: "0.12.10" 133 | meta: 134 | dependency: transitive 135 | description: 136 | name: meta 137 | url: "https://pub.dartlang.org" 138 | source: hosted 139 | version: "1.3.0" 140 | path: 141 | dependency: transitive 142 | description: 143 | name: path 144 | url: "https://pub.dartlang.org" 145 | source: hosted 146 | version: "1.8.0" 147 | path_drawing: 148 | dependency: transitive 149 | description: 150 | name: path_drawing 151 | url: "https://pub.dartlang.org" 152 | source: hosted 153 | version: "0.5.1" 154 | path_parsing: 155 | dependency: transitive 156 | description: 157 | name: path_parsing 158 | url: "https://pub.dartlang.org" 159 | source: hosted 160 | version: "0.2.1" 161 | path_provider: 162 | dependency: transitive 163 | description: 164 | name: path_provider 165 | url: "https://pub.dartlang.org" 166 | source: hosted 167 | version: "2.0.4" 168 | path_provider_linux: 169 | dependency: transitive 170 | description: 171 | name: path_provider_linux 172 | url: "https://pub.dartlang.org" 173 | source: hosted 174 | version: "2.1.0" 175 | path_provider_macos: 176 | dependency: transitive 177 | description: 178 | name: path_provider_macos 179 | url: "https://pub.dartlang.org" 180 | source: hosted 181 | version: "2.0.2" 182 | path_provider_platform_interface: 183 | dependency: transitive 184 | description: 185 | name: path_provider_platform_interface 186 | url: "https://pub.dartlang.org" 187 | source: hosted 188 | version: "2.0.1" 189 | path_provider_windows: 190 | dependency: transitive 191 | description: 192 | name: path_provider_windows 193 | url: "https://pub.dartlang.org" 194 | source: hosted 195 | version: "2.0.3" 196 | pedantic: 197 | dependency: transitive 198 | description: 199 | name: pedantic 200 | url: "https://pub.dartlang.org" 201 | source: hosted 202 | version: "1.11.1" 203 | petitparser: 204 | dependency: transitive 205 | description: 206 | name: petitparser 207 | url: "https://pub.dartlang.org" 208 | source: hosted 209 | version: "4.1.0" 210 | platform: 211 | dependency: transitive 212 | description: 213 | name: platform 214 | url: "https://pub.dartlang.org" 215 | source: hosted 216 | version: "3.0.2" 217 | plugin_platform_interface: 218 | dependency: transitive 219 | description: 220 | name: plugin_platform_interface 221 | url: "https://pub.dartlang.org" 222 | source: hosted 223 | version: "2.0.2" 224 | process: 225 | dependency: transitive 226 | description: 227 | name: process 228 | url: "https://pub.dartlang.org" 229 | source: hosted 230 | version: "4.2.3" 231 | sky_engine: 232 | dependency: transitive 233 | description: flutter 234 | source: sdk 235 | version: "0.0.99" 236 | source_span: 237 | dependency: transitive 238 | description: 239 | name: source_span 240 | url: "https://pub.dartlang.org" 241 | source: hosted 242 | version: "1.8.1" 243 | stack_trace: 244 | dependency: transitive 245 | description: 246 | name: stack_trace 247 | url: "https://pub.dartlang.org" 248 | source: hosted 249 | version: "1.10.0" 250 | stream_channel: 251 | dependency: transitive 252 | description: 253 | name: stream_channel 254 | url: "https://pub.dartlang.org" 255 | source: hosted 256 | version: "2.1.0" 257 | string_scanner: 258 | dependency: transitive 259 | description: 260 | name: string_scanner 261 | url: "https://pub.dartlang.org" 262 | source: hosted 263 | version: "1.1.0" 264 | term_glyph: 265 | dependency: transitive 266 | description: 267 | name: term_glyph 268 | url: "https://pub.dartlang.org" 269 | source: hosted 270 | version: "1.2.0" 271 | test_api: 272 | dependency: transitive 273 | description: 274 | name: test_api 275 | url: "https://pub.dartlang.org" 276 | source: hosted 277 | version: "0.3.0" 278 | typed_data: 279 | dependency: transitive 280 | description: 281 | name: typed_data 282 | url: "https://pub.dartlang.org" 283 | source: hosted 284 | version: "1.3.0" 285 | vector_math: 286 | dependency: transitive 287 | description: 288 | name: vector_math 289 | url: "https://pub.dartlang.org" 290 | source: hosted 291 | version: "2.1.0" 292 | win32: 293 | dependency: transitive 294 | description: 295 | name: win32 296 | url: "https://pub.dartlang.org" 297 | source: hosted 298 | version: "2.2.9" 299 | xdg_directories: 300 | dependency: transitive 301 | description: 302 | name: xdg_directories 303 | url: "https://pub.dartlang.org" 304 | source: hosted 305 | version: "0.2.0" 306 | xml: 307 | dependency: transitive 308 | description: 309 | name: xml 310 | url: "https://pub.dartlang.org" 311 | source: hosted 312 | version: "5.1.2" 313 | sdks: 314 | dart: ">=2.13.0 <3.0.0" 315 | flutter: ">=2.0.0" 316 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: ecommerce_app 2 | description: A new Flutter project. 3 | 4 | # The following line prevents the package from being accidentally published to 5 | # pub.dev using `pub publish`. This is preferred for private packages. 6 | publish_to: 'none' # Remove this line if you wish to publish to pub.dev 7 | 8 | # The following defines the version and build number for your application. 9 | # A version number is three numbers separated by dots, like 1.2.43 10 | # followed by an optional build number separated by a +. 11 | # Both the version and the builder number may be overridden in flutter 12 | # build by specifying --build-name and --build-number, respectively. 13 | # In Android, build-name is used as versionName while build-number used as versionCode. 14 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning 15 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. 16 | # Read more about iOS versioning at 17 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 18 | version: 1.0.0+1 19 | 20 | environment: 21 | sdk: ">=2.12.0 <3.0.0" 22 | 23 | dependencies: 24 | flutter: 25 | sdk: flutter 26 | 27 | 28 | # The following adds the Cupertino Icons font to your application. 29 | # Use with the CupertinoIcons class for iOS style icons. 30 | cupertino_icons: ^1.0.2 31 | flutter_svg: ^0.22.0 # Used to render svg images 32 | google_fonts: ^2.1.0 # Used to include google fonts 33 | flutter_rating_bar: ^4.0.0 # Used for show product star ratings 34 | 35 | dev_dependencies: 36 | flutter_test: 37 | sdk: flutter 38 | 39 | # For information on the generic Dart part of this file, see the 40 | # following page: https://dart.dev/tools/pub/pubspec 41 | 42 | # The following section is specific to Flutter. 43 | flutter: 44 | 45 | # The following line ensures that the Material Icons font is 46 | # included with your application, so that you can use the icons in 47 | # the material Icons class. 48 | uses-material-design: true 49 | 50 | # To add assets to your application, add an assets section, like this: 51 | assets: 52 | - assets/images/ 53 | - assets/icons/ 54 | 55 | # An image asset can refer to one or more resolution-specific "variants", see 56 | # https://flutter.dev/assets-and-images/#resolution-aware. 57 | 58 | # For details regarding adding assets from package dependencies, see 59 | # https://flutter.dev/assets-and-images/#from-packages 60 | 61 | # To add custom fonts to your application, add a fonts section here, 62 | # in this "flutter" section. Each entry in this list should have a 63 | # "family" key with the font family name, and a "fonts" key with a 64 | # list giving the asset and other descriptors for the font. For 65 | # example: 66 | # fonts: 67 | # - family: Schyler 68 | # fonts: 69 | # - asset: fonts/Schyler-Regular.ttf 70 | # - asset: fonts/Schyler-Italic.ttf 71 | # style: italic 72 | # - family: Trajan Pro 73 | # fonts: 74 | # - asset: fonts/TrajanPro.ttf 75 | # - asset: fonts/TrajanPro_Bold.ttf 76 | # weight: 700 77 | # 78 | # For details regarding fonts from package dependencies, 79 | # see https://flutter.dev/custom-fonts/#from-packages 80 | -------------------------------------------------------------------------------- /test/widget_test.dart: -------------------------------------------------------------------------------- 1 | // This is a basic Flutter widget test. 2 | // 3 | // To perform an interaction with a widget in your test, use the WidgetTester 4 | // utility that Flutter provides. For example, you can send tap and scroll 5 | // gestures. You can also use WidgetTester to find child widgets in the widget 6 | // tree, read text, and verify that the values of widget properties are correct. 7 | 8 | import 'package:flutter/material.dart'; 9 | import 'package:flutter_test/flutter_test.dart'; 10 | 11 | import 'package:ecommerce_app/main.dart'; 12 | 13 | void main() { 14 | testWidgets('Counter increments smoke test', (WidgetTester tester) async { 15 | // Build our app and trigger a frame. 16 | await tester.pumpWidget(MyApp()); 17 | 18 | // Verify that our counter starts at 0. 19 | expect(find.text('0'), findsOneWidget); 20 | expect(find.text('1'), findsNothing); 21 | 22 | // Tap the '+' icon and trigger a frame. 23 | await tester.tap(find.byIcon(Icons.add)); 24 | await tester.pump(); 25 | 26 | // Verify that our counter has incremented. 27 | expect(find.text('0'), findsNothing); 28 | expect(find.text('1'), findsOneWidget); 29 | }); 30 | } 31 | -------------------------------------------------------------------------------- /web/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/web/favicon.png -------------------------------------------------------------------------------- /web/icons/Icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/web/icons/Icon-192.png -------------------------------------------------------------------------------- /web/icons/Icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gihan667/flutter-ecommerce-app/d5a67b44fabbeff70264dc9c438da2ce0e06ee75/web/icons/Icon-512.png -------------------------------------------------------------------------------- /web/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | ecommerce_app 27 | 28 | 29 | 30 | 33 | 97 | 98 | 99 | -------------------------------------------------------------------------------- /web/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ecommerce_app", 3 | "short_name": "ecommerce_app", 4 | "start_url": ".", 5 | "display": "standalone", 6 | "background_color": "#0175C2", 7 | "theme_color": "#0175C2", 8 | "description": "A new Flutter project.", 9 | "orientation": "portrait-primary", 10 | "prefer_related_applications": false, 11 | "icons": [ 12 | { 13 | "src": "icons/Icon-192.png", 14 | "sizes": "192x192", 15 | "type": "image/png" 16 | }, 17 | { 18 | "src": "icons/Icon-512.png", 19 | "sizes": "512x512", 20 | "type": "image/png" 21 | } 22 | ] 23 | } 24 | --------------------------------------------------------------------------------