├── ios ├── Flutter │ ├── Debug.xcconfig │ ├── Release.xcconfig │ └── AppFrameworkInfo.plist ├── Runner │ ├── Runner-Bridging-Header.h │ ├── Assets.xcassets │ │ ├── LaunchImage.imageset │ │ │ ├── LaunchImage.png │ │ │ ├── LaunchImage@2x.png │ │ │ ├── LaunchImage@3x.png │ │ │ ├── README.md │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ ├── 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-1024x1024@1x.png │ │ │ ├── Icon-App-83.5x83.5@2x.png │ │ │ └── Contents.json │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── Main.storyboard │ │ └── LaunchScreen.storyboard │ └── Info.plist ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── WorkspaceSettings.xcsettings │ │ └── IDEWorkspaceChecks.plist ├── Runner.xcodeproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── WorkspaceSettings.xcsettings │ │ │ └── IDEWorkspaceChecks.plist │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── Runner.xcscheme │ └── project.pbxproj └── .gitignore ├── ui ├── 1.png ├── 2.png ├── 3.png ├── 4.png ├── 5.png ├── 6.png └── 7.png ├── assets └── images │ ├── category1.jpg │ ├── category2.jpg │ ├── category3.jpg │ ├── category4.jpg │ ├── mastercard.png │ ├── best_selling1.jpg │ ├── best_selling2.jpg │ ├── best_selling3.jpg │ ├── img_banner1.png │ └── img_banner2.png ├── android ├── gradle.properties ├── app │ ├── src │ │ ├── main │ │ │ ├── res │ │ │ │ ├── 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 │ │ │ │ ├── drawable │ │ │ │ │ └── launch_background.xml │ │ │ │ └── values │ │ │ │ │ └── styles.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── ahmeddhus │ │ │ │ │ └── store_flutter_app │ │ │ │ │ └── MainActivity.java │ │ │ └── AndroidManifest.xml │ │ ├── debug │ │ │ └── AndroidManifest.xml │ │ └── profile │ │ │ └── AndroidManifest.xml │ └── build.gradle ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── .gitignore ├── settings.gradle └── build.gradle ├── lib ├── model │ ├── categories_model.dart │ ├── messages_model.dart │ └── item_model.dart ├── main.dart ├── utils │ └── constants.dart ├── style │ └── colors.dart ├── widgets │ ├── messages │ │ ├── messages_header_widget.dart │ │ └── messages_list_widget.dart │ ├── home │ │ ├── home_header.dart │ │ └── best_selling.dart │ ├── offers │ │ ├── discount_widget.dart │ │ ├── new_widget.dart │ │ ├── deal_of_the_day_widget.dart │ │ ├── weekly_featured_widget.dart │ │ └── home_categories.dart │ ├── cart │ │ ├── bottom_bar_cart.dart │ │ ├── address_cart_widget.dart │ │ ├── promo_code_cart_widget.dart │ │ ├── payment_method_cart_widget.dart │ │ └── items_cart_widget.dart │ ├── search │ │ ├── recommended_widget.dart │ │ └── recenlty_viewed_widget.dart │ └── categories │ │ ├── header_categories.dart │ │ └── end_drawer.dart └── screens │ ├── search_screen.dart │ ├── messages_screen.dart │ ├── cart_screen.dart │ ├── home_screen.dart │ ├── categories_screen.dart │ ├── main_screen.dart │ └── account_screen.dart ├── .metadata ├── pubspec.yaml ├── .gitignore ├── README.md ├── test └── widget_test.dart └── pubspec.lock /ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /ui/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/ui/1.png -------------------------------------------------------------------------------- /ui/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/ui/2.png -------------------------------------------------------------------------------- /ui/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/ui/3.png -------------------------------------------------------------------------------- /ui/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/ui/4.png -------------------------------------------------------------------------------- /ui/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/ui/5.png -------------------------------------------------------------------------------- /ui/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/ui/6.png -------------------------------------------------------------------------------- /ui/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/ui/7.png -------------------------------------------------------------------------------- /assets/images/category1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/assets/images/category1.jpg -------------------------------------------------------------------------------- /assets/images/category2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/assets/images/category2.jpg -------------------------------------------------------------------------------- /assets/images/category3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/assets/images/category3.jpg -------------------------------------------------------------------------------- /assets/images/category4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/assets/images/category4.jpg -------------------------------------------------------------------------------- /assets/images/mastercard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/assets/images/mastercard.png -------------------------------------------------------------------------------- /assets/images/best_selling1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/assets/images/best_selling1.jpg -------------------------------------------------------------------------------- /assets/images/best_selling2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/assets/images/best_selling2.jpg -------------------------------------------------------------------------------- /assets/images/best_selling3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/assets/images/best_selling3.jpg -------------------------------------------------------------------------------- /assets/images/img_banner1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/assets/images/img_banner1.png -------------------------------------------------------------------------------- /assets/images/img_banner2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/assets/images/img_banner2.png -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | android.enableR8=true 5 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/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/ahmeddhus/E-commerceFlutterApp/HEAD/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/ahmeddhus/E-commerceFlutterApp/HEAD/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/ahmeddhus/E-commerceFlutterApp/HEAD/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/ahmeddhus/E-commerceFlutterApp/HEAD/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/ahmeddhus/E-commerceFlutterApp/HEAD/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/ahmeddhus/E-commerceFlutterApp/HEAD/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/ahmeddhus/E-commerceFlutterApp/HEAD/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/ahmeddhus/E-commerceFlutterApp/HEAD/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/ahmeddhus/E-commerceFlutterApp/HEAD/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/ahmeddhus/E-commerceFlutterApp/HEAD/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/ahmeddhus/E-commerceFlutterApp/HEAD/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/ahmeddhus/E-commerceFlutterApp/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmeddhus/E-commerceFlutterApp/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /lib/model/categories_model.dart: -------------------------------------------------------------------------------- 1 | class CategoriesModel{ 2 | 3 | String categoryName; 4 | String categoryImg; 5 | int categoryQty; 6 | 7 | CategoriesModel(this.categoryName, this.categoryImg, this.categoryQty); 8 | } -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/ahmeddhus/store_flutter_app/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.ahmeddhus.store_flutter_app; 2 | 3 | import io.flutter.embedding.android.FlutterActivity; 4 | 5 | public class MainActivity extends FlutterActivity { 6 | } 7 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jun 23 08:50:38 CEST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip 7 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | 9 | # Remember to never publicly share your keystore. 10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app 11 | key.properties 12 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.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: ce40de69b7b4f89c66d19c8dbd3bd86ae30f1bc6 8 | channel: dev 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /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. -------------------------------------------------------------------------------- /lib/model/messages_model.dart: -------------------------------------------------------------------------------- 1 | import 'dart:ui'; 2 | 3 | class MessagesModel { 4 | String contactName; 5 | String contactMsg; 6 | String contactImg; 7 | String msgDate; 8 | Color contactColor; 9 | 10 | MessagesModel(this.contactName, this.contactMsg, this.contactImg, 11 | this.msgDate, this.contactColor); 12 | } 13 | 14 | //A => #ED9E9D 15 | //F => #F5C677 16 | //L => #BBB9FE 17 | //B => #91E0FB 18 | //s => #AFE4E6 -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: store_flutter_app 2 | description: A new Flutter application. 3 | 4 | publish_to: 5 | version: 1.0.0+1 6 | 7 | environment: 8 | sdk: ">=2.7.0 <3.0.0" 9 | 10 | dependencies: 11 | flutter: 12 | sdk: flutter 13 | 14 | carousel_slider: ^2.3.1 15 | flutter_swiper : ^1.1.6 16 | dev_dependencies: 17 | flutter_test: 18 | sdk: flutter 19 | 20 | flutter: 21 | uses-material-design: true 22 | assets: 23 | - assets/images/ -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:store_flutter_app/screens/main_screen.dart'; 3 | 4 | void main() { 5 | runApp(MyApp()); 6 | } 7 | 8 | class MyApp extends StatelessWidget { 9 | @override 10 | Widget build(BuildContext context) { 11 | return MaterialApp( 12 | title: '99MobileStore', 13 | theme: ThemeData( 14 | visualDensity: VisualDensity.adaptivePlatformDensity, 15 | ), 16 | home: MainScreen(), 17 | ); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /lib/utils/constants.dart: -------------------------------------------------------------------------------- 1 | String imgPath1 = 'assets/images/img_banner1.png'; 2 | String imgPath2 = 'assets/images/img_banner2.png'; 3 | String bestSellingImg1 = 'assets/images/best_selling1.jpg'; 4 | String bestSellingImg2 = 'assets/images/best_selling2.jpg'; 5 | String bestSellingImg3 = 'assets/images/best_selling3.jpg'; 6 | 7 | String categoryImg1 = 'assets/images/category1.jpg'; 8 | String categoryImg2 = 'assets/images/category2.jpg'; 9 | String categoryImg3 = 'assets/images/category3.jpg'; 10 | String categoryImg4 = 'assets/images/category4.jpg'; 11 | -------------------------------------------------------------------------------- /lib/model/item_model.dart: -------------------------------------------------------------------------------- 1 | class ItemModel{ 2 | 3 | String itemName; 4 | String itemImg; 5 | String itemDesc; 6 | String itemCost; 7 | String itemColor; 8 | String itemQty; 9 | String itemSize; 10 | bool isItemFav; 11 | 12 | ItemModel(this.itemName, this.itemImg, this.itemDesc, this.itemCost, 13 | this.itemColor, this.itemQty, this.itemSize); 14 | 15 | ItemModel.bestSelling(this.itemName, this.itemImg, this.itemDesc, this.itemCost, this.isItemFav); 16 | 17 | ItemModel.recentlyViewed(this.itemName, this.itemImg, this.itemCost); 18 | } -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | repositories { 3 | google() 4 | jcenter() 5 | } 6 | 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:3.5.0' 9 | } 10 | } 11 | 12 | allprojects { 13 | repositories { 14 | google() 15 | jcenter() 16 | } 17 | } 18 | 19 | rootProject.buildDir = '../build' 20 | subprojects { 21 | project.buildDir = "${rootProject.buildDir}/${project.name}" 22 | } 23 | subprojects { 24 | project.evaluationDependsOn(':app') 25 | } 26 | 27 | task clean(type: Delete) { 28 | delete rootProject.buildDir 29 | } 30 | -------------------------------------------------------------------------------- /lib/style/colors.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class Colors { 4 | const Colors(); 5 | 6 | static const Color primaryColor = const Color(0xFFFBD0A5); 7 | static const Color secondaryColor = const Color(0xFFEE4A6B); 8 | static const Color blackColor = const Color(0xFF1D1F26); 9 | static const Color greyColor = const Color(0xFFADB8D6); 10 | static const Color whiteColor = const Color(0xFFFFFFFF); 11 | static const Color bottomBarColor = const Color(0xFF252934); 12 | static const Color itemColor = const Color(0xFF1C1F29); 13 | static const Color descColor = const Color(0xFF616469); 14 | } 15 | -------------------------------------------------------------------------------- /ios/.gitignore: -------------------------------------------------------------------------------- 1 | *.mode1v3 2 | *.mode2v3 3 | *.moved-aside 4 | *.pbxuser 5 | *.perspectivev3 6 | **/*sync/ 7 | .sconsign.dblite 8 | .tags* 9 | **/.vagrant/ 10 | **/DerivedData/ 11 | Icon? 12 | **/Pods/ 13 | **/.symlinks/ 14 | profile 15 | xcuserdata 16 | **/.generated/ 17 | Flutter/App.framework 18 | Flutter/Flutter.framework 19 | Flutter/Flutter.podspec 20 | Flutter/Generated.xcconfig 21 | Flutter/app.flx 22 | Flutter/app.zip 23 | Flutter/flutter_assets/ 24 | Flutter/flutter_export_environment.sh 25 | ServiceDefinitions.json 26 | Runner/GeneratedPluginRegistrant.* 27 | 28 | # Exceptions to above rules. 29 | !default.mode1v3 30 | !default.mode2v3 31 | !default.pbxuser 32 | !default.perspectivev3 33 | -------------------------------------------------------------------------------- /.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 | -------------------------------------------------------------------------------- /ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | App 9 | CFBundleIdentifier 10 | io.flutter.flutter.app 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | App 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | MinimumOSVersion 24 | 9.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # E-commerce Flutter App 2 | 3 | A new Flutter application. 4 | 5 | 6 | ![](ui/1.png) 7 | ![](ui/2.png) 8 | 9 | ![](ui/3.png) 10 | ![](ui/4.png) 11 | 12 | ![](ui/5.png) 13 | ![](ui/6.png) 14 | 15 | ![](ui/7.png) 16 | 17 | Ispired from, 18 | [Furnity Shopping App](https://www.behance.net/gallery/97161467/Furnity-shopping-app-concept?tracking_source=search_projects_recommended%7Cecommerce%20%20app) 19 | 20 | 21 | ## Getting Started 22 | 23 | This project is a starting point for a Flutter application. 24 | 25 | A few resources to get you started if this is your first Flutter project: 26 | 27 | - [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab) 28 | - [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook) 29 | 30 | For help getting started with Flutter, view our 31 | [online documentation](https://flutter.dev/docs), which offers tutorials, 32 | samples, guidance on mobile development, and a full API reference. 33 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /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:store_flutter_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 | -------------------------------------------------------------------------------- /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 | store_flutter_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 | -------------------------------------------------------------------------------- /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 from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 26 | 27 | android { 28 | compileSdkVersion 29 29 | 30 | lintOptions { 31 | disable 'InvalidPackage' 32 | } 33 | 34 | defaultConfig { 35 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 36 | applicationId "com.ahmeddhus.store_flutter_app" 37 | minSdkVersion 16 38 | targetSdkVersion 29 39 | versionCode flutterVersionCode.toInteger() 40 | versionName flutterVersionName 41 | } 42 | 43 | buildTypes { 44 | release { 45 | // TODO: Add your own signing config for the release build. 46 | // Signing with the debug keys for now, so `flutter run --release` works. 47 | signingConfig signingConfigs.debug 48 | } 49 | } 50 | } 51 | 52 | flutter { 53 | source '../..' 54 | } 55 | -------------------------------------------------------------------------------- /lib/widgets/messages/messages_header_widget.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:store_flutter_app/style/colors.dart' as Style; 3 | 4 | class MessagesHeaderWidget extends StatefulWidget { 5 | @override 6 | _MessagesHeaderWidgetState createState() => _MessagesHeaderWidgetState(); 7 | } 8 | 9 | class _MessagesHeaderWidgetState extends State { 10 | @override 11 | Widget build(BuildContext context) { 12 | return Column( 13 | mainAxisAlignment: MainAxisAlignment.start, 14 | crossAxisAlignment: CrossAxisAlignment.start, 15 | children: [ 16 | SizedBox( 17 | height: 8.0, 18 | ), 19 | Padding( 20 | padding: const EdgeInsets.all(8.0), 21 | child: Text( 22 | 'Messages', 23 | style: TextStyle( 24 | color: Style.Colors.whiteColor, 25 | fontSize: 24.0, 26 | fontWeight: FontWeight.bold 27 | ), 28 | ), 29 | ), 30 | SizedBox( 31 | height: 20.0, 32 | ), 33 | TextField( 34 | autofocus: false, 35 | decoration: InputDecoration( 36 | fillColor: Colors.white10, 37 | prefixIcon: Icon( 38 | Icons.search, 39 | color: Style.Colors.greyColor, 40 | ), 41 | border: OutlineInputBorder( 42 | borderRadius: const BorderRadius.all( 43 | const Radius.circular(10.0), 44 | ), 45 | borderSide: BorderSide.none, 46 | ), 47 | filled: true, 48 | hintText: 'Search contacts', 49 | hintStyle: TextStyle( 50 | color: Style.Colors.greyColor, 51 | ), 52 | ), 53 | ), 54 | ], 55 | ); 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /lib/screens/search_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:store_flutter_app/style/colors.dart' as Style; 3 | import 'package:store_flutter_app/widgets/home/home_header.dart'; 4 | import 'package:store_flutter_app/widgets/search/recenlty_viewed_widget.dart'; 5 | import 'package:store_flutter_app/widgets/search/recommended_widget.dart'; 6 | 7 | class SearchScreen extends StatefulWidget { 8 | @override 9 | _SearchScreenState createState() => _SearchScreenState(); 10 | } 11 | 12 | class _SearchScreenState extends State { 13 | @override 14 | Widget build(BuildContext context) { 15 | return Scaffold( 16 | backgroundColor: Style.Colors.blackColor, 17 | appBar: AppBar( 18 | backgroundColor: Style.Colors.itemColor, 19 | centerTitle: false, 20 | title: Text( 21 | 'Search', 22 | style: TextStyle(color: Style.Colors.whiteColor), 23 | ), 24 | leading: IconButton( 25 | icon: Icon(Icons.arrow_back), 26 | iconSize: 20.0, 27 | onPressed: () { 28 | Navigator.pop(context); 29 | }, 30 | ), 31 | ), 32 | body: Padding( 33 | padding: const EdgeInsets.all(8.0), 34 | child: SingleChildScrollView( 35 | child: Column( 36 | mainAxisAlignment: MainAxisAlignment.start, 37 | crossAxisAlignment: CrossAxisAlignment.start, 38 | children: [ 39 | SizedBox( 40 | height: 8.0, 41 | ), 42 | HomeHeader(), 43 | SizedBox( 44 | height: 16.0, 45 | ), 46 | RecentlyViewWidget(), 47 | SizedBox( 48 | height: 16.0, 49 | ), 50 | RecommendedWidget(), 51 | ], 52 | ), 53 | ), 54 | ), 55 | ); 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /lib/widgets/home/home_header.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:store_flutter_app/style/colors.dart' as Style; 3 | 4 | class HomeHeader extends StatefulWidget { 5 | @override 6 | _HomeHeaderState createState() => _HomeHeaderState(); 7 | } 8 | 9 | class _HomeHeaderState extends State { 10 | @override 11 | Widget build(BuildContext context) { 12 | return Container( 13 | child: Padding( 14 | padding: const EdgeInsets.all(8.0), 15 | child: Column( 16 | mainAxisAlignment: MainAxisAlignment.start, 17 | crossAxisAlignment: CrossAxisAlignment.start, 18 | children: [ 19 | Text( 20 | 'What item are you\nlooking for?', 21 | style: TextStyle( 22 | color: Style.Colors.whiteColor, 23 | fontSize: 24.0, 24 | fontWeight: FontWeight.bold 25 | ), 26 | ), 27 | SizedBox( 28 | height: 20.0, 29 | ), 30 | TextField( 31 | autofocus: false, 32 | decoration: InputDecoration( 33 | fillColor: Colors.white10, 34 | prefixIcon: Icon( 35 | Icons.search, 36 | color: Style.Colors.greyColor, 37 | ), 38 | border: OutlineInputBorder( 39 | borderRadius: const BorderRadius.all( 40 | const Radius.circular(10.0), 41 | ), 42 | borderSide: BorderSide.none, 43 | ), 44 | filled: true, 45 | labelStyle: TextStyle(color: Style.Colors.whiteColor), 46 | hintText: 'Search your Product', 47 | hintStyle: TextStyle( 48 | color: Style.Colors.greyColor, 49 | ), 50 | ), 51 | ), 52 | ], 53 | ), 54 | ), 55 | ); 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /lib/screens/messages_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:store_flutter_app/screens/cart_screen.dart'; 3 | import 'package:store_flutter_app/style/colors.dart' as Style; 4 | import 'package:store_flutter_app/widgets/messages/messages_header_widget.dart'; 5 | import 'package:store_flutter_app/widgets/messages/messages_list_widget.dart'; 6 | 7 | class MessagesScreen extends StatefulWidget { 8 | @override 9 | _MessagesScreenState createState() => _MessagesScreenState(); 10 | } 11 | 12 | class _MessagesScreenState extends State { 13 | @override 14 | Widget build(BuildContext context) { 15 | return Scaffold( 16 | backgroundColor: Style.Colors.blackColor, 17 | appBar: AppBar( 18 | backgroundColor: Style.Colors.blackColor, 19 | centerTitle: true, 20 | title: Text( 21 | 'Furnity', 22 | style: TextStyle(color: Style.Colors.whiteColor), 23 | ), 24 | leading: Icon( 25 | Icons.menu, 26 | color: Style.Colors.whiteColor, 27 | ), 28 | actions: [ 29 | IconButton( 30 | icon: Icon( 31 | Icons.shopping_bag_outlined, 32 | color: Style.Colors.whiteColor, 33 | ), 34 | onPressed: () { 35 | Navigator.push(context, 36 | MaterialPageRoute(builder: (context) => CartScreen())); 37 | }) 38 | ], 39 | ), 40 | body: Padding( 41 | padding: const EdgeInsets.all(8.0), 42 | child: SingleChildScrollView( 43 | child: Column( 44 | mainAxisAlignment: MainAxisAlignment.start, 45 | crossAxisAlignment: CrossAxisAlignment.start, 46 | children: [ 47 | MessagesHeaderWidget(), 48 | SizedBox( 49 | height: 16.0, 50 | ), 51 | MessagesListWidget(), 52 | ], 53 | ), 54 | ), 55 | ), 56 | ); 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /lib/screens/cart_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:store_flutter_app/style/colors.dart' as Style; 3 | import 'package:store_flutter_app/widgets/cart/address_cart_widget.dart'; 4 | import 'package:store_flutter_app/widgets/cart/bottom_bar_cart.dart'; 5 | import 'package:store_flutter_app/widgets/cart/items_cart_widget.dart'; 6 | import 'package:store_flutter_app/widgets/cart/payment_method_cart_widget.dart'; 7 | import 'package:store_flutter_app/widgets/cart/promo_code_cart_widget.dart'; 8 | 9 | class CartScreen extends StatefulWidget { 10 | @override 11 | _CartScreenState createState() => _CartScreenState(); 12 | } 13 | 14 | class _CartScreenState extends State { 15 | @override 16 | Widget build(BuildContext context) { 17 | return Scaffold( 18 | backgroundColor: Style.Colors.blackColor, 19 | appBar: AppBar( 20 | backgroundColor: Style.Colors.itemColor, 21 | centerTitle: false, 22 | title: Text( 23 | 'Checkout', 24 | style: TextStyle(color: Style.Colors.whiteColor), 25 | ), 26 | leading: IconButton( 27 | icon: Icon(Icons.arrow_back), 28 | iconSize: 20.0, 29 | onPressed: () { 30 | Navigator.pop(context); 31 | }, 32 | ), 33 | ), 34 | body: Container( 35 | height: MediaQuery.of(context).size.height, 36 | child: Stack( 37 | children: [ 38 | Padding( 39 | padding: const EdgeInsets.all(8.0), 40 | child: SingleChildScrollView( 41 | child: Column( 42 | mainAxisAlignment: MainAxisAlignment.start, 43 | crossAxisAlignment: CrossAxisAlignment.start, 44 | children: [ 45 | AddressCartWidget(), 46 | PaymentMethodCartWidget(), 47 | ItemsCartWidget(), 48 | PromoCodeCartWidget(), 49 | SizedBox(height: 150.0,), 50 | ], 51 | ), 52 | ), 53 | ), 54 | Positioned( 55 | bottom: 0, 56 | child: BottomBarCart(), 57 | ), 58 | ], 59 | ), 60 | ), 61 | ); 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /lib/screens/home_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:store_flutter_app/utils/constants.dart'; 3 | import 'cart_screen.dart'; 4 | import 'file:///E:/Edu/MyProjects/Flutter/store_flutter_app/lib/widgets/offers/home_categories.dart'; 5 | import 'file:///E:/Edu/MyProjects/Flutter/store_flutter_app/lib/widgets/home/home_header.dart'; 6 | import 'package:store_flutter_app/widgets/home/best_selling.dart'; 7 | import 'package:store_flutter_app/style/colors.dart' as Style; 8 | 9 | class HomeScreen extends StatefulWidget { 10 | @override 11 | _HomeScreenState createState() => _HomeScreenState(); 12 | } 13 | 14 | class _HomeScreenState extends State { 15 | @override 16 | Widget build(BuildContext context) { 17 | return Scaffold( 18 | backgroundColor: Style.Colors.blackColor, 19 | appBar: AppBar( 20 | backgroundColor: Style.Colors.blackColor, 21 | centerTitle: true, 22 | title: Text( 23 | 'Furnity', 24 | style: TextStyle(color: Style.Colors.whiteColor), 25 | ), 26 | leading: Icon( 27 | Icons.menu, 28 | color: Style.Colors.whiteColor, 29 | ), 30 | actions: [ 31 | IconButton( 32 | icon: Icon( 33 | Icons.shopping_bag_outlined, 34 | color: Style.Colors.whiteColor, 35 | ), 36 | onPressed: () { 37 | Navigator.push(context, 38 | MaterialPageRoute(builder: (context) => CartScreen())); 39 | }) 40 | ], 41 | ), 42 | body: Padding( 43 | padding: const EdgeInsets.all(8.0), 44 | child: SingleChildScrollView( 45 | child: Column( 46 | mainAxisAlignment: MainAxisAlignment.start, 47 | crossAxisAlignment: CrossAxisAlignment.start, 48 | children: [ 49 | SizedBox( 50 | height: 8.0, 51 | ), 52 | HomeHeader(), 53 | SizedBox( 54 | height: 20.0, 55 | ), 56 | HomeCategories(), 57 | SizedBox( 58 | height: 30.0, 59 | ), 60 | BestSelling(), 61 | ], 62 | ), 63 | ), 64 | ), 65 | ); 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /lib/widgets/offers/discount_widget.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:store_flutter_app/style/colors.dart' as Style; 3 | import 'package:flutter_swiper/flutter_swiper.dart'; 4 | import 'package:store_flutter_app/utils/constants.dart'; 5 | 6 | class DiscountWidget extends StatefulWidget { 7 | @override 8 | _DiscountWidgetState createState() => _DiscountWidgetState(); 9 | } 10 | 11 | class _DiscountWidgetState extends State { 12 | double _currentIndex = 0.1; 13 | int _currentPage = 1; 14 | 15 | @override 16 | Widget build(BuildContext context) { 17 | return Column( 18 | mainAxisAlignment: MainAxisAlignment.start, 19 | crossAxisAlignment: CrossAxisAlignment.start, 20 | children: [ 21 | Expanded( 22 | child: Swiper( 23 | itemBuilder: (BuildContext context, int index) { 24 | return offerCard(); 25 | }, 26 | onIndexChanged: (value) { 27 | setState(() { 28 | _currentIndex = (1 / 6) * (value.toDouble() + 1); 29 | _currentPage = value + 1; 30 | }); 31 | }, 32 | itemCount: 6, 33 | viewportFraction: 0.9, 34 | scale: 0.9, 35 | loop: false, 36 | autoplay: false, 37 | ), 38 | ), 39 | SizedBox( 40 | height: 20.0, 41 | ), 42 | Text( 43 | '$_currentPage/6', 44 | style: TextStyle( 45 | color: Style.Colors.greyColor, 46 | fontSize: 16.0, 47 | ), 48 | ), 49 | SizedBox( 50 | height: 8.0, 51 | ), 52 | Padding( 53 | padding: const EdgeInsets.only(right: 60.0, left: 8.0), 54 | child: LinearProgressIndicator( 55 | backgroundColor: Style.Colors.greyColor, 56 | value: _currentIndex, 57 | valueColor: AlwaysStoppedAnimation(Style.Colors.whiteColor), 58 | ), 59 | ), 60 | ], 61 | ); 62 | } 63 | 64 | Widget offerCard() { 65 | return Container( 66 | width: MediaQuery.of(context).size.width - 35, 67 | child: ClipRRect( 68 | borderRadius: BorderRadius.circular(5), 69 | child: Container( 70 | child: Image.asset( 71 | '$imgPath1', 72 | fit: BoxFit.cover, 73 | ), 74 | ), 75 | ), 76 | ); 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /lib/widgets/offers/new_widget.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:store_flutter_app/style/colors.dart' as Style; 3 | import 'package:flutter_swiper/flutter_swiper.dart'; 4 | import 'package:store_flutter_app/utils/constants.dart'; 5 | 6 | class NewWidget extends StatefulWidget { 7 | @override 8 | _NewWidgetState createState() => _NewWidgetState(); 9 | } 10 | 11 | class _NewWidgetState extends State { 12 | 13 | double _currentIndex = 0.1; 14 | int _currentPage = 1; 15 | 16 | @override 17 | Widget build(BuildContext context) { 18 | return Column( 19 | mainAxisSize: MainAxisSize.min, 20 | mainAxisAlignment: MainAxisAlignment.start, 21 | crossAxisAlignment: CrossAxisAlignment.start, 22 | children: [ 23 | Expanded( 24 | child: Swiper( 25 | itemBuilder: (BuildContext context, int index) { 26 | return offerCard(); 27 | }, 28 | onIndexChanged: (value) { 29 | setState(() { 30 | _currentIndex = (1 / 6) * (value.toDouble() + 1); 31 | _currentPage = value + 1; 32 | }); 33 | }, 34 | itemCount: 6, 35 | viewportFraction: 0.9, 36 | scale: 0.9, 37 | loop: false, 38 | autoplay: false, 39 | ), 40 | ), 41 | SizedBox( 42 | height: 20.0, 43 | ), 44 | Text( 45 | '$_currentPage/6', 46 | style: TextStyle( 47 | color: Style.Colors.greyColor, 48 | fontSize: 16.0, 49 | ), 50 | ), 51 | SizedBox( 52 | height: 8.0, 53 | ), 54 | Padding( 55 | padding: const EdgeInsets.only(right: 60.0, left: 8.0), 56 | child: LinearProgressIndicator( 57 | backgroundColor: Style.Colors.greyColor, 58 | value: _currentIndex, 59 | valueColor: AlwaysStoppedAnimation(Style.Colors.whiteColor), 60 | ), 61 | ), 62 | ], 63 | ); 64 | } 65 | 66 | Widget offerCard() { 67 | return Container( 68 | width: MediaQuery.of(context).size.width - 35, 69 | child: ClipRRect( 70 | borderRadius: BorderRadius.circular(5), 71 | child: Container( 72 | child: Image.asset( 73 | '$imgPath1', 74 | fit: BoxFit.cover, 75 | ), 76 | ), 77 | ), 78 | ); 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /lib/widgets/offers/deal_of_the_day_widget.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:store_flutter_app/style/colors.dart' as Style; 3 | import 'package:flutter_swiper/flutter_swiper.dart'; 4 | import 'package:store_flutter_app/utils/constants.dart'; 5 | 6 | class DealOfTheDayWidget extends StatefulWidget { 7 | @override 8 | _DealOfTheDayWidgetState createState() => _DealOfTheDayWidgetState(); 9 | } 10 | 11 | class _DealOfTheDayWidgetState extends State { 12 | double _currentIndex = 0.1; 13 | int _currentPage = 1; 14 | 15 | @override 16 | Widget build(BuildContext context) { 17 | return Column( 18 | mainAxisAlignment: MainAxisAlignment.start, 19 | crossAxisAlignment: CrossAxisAlignment.start, 20 | children: [ 21 | Expanded( 22 | child: Swiper( 23 | itemBuilder: (BuildContext context, int index) { 24 | return offerCard(); 25 | }, 26 | onIndexChanged: (value) { 27 | setState(() { 28 | _currentIndex = (1 / 6) * (value.toDouble() + 1); 29 | _currentPage = value + 1; 30 | }); 31 | }, 32 | itemCount: 6, 33 | viewportFraction: 0.9, 34 | scale: 0.9, 35 | loop: false, 36 | autoplay: false, 37 | ), 38 | ), 39 | SizedBox( 40 | height: 20.0, 41 | ), 42 | Text( 43 | '$_currentPage/6', 44 | style: TextStyle( 45 | color: Style.Colors.greyColor, 46 | fontSize: 16.0, 47 | ), 48 | ), 49 | SizedBox( 50 | height: 8.0, 51 | ), 52 | Padding( 53 | padding: const EdgeInsets.only(right: 60.0, left: 8.0), 54 | child: LinearProgressIndicator( 55 | backgroundColor: Style.Colors.greyColor, 56 | value: _currentIndex, 57 | valueColor: AlwaysStoppedAnimation(Style.Colors.whiteColor), 58 | ), 59 | ), 60 | ], 61 | ); 62 | } 63 | 64 | Widget offerCard() { 65 | return Container( 66 | width: MediaQuery.of(context).size.width - 35, 67 | child: ClipRRect( 68 | borderRadius: BorderRadius.circular(5), 69 | child: Container( 70 | child: Image.asset( 71 | '$imgPath2', 72 | fit: BoxFit.cover, 73 | ), 74 | ), 75 | ), 76 | ); 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /lib/widgets/offers/weekly_featured_widget.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:store_flutter_app/style/colors.dart' as Style; 3 | import 'package:flutter_swiper/flutter_swiper.dart'; 4 | import 'package:store_flutter_app/utils/constants.dart'; 5 | 6 | class WeeklyFeaturedWidget extends StatefulWidget { 7 | @override 8 | _WeeklyFeaturedWidgetState createState() => _WeeklyFeaturedWidgetState(); 9 | } 10 | 11 | class _WeeklyFeaturedWidgetState extends State { 12 | double _currentIndex = 0.1; 13 | int _currentPage = 1; 14 | 15 | @override 16 | Widget build(BuildContext context) { 17 | return Column( 18 | mainAxisAlignment: MainAxisAlignment.start, 19 | crossAxisAlignment: CrossAxisAlignment.start, 20 | children: [ 21 | Expanded( 22 | child: Swiper( 23 | itemBuilder: (BuildContext context, int index) { 24 | return offerCard(); 25 | }, 26 | onIndexChanged: (value) { 27 | setState(() { 28 | _currentIndex = (1 / 6) * (value.toDouble() + 1); 29 | _currentPage = value + 1; 30 | }); 31 | }, 32 | itemCount: 6, 33 | viewportFraction: 0.9, 34 | scale: 0.9, 35 | loop: false, 36 | autoplay: false, 37 | ), 38 | ), 39 | SizedBox( 40 | height: 20.0, 41 | ), 42 | Text( 43 | '$_currentPage/6', 44 | style: TextStyle( 45 | color: Style.Colors.greyColor, 46 | fontSize: 16.0, 47 | ), 48 | ), 49 | SizedBox( 50 | height: 8.0, 51 | ), 52 | Padding( 53 | padding: const EdgeInsets.only(right: 60.0, left: 8.0), 54 | child: LinearProgressIndicator( 55 | backgroundColor: Style.Colors.greyColor, 56 | value: _currentIndex, 57 | valueColor: AlwaysStoppedAnimation(Style.Colors.whiteColor), 58 | ), 59 | ), 60 | ], 61 | ); 62 | } 63 | 64 | Widget offerCard() { 65 | return Container( 66 | width: MediaQuery.of(context).size.width - 35, 67 | child: ClipRRect( 68 | borderRadius: BorderRadius.circular(5), 69 | child: Container( 70 | child: Image.asset( 71 | '$imgPath2', 72 | fit: BoxFit.cover, 73 | ), 74 | ), 75 | ), 76 | ); 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /lib/screens/categories_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:store_flutter_app/screens/search_screen.dart'; 3 | import 'package:store_flutter_app/style/colors.dart' as Style; 4 | import 'package:store_flutter_app/widgets/categories/header_categories.dart'; 5 | import 'package:store_flutter_app/widgets/home/best_selling.dart'; 6 | 7 | import 'cart_screen.dart'; 8 | 9 | class CategoriesScreen extends StatefulWidget { 10 | @override 11 | _CategoriesScreenState createState() => _CategoriesScreenState(); 12 | } 13 | 14 | class _CategoriesScreenState extends State { 15 | 16 | void _openEndDrawer() { 17 | Scaffold.of(context).openEndDrawer(); 18 | } 19 | 20 | @override 21 | Widget build(BuildContext context) { 22 | return Scaffold( 23 | backgroundColor: Style.Colors.blackColor, 24 | appBar: AppBar( 25 | backgroundColor: Style.Colors.blackColor, 26 | centerTitle: true, 27 | leading: Icon( 28 | Icons.menu, 29 | color: Style.Colors.whiteColor, 30 | ), 31 | actions: [ 32 | IconButton( 33 | icon: Icon( 34 | Icons.search, 35 | color: Style.Colors.whiteColor, 36 | ), 37 | onPressed: () { 38 | Navigator.push(context, 39 | MaterialPageRoute(builder: (context) => SearchScreen())); 40 | }), 41 | IconButton( 42 | icon: Icon( 43 | Icons.filter_list, 44 | color: Style.Colors.whiteColor, 45 | ), 46 | onPressed: _openEndDrawer, 47 | ), 48 | IconButton( 49 | icon: Icon( 50 | Icons.shopping_bag_outlined, 51 | color: Style.Colors.whiteColor, 52 | ), 53 | onPressed: () { 54 | Navigator.push(context, 55 | MaterialPageRoute(builder: (context) => CartScreen())); 56 | }), 57 | ], 58 | ), 59 | body: Padding( 60 | padding: const EdgeInsets.all(8.0), 61 | child: SingleChildScrollView( 62 | child: Column( 63 | mainAxisAlignment: MainAxisAlignment.start, 64 | crossAxisAlignment: CrossAxisAlignment.start, 65 | children: [ 66 | SizedBox( 67 | height: 8.0, 68 | ), 69 | HeaderCategoriesWidget(), 70 | BestSelling(), 71 | ], 72 | ), 73 | ), 74 | ), 75 | ); 76 | } 77 | 78 | } 79 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 8 | 12 | 19 | 23 | 27 | 32 | 36 | 37 | 38 | 39 | 40 | 41 | 43 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /lib/widgets/cart/bottom_bar_cart.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:store_flutter_app/style/colors.dart' as Style; 3 | 4 | class BottomBarCart extends StatefulWidget { 5 | @override 6 | _BottomBarCartState createState() => _BottomBarCartState(); 7 | } 8 | 9 | class _BottomBarCartState extends State { 10 | @override 11 | Widget build(BuildContext context) { 12 | return Container( 13 | color: Style.Colors.bottomBarColor, 14 | width: MediaQuery.of(context).size.width, 15 | height: 110, 16 | child: Row( 17 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 18 | children: [ 19 | Column( 20 | crossAxisAlignment: CrossAxisAlignment.start, 21 | children: [ 22 | Padding( 23 | padding: 24 | const EdgeInsets.only(left: 8.0, top: 16.0, bottom: 8.0), 25 | child: Text( 26 | "Total", 27 | style: TextStyle( 28 | color: Style.Colors.descColor, 29 | fontSize: 16, 30 | fontWeight: FontWeight.bold), 31 | ), 32 | ), 33 | Padding( 34 | padding: const EdgeInsets.only(left: 8.0, bottom: 8.0), 35 | child: Text( 36 | "\$3,327.22", 37 | style: TextStyle( 38 | color: Style.Colors.whiteColor, 39 | fontSize: 20, 40 | fontWeight: FontWeight.bold), 41 | ), 42 | ), 43 | Padding( 44 | padding: const EdgeInsets.only(left: 8.0, bottom: 8.0), 45 | child: Text( 46 | "Free Domestic Shipping", 47 | style: TextStyle( 48 | color: Style.Colors.descColor, 49 | fontSize: 16, 50 | fontWeight: FontWeight.bold), 51 | ), 52 | ), 53 | ], 54 | ), 55 | Padding( 56 | padding: const EdgeInsets.all(8.0), 57 | child: RaisedButton( 58 | shape: RoundedRectangleBorder( 59 | borderRadius: BorderRadius.circular(18.0), 60 | ), 61 | color: Style.Colors.primaryColor, 62 | child: Padding( 63 | padding: const EdgeInsets.all(8.0), 64 | child: Text( 65 | 'PLACE ORDER', 66 | style: TextStyle( 67 | color: Style.Colors.blackColor, 68 | fontSize: 20.0, 69 | ), 70 | ), 71 | ), 72 | onPressed: () {}, 73 | ), 74 | ) 75 | ], 76 | ), 77 | ); 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /lib/widgets/cart/address_cart_widget.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:store_flutter_app/style/colors.dart' as Style; 3 | 4 | class AddressCartWidget extends StatefulWidget { 5 | @override 6 | _AddressCartWidgetState createState() => _AddressCartWidgetState(); 7 | } 8 | 9 | class _AddressCartWidgetState extends State { 10 | @override 11 | Widget build(BuildContext context) { 12 | return Padding( 13 | padding: const EdgeInsets.all(8.0), 14 | child: Container( 15 | width: MediaQuery.of(context).size.width, 16 | decoration: BoxDecoration( 17 | color: Style.Colors.itemColor, 18 | borderRadius: BorderRadius.only( 19 | topLeft: Radius.circular(10), 20 | topRight: Radius.circular(10), 21 | bottomLeft: Radius.circular(10), 22 | bottomRight: Radius.circular(10)), 23 | boxShadow: [ 24 | BoxShadow( 25 | color: Colors.black26.withOpacity(0.2), 26 | spreadRadius: 5, 27 | blurRadius: 7, 28 | offset: Offset(0, 3), // changes position of shadow 29 | ), 30 | ], 31 | ), 32 | child: Padding( 33 | padding: const EdgeInsets.all(16.0), 34 | child: Row( 35 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 36 | children: [ 37 | Column( 38 | mainAxisAlignment: MainAxisAlignment.start, 39 | crossAxisAlignment: CrossAxisAlignment.start, 40 | children: [ 41 | Text( 42 | 'Shipping address', 43 | style: TextStyle( 44 | color: Style.Colors.whiteColor, 45 | fontSize: 16.0, 46 | fontWeight: FontWeight.bold, 47 | ), 48 | ), 49 | SizedBox( 50 | height: 16.0, 51 | ), 52 | Text( 53 | 'John Doc\nNo 123, Sub Street\nMain Street,\nCity Name, Province,\nCountry', 54 | style: TextStyle( 55 | color: Style.Colors.whiteColor, 56 | fontSize: 16.0, 57 | ), 58 | ), 59 | ], 60 | ), 61 | Container( 62 | width: 30.0, 63 | height: 30.0, 64 | decoration: BoxDecoration( 65 | borderRadius: BorderRadius.circular(100.0), 66 | color: Colors.white10, 67 | ), 68 | child: IconButton( 69 | padding: EdgeInsets.all(0), 70 | icon: Icon( 71 | Icons.keyboard_arrow_right, 72 | color: Style.Colors.whiteColor, 73 | ), 74 | onPressed: () {}, 75 | ), 76 | ), 77 | ], 78 | ), 79 | ), 80 | ), 81 | ); 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /lib/widgets/search/recommended_widget.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/cupertino.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:store_flutter_app/style/colors.dart' as Style; 4 | 5 | class RecommendedWidget extends StatefulWidget { 6 | @override 7 | _RecommendedWidgetState createState() => _RecommendedWidgetState(); 8 | } 9 | 10 | class _RecommendedWidgetState extends State { 11 | List recommends = [ 12 | 'Chairs', 13 | 'Armchairs', 14 | 'Tables', 15 | 'Pillows', 16 | 'Lighting', 17 | 'Tabletop' 18 | ]; 19 | 20 | @override 21 | Widget build(BuildContext context) { 22 | return Padding( 23 | padding: const EdgeInsets.all(8.0), 24 | child: Container( 25 | child: Column( 26 | crossAxisAlignment: CrossAxisAlignment.start, 27 | children: [ 28 | Row( 29 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 30 | children: [ 31 | Text( 32 | 'Recommended', 33 | style: TextStyle( 34 | color: Style.Colors.whiteColor, 35 | fontSize: 16.0, 36 | ), 37 | ), 38 | FlatButton( 39 | minWidth: 10.0, 40 | padding: EdgeInsets.only(left: 8.0, right: 8.0), 41 | materialTapTargetSize: MaterialTapTargetSize.shrinkWrap, 42 | onPressed: () {}, 43 | child: Text( 44 | 'Refresh', 45 | style: TextStyle( 46 | color: Style.Colors.greyColor, 47 | fontSize: 16.0, 48 | ), 49 | ), 50 | ), 51 | ], 52 | ), 53 | SizedBox( 54 | height: 16.0, 55 | ), 56 | Wrap( 57 | children: recommends 58 | .map((e) => Padding( 59 | padding: const EdgeInsets.all(5.0), 60 | child: Container( 61 | decoration: BoxDecoration( 62 | borderRadius: BorderRadius.circular(5.0), 63 | color: Colors.white10, 64 | ), 65 | child: FlatButton( 66 | minWidth: 10.0, 67 | padding: EdgeInsets.only(left: 8.0, right: 8.0), 68 | materialTapTargetSize: 69 | MaterialTapTargetSize.shrinkWrap, 70 | child: Text( 71 | '$e', 72 | style: TextStyle( 73 | color: Style.Colors.whiteColor, 74 | fontSize: 16.0, 75 | ), 76 | ), 77 | onPressed: () {}, 78 | ), 79 | ), 80 | )) 81 | .toList(), 82 | ), 83 | ], 84 | ), 85 | ), 86 | ); 87 | } 88 | } 89 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /lib/widgets/offers/home_categories.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:store_flutter_app/style/colors.dart' as Style; 3 | import 'package:store_flutter_app/widgets/offers/deal_of_the_day_widget.dart'; 4 | import 'package:store_flutter_app/widgets/offers/discount_widget.dart'; 5 | import 'package:store_flutter_app/widgets/offers/new_widget.dart'; 6 | import 'package:store_flutter_app/widgets/offers/weekly_featured_widget.dart'; 7 | 8 | class HomeCategories extends StatefulWidget { 9 | @override 10 | _HomeCategoriesState createState() => _HomeCategoriesState(); 11 | } 12 | 13 | class _HomeCategoriesState extends State 14 | with TickerProviderStateMixin { 15 | 16 | final List categories = [ 17 | "New", 18 | "Weekly Featured", 19 | "Discount", 20 | "Deal Of The Day", 21 | ]; 22 | 23 | TabController _tabController; 24 | 25 | @override 26 | void initState() { 27 | super.initState(); 28 | _tabController = TabController(length: categories.length, vsync: this); 29 | } 30 | 31 | @override 32 | void dispose() { 33 | super.dispose(); 34 | _tabController.dispose(); 35 | } 36 | 37 | @override 38 | Widget build(BuildContext context) { 39 | return Container( 40 | height: 320.0, 41 | width: MediaQuery.of(context).size.width, 42 | child: DefaultTabController( 43 | length: categories.length, 44 | child: Scaffold( 45 | backgroundColor: Style.Colors.blackColor, 46 | appBar: PreferredSize( 47 | preferredSize: Size.fromHeight(50.0), 48 | child: AppBar( 49 | elevation: 0.0, 50 | backgroundColor: Style.Colors.blackColor, 51 | bottom: TabBar( 52 | controller: _tabController, 53 | indicatorColor: Style.Colors.primaryColor, 54 | indicatorSize: TabBarIndicatorSize.label, 55 | indicatorWeight: 3.0, 56 | unselectedLabelColor: Style.Colors.whiteColor, 57 | labelColor: Style.Colors.primaryColor, 58 | indicator: UnderlineTabIndicator( 59 | borderSide: BorderSide( 60 | width: 3.0, 61 | color: Style.Colors.primaryColor, 62 | ), 63 | insets: EdgeInsets.symmetric(horizontal: 50.0), 64 | ), 65 | isScrollable: true, 66 | tabs: categories.map((e) { 67 | return Container( 68 | padding: EdgeInsets.only(bottom: 15.0, top: 10.0), 69 | child: Text( 70 | e.toUpperCase(), 71 | style: TextStyle( 72 | fontSize: 14.0, fontWeight: FontWeight.bold), 73 | ), 74 | ); 75 | }).toList(), 76 | ), 77 | ), 78 | ), 79 | body: Container( 80 | margin: EdgeInsets.only(top: 30.0), 81 | child: TabBarView( 82 | controller: _tabController, 83 | physics: AlwaysScrollableScrollPhysics(), 84 | children: [ 85 | NewWidget(), 86 | WeeklyFeaturedWidget(), 87 | DiscountWidget(), 88 | DealOfTheDayWidget(), 89 | ], 90 | ), 91 | ), 92 | ), 93 | ), 94 | ); 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /lib/widgets/cart/promo_code_cart_widget.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:store_flutter_app/style/colors.dart' as Style; 3 | 4 | class PromoCodeCartWidget extends StatefulWidget { 5 | @override 6 | _PromoCodeCartWidgetState createState() => _PromoCodeCartWidgetState(); 7 | } 8 | 9 | class _PromoCodeCartWidgetState extends State { 10 | @override 11 | Widget build(BuildContext context) { 12 | return Padding( 13 | padding: const EdgeInsets.all(8.0), 14 | child: Container( 15 | width: MediaQuery.of(context).size.width, 16 | decoration: BoxDecoration( 17 | color: Style.Colors.itemColor, 18 | borderRadius: BorderRadius.only( 19 | topLeft: Radius.circular(10), 20 | topRight: Radius.circular(10), 21 | bottomLeft: Radius.circular(10), 22 | bottomRight: Radius.circular(10)), 23 | boxShadow: [ 24 | BoxShadow( 25 | color: Colors.black26.withOpacity(0.2), 26 | spreadRadius: 5, 27 | blurRadius: 7, 28 | offset: Offset(0, 3), // changes position of shadow 29 | ), 30 | ], 31 | ), 32 | child: Padding( 33 | padding: const EdgeInsets.all(16.0), 34 | child: Row( 35 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 36 | children: [ 37 | Column( 38 | mainAxisAlignment: MainAxisAlignment.start, 39 | crossAxisAlignment: CrossAxisAlignment.start, 40 | children: [ 41 | Text( 42 | 'Promo code', 43 | style: TextStyle( 44 | color: Style.Colors.whiteColor, 45 | fontSize: 16.0, 46 | fontWeight: FontWeight.bold, 47 | ), 48 | ), 49 | SizedBox( 50 | height: 16.0, 51 | ), 52 | Row( 53 | children: [ 54 | Icon( 55 | Icons.confirmation_number, 56 | color: Style.Colors.primaryColor, 57 | ), 58 | SizedBox( 59 | width: 8, 60 | ), 61 | Text( 62 | 'Add Promo Code', 63 | style: TextStyle( 64 | color: Style.Colors.primaryColor, 65 | fontSize: 18.0, 66 | ), 67 | ), 68 | ], 69 | ), 70 | ], 71 | ), 72 | Container( 73 | width: 30.0, 74 | height: 30.0, 75 | decoration: BoxDecoration( 76 | borderRadius: BorderRadius.circular(100.0), 77 | color: Colors.white10, 78 | ), 79 | child: IconButton( 80 | padding: EdgeInsets.all(0), 81 | icon: Icon( 82 | Icons.keyboard_arrow_right, 83 | color: Style.Colors.whiteColor, 84 | ), 85 | onPressed: () {}, 86 | ), 87 | ), 88 | ], 89 | ), 90 | ), 91 | ), 92 | ); 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /lib/widgets/categories/header_categories.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_swiper/flutter_swiper.dart'; 3 | import 'package:store_flutter_app/model/categories_model.dart'; 4 | import 'package:store_flutter_app/style/colors.dart' as Style; 5 | import 'package:store_flutter_app/utils/constants.dart'; 6 | 7 | class HeaderCategoriesWidget extends StatefulWidget { 8 | @override 9 | _HeaderCategoriesWidgetState createState() => _HeaderCategoriesWidgetState(); 10 | } 11 | 12 | class _HeaderCategoriesWidgetState extends State { 13 | 14 | List categoriesList = [ 15 | CategoriesModel('Chairs', categoryImg1, 356), 16 | CategoriesModel('Lighting', categoryImg2, 356), 17 | CategoriesModel('Pillows', categoryImg3, 356), 18 | CategoriesModel('Tabletop', categoryImg4, 356), 19 | ]; 20 | 21 | @override 22 | Widget build(BuildContext context) { 23 | return Padding( 24 | padding: const EdgeInsets.all(8.0), 25 | child: Column( 26 | children: [ 27 | Row( 28 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 29 | children: [ 30 | Text( 31 | 'Categories', 32 | style: TextStyle( 33 | color: Style.Colors.whiteColor, 34 | fontSize: 24.0, 35 | fontWeight: FontWeight.bold, 36 | ), 37 | ), 38 | Icon( 39 | Icons.widgets_outlined, 40 | color: Style.Colors.whiteColor, 41 | ), 42 | ], 43 | ), 44 | SizedBox( 45 | height: 20.0, 46 | ), 47 | Container( 48 | height: 250.0, 49 | child: Swiper( 50 | itemBuilder: (BuildContext context, int index) { 51 | return categoryCard(index); 52 | }, 53 | itemCount: categoriesList.length, 54 | viewportFraction: 0.35, 55 | scale: 0.6, 56 | loop: true, 57 | autoplay: false, 58 | ), 59 | ), 60 | ], 61 | ), 62 | ); 63 | } 64 | 65 | Widget categoryCard(int index) { 66 | return Padding( 67 | padding: const EdgeInsets.all(8.0), 68 | child: Column( 69 | crossAxisAlignment: CrossAxisAlignment.start, 70 | children: [ 71 | Container( 72 | color: Style.Colors.blackColor, 73 | width: 220.0, 74 | child: ClipRRect( 75 | borderRadius: BorderRadius.circular(5), 76 | child: Container( 77 | height: 140.0, 78 | child: Image.asset( 79 | '${categoriesList[index].categoryImg}', 80 | fit: BoxFit.fill, 81 | ), 82 | ), 83 | ), 84 | ), 85 | SizedBox(height: 8.0,), 86 | Text( 87 | '${categoriesList[index].categoryName}', 88 | style: TextStyle( 89 | color: Style.Colors.whiteColor, 90 | fontSize: 16.0, 91 | fontWeight: FontWeight.bold, 92 | ), 93 | ), 94 | Text( 95 | '${categoriesList[index].categoryQty.toString()} Items', 96 | style: TextStyle( 97 | color: Style.Colors.descColor, 98 | fontSize: 14.0, 99 | ), 100 | ), 101 | ], 102 | ), 103 | ); 104 | } 105 | } 106 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /lib/widgets/messages/messages_list_widget.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:store_flutter_app/model/messages_model.dart'; 3 | import 'package:store_flutter_app/style/colors.dart' as Style; 4 | 5 | class MessagesListWidget extends StatefulWidget { 6 | @override 7 | _MessagesListWidgetState createState() => _MessagesListWidgetState(); 8 | } 9 | 10 | class _MessagesListWidgetState extends State { 11 | List messagesModel = [ 12 | MessagesModel('Smiley\'s Ston', 'Hello Smiley, Is the product available', 13 | 'SS', '12:48 PM', Color(0xFFED9E9D)), 14 | MessagesModel('Beauty Supplies Store', 'Where\'s your location?', 'BS', 15 | '2:13 PM', Color(0xFFF5C677)), 16 | MessagesModel( 17 | 'Loveless Bees', 'Okay, Deal', 'LB', 'Yesterday', Color(0xFFBBB9FE)), 18 | MessagesModel( 19 | 'FSHN Boutique', 'How much?', 'FB', '15 Sep', Color(0xFF91E0FB)), 20 | MessagesModel('Anna\'s Corner', 'Okay', 'AC', '17 Aug', Color(0xFFAFE4E6)), 21 | ]; 22 | 23 | @override 24 | Widget build(BuildContext context) { 25 | return Container( 26 | height: MediaQuery.of(context).size.height, 27 | child: Expanded( 28 | child: ListView.builder( 29 | shrinkWrap: true, 30 | itemCount: messagesModel.length, 31 | itemBuilder: (BuildContext context, int index) { 32 | return _listItem(messagesModel[index]); 33 | }, 34 | ), 35 | ), 36 | ); 37 | } 38 | 39 | Widget _listItem(MessagesModel model) { 40 | return Container( 41 | height: 100.0, 42 | child: Column( 43 | mainAxisAlignment: MainAxisAlignment.end, 44 | crossAxisAlignment: CrossAxisAlignment.end, 45 | children: [ 46 | ListTile( 47 | leading: _contactImg('${model.contactName}', model.contactColor), 48 | title: Text( 49 | '${model.contactName}', 50 | style: TextStyle( 51 | color: Style.Colors.whiteColor, 52 | ), 53 | ), 54 | subtitle: Text( 55 | '${model.contactMsg}', 56 | style: TextStyle( 57 | color: Style.Colors.whiteColor, 58 | ), 59 | ), 60 | trailing: Text( 61 | '${model.msgDate}', 62 | style: TextStyle( 63 | color: Style.Colors.whiteColor, 64 | ), 65 | ), 66 | ), 67 | SizedBox(height: 8.0,), 68 | Container( 69 | width: MediaQuery 70 | .of(context) 71 | .size 72 | .width - 100.0, 73 | child: Divider( 74 | color: Style.Colors.greyColor, 75 | thickness: 1.5, 76 | )), 77 | ], 78 | ), 79 | ); 80 | } 81 | 82 | Widget _contactImg(String contactName, Color contactImgColor) { 83 | return Container( 84 | alignment: Alignment.center, 85 | height: 50.0, 86 | width: 50.0, 87 | decoration: BoxDecoration( 88 | color: contactImgColor, 89 | borderRadius: BorderRadius.circular(50.0), 90 | ), 91 | child: Text( 92 | '${getInitials(contactName)}', 93 | style: TextStyle( 94 | color: Style.Colors.blackColor, 95 | fontSize: 24.0, 96 | fontWeight: FontWeight.bold, 97 | ), 98 | ), 99 | ); 100 | } 101 | 102 | String getInitials(String contactName) { 103 | List names = contactName.split(' '); 104 | String initialImg = ''; 105 | String initials = ''; 106 | int numWords = 2; 107 | 108 | if (numWords < names.length) { 109 | numWords = names.length; 110 | } 111 | for (var i = 0; i < numWords; i++) { 112 | initials += '${names[i][0]}'; 113 | } 114 | 115 | initialImg += initials[0] + initials[1]; 116 | 117 | return initialImg; 118 | } 119 | 120 | } 121 | -------------------------------------------------------------------------------- /lib/widgets/cart/payment_method_cart_widget.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:store_flutter_app/style/colors.dart' as Style; 3 | 4 | class PaymentMethodCartWidget extends StatefulWidget { 5 | @override 6 | _PaymentMethodCartWidgetState createState() => _PaymentMethodCartWidgetState(); 7 | } 8 | 9 | class _PaymentMethodCartWidgetState extends State { 10 | @override 11 | Widget build(BuildContext context) { 12 | return Padding( 13 | padding: const EdgeInsets.all(8.0), 14 | child: Container( 15 | width: MediaQuery.of(context).size.width, 16 | decoration: BoxDecoration( 17 | color: Style.Colors.itemColor, 18 | borderRadius: BorderRadius.only( 19 | topLeft: Radius.circular(10), 20 | topRight: Radius.circular(10), 21 | bottomLeft: Radius.circular(10), 22 | bottomRight: Radius.circular(10)), 23 | boxShadow: [ 24 | BoxShadow( 25 | color: Colors.black26.withOpacity(0.2), 26 | spreadRadius: 5, 27 | blurRadius: 7, 28 | offset: Offset(0, 3), // changes position of shadow 29 | ), 30 | ], 31 | ), 32 | child: Padding( 33 | padding: const EdgeInsets.all(16.0), 34 | child: Row( 35 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 36 | children: [ 37 | Column( 38 | mainAxisAlignment: MainAxisAlignment.start, 39 | crossAxisAlignment: CrossAxisAlignment.start, 40 | children: [ 41 | Text( 42 | 'Payment method', 43 | style: TextStyle( 44 | color: Style.Colors.whiteColor, 45 | fontSize: 16.0, 46 | fontWeight: FontWeight.bold, 47 | ), 48 | ), 49 | SizedBox( 50 | height: 16.0, 51 | ), 52 | Row( 53 | children: [ 54 | Container( 55 | width: 30.0, 56 | height: 20.0, 57 | decoration: BoxDecoration( 58 | borderRadius: BorderRadius.only( 59 | topLeft: Radius.circular(10), 60 | topRight: Radius.circular(10), 61 | bottomLeft: Radius.circular(10), 62 | bottomRight: Radius.circular(10)), 63 | color: Style.Colors.whiteColor, 64 | ), 65 | child: Padding( 66 | padding: const EdgeInsets.all(2.0), 67 | child: Image.asset("assets/images/mastercard.png"), 68 | ), 69 | ), 70 | SizedBox( 71 | width: 8, 72 | ), 73 | Text( 74 | 'Master Card ending "00', 75 | style: TextStyle( 76 | color: Style.Colors.whiteColor, 77 | fontSize: 16.0, 78 | ), 79 | ), 80 | ], 81 | ), 82 | ], 83 | ), 84 | Container( 85 | width: 30.0, 86 | height: 30.0, 87 | decoration: BoxDecoration( 88 | borderRadius: BorderRadius.circular(100.0), 89 | color: Colors.white10, 90 | ), 91 | child: IconButton( 92 | padding: EdgeInsets.all(0), 93 | icon: Icon( 94 | Icons.keyboard_arrow_right, 95 | color: Style.Colors.whiteColor, 96 | ), 97 | onPressed: () {}, 98 | ), 99 | ), 100 | ], 101 | ), 102 | ), 103 | ), 104 | ); 105 | } 106 | } 107 | -------------------------------------------------------------------------------- /lib/widgets/search/recenlty_viewed_widget.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:store_flutter_app/model/item_model.dart'; 3 | import 'package:store_flutter_app/style/colors.dart' as Style; 4 | import 'package:store_flutter_app/utils/constants.dart'; 5 | 6 | class RecentlyViewWidget extends StatefulWidget { 7 | @override 8 | _RecentlyViewWidgetState createState() => _RecentlyViewWidgetState(); 9 | } 10 | 11 | class _RecentlyViewWidgetState extends State { 12 | List items = [ 13 | ItemModel.recentlyViewed('Wooden Table', categoryImg4, '\$ 290'), 14 | ItemModel.recentlyViewed('Wavy Chair', bestSellingImg2, '\$ 100'), 15 | ]; 16 | 17 | @override 18 | Widget build(BuildContext context) { 19 | return Padding( 20 | padding: const EdgeInsets.all(8.0), 21 | child: Container( 22 | height: 130.0, 23 | child: Column( 24 | crossAxisAlignment: CrossAxisAlignment.start, 25 | children: [ 26 | Row( 27 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 28 | children: [ 29 | Text( 30 | 'Recently View', 31 | style: TextStyle( 32 | color: Style.Colors.whiteColor, 33 | fontSize: 16.0, 34 | ), 35 | ), 36 | FlatButton( 37 | minWidth: 10.0, 38 | padding: EdgeInsets.only(left: 8.0, right: 8.0), 39 | materialTapTargetSize: MaterialTapTargetSize.shrinkWrap, 40 | onPressed: () {}, 41 | child: Text( 42 | 'Clear', 43 | style: TextStyle( 44 | color: Style.Colors.greyColor, 45 | fontSize: 16.0, 46 | ), 47 | ), 48 | ), 49 | ], 50 | ), 51 | SizedBox( 52 | height: 16.0, 53 | ), 54 | Expanded( 55 | child: ListView.builder( 56 | scrollDirection: Axis.horizontal, 57 | itemBuilder: (BuildContext context, int index) { 58 | return _itemList(items[index]); 59 | }, 60 | itemCount: items.length, 61 | ), 62 | ) 63 | ], 64 | ), 65 | ), 66 | ); 67 | } 68 | 69 | Widget _itemList(ItemModel item) { 70 | return Container( 71 | margin: EdgeInsets.only(right: 8.0), 72 | padding: EdgeInsets.all(5.0), 73 | width: 220.0, 74 | height: 60.0, 75 | decoration: BoxDecoration( 76 | borderRadius: BorderRadius.circular(8.0), 77 | color: Colors.white10, 78 | ), 79 | child: Row( 80 | children: [ 81 | Container( 82 | height: 70.0, 83 | width: 70.0, 84 | child: ClipRRect( 85 | borderRadius: BorderRadius.circular(8.0), 86 | child: Container( 87 | child: Image.asset( 88 | '${item.itemImg}', 89 | fit: BoxFit.fill, 90 | ), 91 | ), 92 | ), 93 | ), 94 | Padding( 95 | padding: const EdgeInsets.all(8.0), 96 | child: Container( 97 | height: 100.0, 98 | child: Column( 99 | crossAxisAlignment: CrossAxisAlignment.start, 100 | children: [ 101 | Text( 102 | '${item.itemName}', 103 | style: TextStyle( 104 | color: Style.Colors.whiteColor, 105 | fontSize: 16.0, 106 | ), 107 | ), 108 | SizedBox( 109 | height: 8.0, 110 | ), 111 | Text( 112 | '${item.itemCost}', 113 | style: TextStyle( 114 | color: Style.Colors.primaryColor, 115 | fontSize: 16.0, 116 | ), 117 | ), 118 | ], 119 | ), 120 | ), 121 | ), 122 | ], 123 | ), 124 | ); 125 | } 126 | } 127 | -------------------------------------------------------------------------------- /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.5.0-nullsafety" 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-nullsafety" 18 | carousel_slider: 19 | dependency: "direct main" 20 | description: 21 | name: carousel_slider 22 | url: "https://pub.dartlang.org" 23 | source: hosted 24 | version: "2.3.1" 25 | characters: 26 | dependency: transitive 27 | description: 28 | name: characters 29 | url: "https://pub.dartlang.org" 30 | source: hosted 31 | version: "1.1.0-nullsafety.2" 32 | charcode: 33 | dependency: transitive 34 | description: 35 | name: charcode 36 | url: "https://pub.dartlang.org" 37 | source: hosted 38 | version: "1.2.0-nullsafety" 39 | clock: 40 | dependency: transitive 41 | description: 42 | name: clock 43 | url: "https://pub.dartlang.org" 44 | source: hosted 45 | version: "1.1.0-nullsafety" 46 | collection: 47 | dependency: transitive 48 | description: 49 | name: collection 50 | url: "https://pub.dartlang.org" 51 | source: hosted 52 | version: "1.15.0-nullsafety.2" 53 | fake_async: 54 | dependency: transitive 55 | description: 56 | name: fake_async 57 | url: "https://pub.dartlang.org" 58 | source: hosted 59 | version: "1.1.0-nullsafety" 60 | flutter: 61 | dependency: "direct main" 62 | description: flutter 63 | source: sdk 64 | version: "0.0.0" 65 | flutter_page_indicator: 66 | dependency: transitive 67 | description: 68 | name: flutter_page_indicator 69 | url: "https://pub.dartlang.org" 70 | source: hosted 71 | version: "0.0.3" 72 | flutter_swiper: 73 | dependency: "direct main" 74 | description: 75 | name: flutter_swiper 76 | url: "https://pub.dartlang.org" 77 | source: hosted 78 | version: "1.1.6" 79 | flutter_test: 80 | dependency: "direct dev" 81 | description: flutter 82 | source: sdk 83 | version: "0.0.0" 84 | matcher: 85 | dependency: transitive 86 | description: 87 | name: matcher 88 | url: "https://pub.dartlang.org" 89 | source: hosted 90 | version: "0.12.10-nullsafety" 91 | meta: 92 | dependency: transitive 93 | description: 94 | name: meta 95 | url: "https://pub.dartlang.org" 96 | source: hosted 97 | version: "1.3.0-nullsafety.2" 98 | path: 99 | dependency: transitive 100 | description: 101 | name: path 102 | url: "https://pub.dartlang.org" 103 | source: hosted 104 | version: "1.8.0-nullsafety" 105 | sky_engine: 106 | dependency: transitive 107 | description: flutter 108 | source: sdk 109 | version: "0.0.99" 110 | source_span: 111 | dependency: transitive 112 | description: 113 | name: source_span 114 | url: "https://pub.dartlang.org" 115 | source: hosted 116 | version: "1.8.0-nullsafety" 117 | stack_trace: 118 | dependency: transitive 119 | description: 120 | name: stack_trace 121 | url: "https://pub.dartlang.org" 122 | source: hosted 123 | version: "1.10.0-nullsafety" 124 | stream_channel: 125 | dependency: transitive 126 | description: 127 | name: stream_channel 128 | url: "https://pub.dartlang.org" 129 | source: hosted 130 | version: "2.1.0-nullsafety" 131 | string_scanner: 132 | dependency: transitive 133 | description: 134 | name: string_scanner 135 | url: "https://pub.dartlang.org" 136 | source: hosted 137 | version: "1.1.0-nullsafety" 138 | term_glyph: 139 | dependency: transitive 140 | description: 141 | name: term_glyph 142 | url: "https://pub.dartlang.org" 143 | source: hosted 144 | version: "1.2.0-nullsafety" 145 | test_api: 146 | dependency: transitive 147 | description: 148 | name: test_api 149 | url: "https://pub.dartlang.org" 150 | source: hosted 151 | version: "0.2.19-nullsafety" 152 | transformer_page_view: 153 | dependency: transitive 154 | description: 155 | name: transformer_page_view 156 | url: "https://pub.dartlang.org" 157 | source: hosted 158 | version: "0.1.6" 159 | typed_data: 160 | dependency: transitive 161 | description: 162 | name: typed_data 163 | url: "https://pub.dartlang.org" 164 | source: hosted 165 | version: "1.3.0-nullsafety.2" 166 | vector_math: 167 | dependency: transitive 168 | description: 169 | name: vector_math 170 | url: "https://pub.dartlang.org" 171 | source: hosted 172 | version: "2.1.0-nullsafety.2" 173 | sdks: 174 | dart: ">=2.10.0-0.0.dev <2.10.0" 175 | flutter: ">=0.1.4 <3.0.0" 176 | -------------------------------------------------------------------------------- /lib/widgets/home/best_selling.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:store_flutter_app/model/item_model.dart'; 3 | import 'package:store_flutter_app/style/colors.dart' as Style; 4 | import 'package:store_flutter_app/utils/constants.dart'; 5 | 6 | class BestSelling extends StatefulWidget { 7 | @override 8 | _BestSellingState createState() => _BestSellingState(); 9 | } 10 | 11 | class _BestSellingState extends State { 12 | List bestSellingList = [ 13 | ItemModel.bestSelling( 14 | 'Chair', bestSellingImg1, 'Green Home Chair', '\$ 100', false), 15 | ItemModel.bestSelling( 16 | 'Chair', bestSellingImg2, 'Purple Home Chair', '\$ 100', false), 17 | ItemModel.bestSelling( 18 | 'Chair', bestSellingImg2, 'Purple Home Chair', '\$ 100', false), 19 | ItemModel.bestSelling( 20 | 'Chair', bestSellingImg1, 'Green Home Chair', '\$ 100', false), 21 | ]; 22 | 23 | @override 24 | Widget build(BuildContext context) { 25 | return Container( 26 | child: Padding( 27 | padding: const EdgeInsets.all(8.0), 28 | child: Column( 29 | mainAxisSize: MainAxisSize.min, 30 | crossAxisAlignment: CrossAxisAlignment.start, 31 | children: [ 32 | Row( 33 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 34 | children: [ 35 | Text( 36 | 'Best Selling', 37 | style: TextStyle( 38 | color: Style.Colors.whiteColor, 39 | fontSize: 24.0, 40 | fontWeight: FontWeight.bold, 41 | ), 42 | ), 43 | Row( 44 | mainAxisAlignment: MainAxisAlignment.end, 45 | children: [ 46 | Text( 47 | 'Show all', 48 | style: TextStyle( 49 | color: Style.Colors.whiteColor, 50 | fontSize: 14.0, 51 | ), 52 | ), 53 | Icon( 54 | Icons.keyboard_arrow_down, 55 | color: Style.Colors.whiteColor, 56 | ), 57 | ], 58 | ), 59 | ], 60 | ), 61 | SizedBox( 62 | height: 20.0, 63 | ), 64 | GridView.builder( 65 | shrinkWrap: true, 66 | physics: NeverScrollableScrollPhysics(), 67 | itemCount: bestSellingList.length, 68 | gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( 69 | crossAxisCount: 2, 70 | crossAxisSpacing: 8.0, 71 | mainAxisSpacing: 8.0, 72 | childAspectRatio: 2 / 3, 73 | ), 74 | itemBuilder: (context, index) { 75 | return bestSellingCard(index); 76 | }, 77 | ), 78 | ], 79 | ), 80 | ), 81 | ); 82 | } 83 | 84 | Widget bestSellingCard(int index) { 85 | ItemModel bestSellingModel = bestSellingList[index]; 86 | 87 | return Column( 88 | crossAxisAlignment: CrossAxisAlignment.start, 89 | children: [ 90 | Stack( 91 | children: [ 92 | Container( 93 | height: MediaQuery.of(context).size.width / 2 - 30, 94 | child: ClipRRect( 95 | borderRadius: BorderRadius.circular(5), 96 | child: Container( 97 | child: Image.asset( 98 | '${bestSellingModel.itemImg}', 99 | fit: BoxFit.fill, 100 | ), 101 | ), 102 | ), 103 | ), 104 | Positioned( 105 | top: -5, 106 | right: -4, 107 | child: IconButton( 108 | onPressed: () { 109 | setState(() { 110 | if (bestSellingModel.isItemFav) 111 | bestSellingModel.isItemFav = false; 112 | else 113 | bestSellingModel.isItemFav = true; 114 | }); 115 | }, 116 | icon: bestSellingModel.isItemFav 117 | ? Icon( 118 | Icons.favorite_sharp, 119 | color: Style.Colors.greyColor, 120 | ) 121 | : Icon( 122 | Icons.favorite_border_sharp, 123 | color: Style.Colors.primaryColor, 124 | ), 125 | ), 126 | ), 127 | ], 128 | ), 129 | SizedBox( 130 | height: 8.0, 131 | ), 132 | Text( 133 | '${bestSellingModel.itemName}', 134 | style: TextStyle( 135 | color: Style.Colors.whiteColor, 136 | fontSize: 16.0, 137 | fontWeight: FontWeight.bold, 138 | ), 139 | ), 140 | Text( 141 | '${bestSellingModel.itemDesc}', 142 | style: TextStyle( 143 | color: Style.Colors.descColor, 144 | fontSize: 14.0, 145 | ), 146 | ), 147 | Text( 148 | '${bestSellingModel.itemCost}', 149 | style: TextStyle( 150 | color: Style.Colors.primaryColor, 151 | fontSize: 16.0, 152 | fontWeight: FontWeight.bold, 153 | ), 154 | ), 155 | ], 156 | ); 157 | } 158 | } 159 | -------------------------------------------------------------------------------- /lib/screens/main_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:store_flutter_app/screens/categories_screen.dart'; 3 | import 'package:store_flutter_app/screens/home_screen.dart'; 4 | import 'package:store_flutter_app/style/colors.dart' as Style; 5 | import 'package:store_flutter_app/widgets/categories/end_drawer.dart'; 6 | 7 | import 'account_screen.dart'; 8 | import 'messages_screen.dart'; 9 | 10 | class MainScreen extends StatefulWidget { 11 | @override 12 | _MainScreenState createState() => _MainScreenState(); 13 | } 14 | 15 | class _MainScreenState extends State { 16 | int _selectedIndex = 0; 17 | 18 | List widgets = [ 19 | HomeScreen(), 20 | CategoriesScreen(), 21 | MessagesScreen(), 22 | AccountScreen(), 23 | ]; 24 | 25 | //defining the global keys for BottomNavigation Bar Icons 26 | GlobalKey _homeIconKey = GlobalKey(); 27 | GlobalKey _categoriesIconKey = GlobalKey(); 28 | GlobalKey _messagesIconKey = GlobalKey(); 29 | GlobalKey _accountIconKey = GlobalKey(); 30 | 31 | // Defining the initial Position of the tile 32 | Offset _tilePosition = Offset(34.1, 704.3); 33 | 34 | _changePosition(int index) { 35 | List _keyList = [ 36 | _homeIconKey, 37 | _categoriesIconKey, 38 | _messagesIconKey, 39 | _accountIconKey 40 | ]; 41 | 42 | RenderBox _icon = _keyList[index].currentContext.findRenderObject(); 43 | Offset position = _icon.localToGlobal(Offset.zero); 44 | _tilePosition = position; 45 | print('$_tilePosition'); 46 | _selectedIndex = index; 47 | setState(() {}); 48 | } 49 | 50 | @override 51 | Widget build(BuildContext context) { 52 | return Scaffold( 53 | backgroundColor: Style.Colors.blackColor, 54 | bottomNavigationBar: Stack(children: [ 55 | Container( 56 | width: MediaQuery.of(context).size.width, 57 | height: 82.0, 58 | margin: EdgeInsets.fromLTRB(8.0, 0.0, 8.0, 0.0), 59 | decoration: BoxDecoration( 60 | color: Style.Colors.bottomBarColor, 61 | border: Border.all( 62 | color: Style.Colors.bottomBarColor.withOpacity(0.6), 63 | width: 0.5), 64 | borderRadius: BorderRadius.only( 65 | topRight: Radius.circular(20.0), 66 | topLeft: Radius.circular(20.0), 67 | ), 68 | ), 69 | child: Column( 70 | crossAxisAlignment: CrossAxisAlignment.center, 71 | children: [ 72 | SizedBox( 73 | height: 8.0, 74 | ), 75 | Container( 76 | height: 2.0, 77 | width: 70.0, 78 | color: Style.Colors.greyColor, 79 | ), 80 | Container( 81 | width: MediaQuery.of(context).size.width, 82 | margin: EdgeInsets.all(0.1), 83 | height: 20.0, 84 | decoration: BoxDecoration( 85 | borderRadius: BorderRadius.only( 86 | topRight: Radius.circular(50.0), 87 | topLeft: Radius.circular(50.0), 88 | ), 89 | ), 90 | ), 91 | ], 92 | ), 93 | ), 94 | Container( 95 | margin: EdgeInsets.fromLTRB(0.0, 16.0, 0.0, 0.0), 96 | child: Theme( 97 | data: Theme.of(context).copyWith( 98 | canvasColor: Style.Colors.bottomBarColor, 99 | primaryColor: Style.Colors.primaryColor, 100 | textTheme: Theme.of(context).textTheme.copyWith( 101 | caption: new TextStyle( 102 | color: Style.Colors.greyColor, 103 | ))), 104 | child: BottomNavigationBar( 105 | type: BottomNavigationBarType.fixed, 106 | showSelectedLabels: true, 107 | iconSize: 24.0, 108 | selectedIconTheme: 109 | IconThemeData(color: Style.Colors.primaryColor), 110 | selectedLabelStyle: TextStyle(color: Style.Colors.primaryColor), 111 | currentIndex: _selectedIndex, 112 | elevation: 0.0, 113 | onTap: (index) { 114 | print(index); 115 | _changePosition(index); 116 | }, 117 | backgroundColor: Colors.transparent, 118 | items: [ 119 | BottomNavigationBarItem( 120 | icon: Icon( 121 | Icons.home_outlined, 122 | key: _homeIconKey, 123 | ), 124 | label: 'Home', 125 | ), 126 | BottomNavigationBarItem( 127 | icon: Icon( 128 | Icons.apps, 129 | key: _categoriesIconKey, 130 | ), 131 | label: 'Categories', 132 | ), 133 | BottomNavigationBarItem( 134 | icon: Icon( 135 | Icons.mail_outline, 136 | key: _messagesIconKey, 137 | ), 138 | label: 'Messages', 139 | ), 140 | BottomNavigationBarItem( 141 | icon: Icon( 142 | Icons.person_outline, 143 | key: _accountIconKey, 144 | ), 145 | label: 'Account', 146 | ), 147 | ], 148 | ), 149 | ), 150 | ) 151 | ]), 152 | endDrawer: EndDrawer(), 153 | endDrawerEnableOpenDragGesture: false, 154 | body: widgets[_selectedIndex], 155 | ); 156 | } 157 | } 158 | -------------------------------------------------------------------------------- /lib/widgets/cart/items_cart_widget.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:store_flutter_app/style/colors.dart' as Style; 3 | import 'package:store_flutter_app/utils/constants.dart'; 4 | 5 | class ItemsCartWidget extends StatefulWidget { 6 | @override 7 | _ItemsCartWidgetState createState() => _ItemsCartWidgetState(); 8 | } 9 | 10 | class _ItemsCartWidgetState extends State { 11 | @override 12 | Widget build(BuildContext context) { 13 | return Padding( 14 | padding: const EdgeInsets.all(8.0), 15 | child: Container( 16 | width: MediaQuery.of(context).size.width, 17 | decoration: BoxDecoration( 18 | color: Style.Colors.itemColor, 19 | borderRadius: BorderRadius.only( 20 | topLeft: Radius.circular(10), 21 | topRight: Radius.circular(10), 22 | bottomLeft: Radius.circular(10), 23 | bottomRight: Radius.circular(10)), 24 | boxShadow: [ 25 | BoxShadow( 26 | color: Colors.black26.withOpacity(0.2), 27 | spreadRadius: 5, 28 | blurRadius: 7, 29 | offset: Offset(0, 3), // changes position of shadow 30 | ), 31 | ], 32 | ), 33 | child: Padding( 34 | padding: const EdgeInsets.all(16.0), 35 | child: Column( 36 | mainAxisAlignment: MainAxisAlignment.start, 37 | crossAxisAlignment: CrossAxisAlignment.start, 38 | children: [ 39 | Text( 40 | 'Items', 41 | style: TextStyle( 42 | color: Style.Colors.whiteColor, 43 | fontSize: 16.0, 44 | fontWeight: FontWeight.bold, 45 | ), 46 | ), 47 | SizedBox( 48 | height: 16.0, 49 | ), 50 | Container( 51 | child: Row( 52 | crossAxisAlignment: CrossAxisAlignment.start, 53 | children: [ 54 | Stack( 55 | children: [ 56 | Container( 57 | height: 100.0, 58 | width: 100.0, 59 | child: ClipRRect( 60 | borderRadius: BorderRadius.circular(5), 61 | child: Container( 62 | child: Image.asset( 63 | '$bestSellingImg2', 64 | fit: BoxFit.fill, 65 | ), 66 | ), 67 | ), 68 | ), 69 | Positioned( 70 | top: 8.0, 71 | left: 8.0, 72 | child: Container( 73 | height: 25.0, 74 | width: 25.0, 75 | decoration: BoxDecoration( 76 | color: Style.Colors.blackColor, 77 | borderRadius: BorderRadius.only( 78 | topLeft: Radius.circular(10), 79 | topRight: Radius.circular(10), 80 | bottomLeft: Radius.circular(10), 81 | bottomRight: Radius.circular(10)), 82 | boxShadow: [ 83 | BoxShadow( 84 | color: Colors.black26.withOpacity(0.2), 85 | spreadRadius: 5, 86 | blurRadius: 7, 87 | offset: Offset( 88 | 0, 3), // changes position of shadow 89 | ), 90 | ], 91 | ), 92 | child: Center( 93 | child: Text( 94 | '4', 95 | style: TextStyle( 96 | color: Style.Colors.whiteColor, 97 | fontSize: 16.0, 98 | ), 99 | ), 100 | ), 101 | ), 102 | ), 103 | ], 104 | ), 105 | SizedBox( 106 | width: 8.0, 107 | ), 108 | Column( 109 | crossAxisAlignment: CrossAxisAlignment.start, 110 | children: [ 111 | Text( 112 | 'Wavy Chair', 113 | style: TextStyle( 114 | color: Style.Colors.whiteColor, 115 | fontSize: 16.0, 116 | fontWeight: FontWeight.bold, 117 | ), 118 | ), 119 | SizedBox( 120 | height: 8.0, 121 | ), 122 | Padding( 123 | padding: const EdgeInsets.only(top: 8.0), 124 | child: Text( 125 | '\$ 100', 126 | style: TextStyle( 127 | color: Style.Colors.primaryColor, 128 | fontSize: 16.0, 129 | fontWeight: FontWeight.bold, 130 | ), 131 | ), 132 | ), 133 | SizedBox( 134 | height: 8.0, 135 | ), 136 | Row( 137 | children: [ 138 | Container( 139 | height: 20.0, 140 | width: 20.0, 141 | child: Material( 142 | color: Colors.white, 143 | )), 144 | Padding( 145 | padding: const EdgeInsets.all(8.0), 146 | child: Text( 147 | 'White', 148 | style: 149 | TextStyle(color: Style.Colors.whiteColor), 150 | ), 151 | ), 152 | Text( 153 | "|", 154 | style: TextStyle( 155 | color: Style.Colors.whiteColor, 156 | ), 157 | ), 158 | Padding( 159 | padding: const EdgeInsets.all(8.0), 160 | child: Text( 161 | 'Size', 162 | style: 163 | TextStyle(color: Style.Colors.whiteColor), 164 | ), 165 | ), 166 | Text( 167 | 'M', 168 | style: TextStyle( 169 | color: Style.Colors.whiteColor, 170 | fontWeight: FontWeight.bold), 171 | ), 172 | ], 173 | ), 174 | ], 175 | ), 176 | ], 177 | ), 178 | ), 179 | ], 180 | ), 181 | ), 182 | ), 183 | ); 184 | } 185 | } 186 | -------------------------------------------------------------------------------- /lib/screens/account_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:store_flutter_app/style/colors.dart' as Style; 3 | import 'cart_screen.dart'; 4 | 5 | class AccountScreen extends StatefulWidget { 6 | @override 7 | _AccountScreenState createState() => _AccountScreenState(); 8 | } 9 | 10 | class _AccountScreenState extends State { 11 | @override 12 | Widget build(BuildContext context) { 13 | return Scaffold( 14 | backgroundColor: Style.Colors.blackColor, 15 | appBar: AppBar( 16 | backgroundColor: Style.Colors.blackColor, 17 | centerTitle: true, 18 | title: Text( 19 | 'Furnity', 20 | style: TextStyle(color: Style.Colors.whiteColor), 21 | ), 22 | leading: Icon( 23 | Icons.menu, 24 | color: Style.Colors.whiteColor, 25 | ), 26 | actions: [ 27 | IconButton( 28 | icon: Icon( 29 | Icons.shopping_bag_outlined, 30 | color: Style.Colors.whiteColor, 31 | ), 32 | onPressed: () { 33 | Navigator.push(context, 34 | MaterialPageRoute(builder: (context) => CartScreen())); 35 | }) 36 | ], 37 | ), 38 | body: Padding( 39 | padding: const EdgeInsets.all(8.0), 40 | child: SingleChildScrollView( 41 | child: Column( 42 | mainAxisAlignment: MainAxisAlignment.start, 43 | crossAxisAlignment: CrossAxisAlignment.start, 44 | children: [ 45 | _firstContainer(), 46 | SizedBox( 47 | height: 8.0, 48 | ), 49 | _secondContainer(), 50 | SizedBox( 51 | height: 8.0, 52 | ), 53 | _thirdContainer(), 54 | SizedBox( 55 | height: 8.0, 56 | ), 57 | ], 58 | ), 59 | ), 60 | ), 61 | ); 62 | } 63 | 64 | Widget _firstContainer() { 65 | return Padding( 66 | padding: const EdgeInsets.all(8.0), 67 | child: Container( 68 | width: MediaQuery.of(context).size.width, 69 | decoration: BoxDecoration( 70 | color: Style.Colors.itemColor, 71 | borderRadius: BorderRadius.all( 72 | Radius.circular(10), 73 | ), 74 | boxShadow: [ 75 | BoxShadow( 76 | color: Colors.black26.withOpacity(0.2), 77 | spreadRadius: 5, 78 | blurRadius: 7, 79 | offset: Offset(0, 3), // changes position of shadow 80 | ), 81 | ], 82 | ), 83 | child: Column( 84 | children: [ 85 | ListTile( 86 | leading: Icon( 87 | Icons.person, 88 | size: 25.0, 89 | color: Style.Colors.greyColor, 90 | ), 91 | title: Text( 92 | 'Personal Info.', 93 | style: TextStyle( 94 | color: Style.Colors.whiteColor, 95 | ), 96 | ), 97 | trailing: Container( 98 | width: 20.0, 99 | height: 20.0, 100 | decoration: BoxDecoration( 101 | borderRadius: BorderRadius.circular(100.0), 102 | color: Colors.white10, 103 | ), 104 | child: IconButton( 105 | padding: EdgeInsets.all(0), 106 | icon: Icon( 107 | Icons.keyboard_arrow_right, 108 | color: Style.Colors.greyColor, 109 | size: 16.0, 110 | ), 111 | onPressed: () {}, 112 | ), 113 | ), 114 | ), 115 | ListTile( 116 | leading: Icon( 117 | Icons.pending_actions, 118 | size: 25.0, 119 | color: Style.Colors.greyColor, 120 | ), 121 | title: Text( 122 | 'Pending Deals', 123 | style: TextStyle( 124 | color: Style.Colors.whiteColor, 125 | ), 126 | ), 127 | trailing: Container( 128 | width: 20.0, 129 | height: 20.0, 130 | decoration: BoxDecoration( 131 | borderRadius: BorderRadius.circular(100.0), 132 | color: Colors.white10, 133 | ), 134 | child: IconButton( 135 | padding: EdgeInsets.all(0), 136 | icon: Icon( 137 | Icons.keyboard_arrow_right, 138 | color: Style.Colors.greyColor, 139 | size: 16.0, 140 | ), 141 | onPressed: () {}, 142 | ), 143 | ), 144 | ), 145 | ListTile( 146 | leading: Icon( 147 | Icons.assignment_turned_in_rounded, 148 | size: 25.0, 149 | color: Style.Colors.greyColor, 150 | ), 151 | title: Text( 152 | 'Pending Orders', 153 | style: TextStyle( 154 | color: Style.Colors.whiteColor, 155 | ), 156 | ), 157 | trailing: Container( 158 | width: 20.0, 159 | height: 20.0, 160 | decoration: BoxDecoration( 161 | borderRadius: BorderRadius.circular(100.0), 162 | color: Colors.white10, 163 | ), 164 | child: IconButton( 165 | padding: EdgeInsets.all(0), 166 | icon: Icon( 167 | Icons.keyboard_arrow_right, 168 | color: Style.Colors.greyColor, 169 | size: 16.0, 170 | ), 171 | onPressed: () {}, 172 | ), 173 | ), 174 | ), 175 | ], 176 | ), 177 | ), 178 | ); 179 | } 180 | 181 | Widget _secondContainer() { 182 | return Padding( 183 | padding: const EdgeInsets.all(8.0), 184 | child: Container( 185 | width: MediaQuery.of(context).size.width, 186 | decoration: BoxDecoration( 187 | color: Style.Colors.itemColor, 188 | borderRadius: BorderRadius.all( 189 | Radius.circular(10), 190 | ), 191 | boxShadow: [ 192 | BoxShadow( 193 | color: Colors.black26.withOpacity(0.2), 194 | spreadRadius: 5, 195 | blurRadius: 7, 196 | offset: Offset(0, 3), // changes position of shadow 197 | ), 198 | ], 199 | ), 200 | child: Column( 201 | children: [ 202 | ListTile( 203 | leading: Icon( 204 | Icons.insert_invitation, 205 | size: 25.0, 206 | color: Style.Colors.greyColor, 207 | ), 208 | title: Text( 209 | 'Invite Friends', 210 | style: TextStyle( 211 | color: Style.Colors.whiteColor, 212 | ), 213 | ), 214 | trailing: Container( 215 | width: 20.0, 216 | height: 20.0, 217 | decoration: BoxDecoration( 218 | borderRadius: BorderRadius.circular(100.0), 219 | color: Colors.white10, 220 | ), 221 | child: IconButton( 222 | padding: EdgeInsets.all(0), 223 | icon: Icon( 224 | Icons.keyboard_arrow_right, 225 | color: Style.Colors.greyColor, 226 | size: 16.0, 227 | ), 228 | onPressed: () {}, 229 | ), 230 | ), 231 | ), 232 | ListTile( 233 | leading: Icon( 234 | Icons.headset_mic, 235 | size: 25.0, 236 | color: Style.Colors.greyColor, 237 | ), 238 | title: Text( 239 | 'Customer Support', 240 | style: TextStyle( 241 | color: Style.Colors.whiteColor, 242 | ), 243 | ), 244 | trailing: Container( 245 | width: 20.0, 246 | height: 20.0, 247 | decoration: BoxDecoration( 248 | borderRadius: BorderRadius.circular(100.0), 249 | color: Colors.white10, 250 | ), 251 | child: IconButton( 252 | padding: EdgeInsets.all(0), 253 | icon: Icon( 254 | Icons.keyboard_arrow_right, 255 | color: Style.Colors.greyColor, 256 | size: 16.0, 257 | ), 258 | onPressed: () {}, 259 | ), 260 | ), 261 | ), 262 | ListTile( 263 | leading: Icon( 264 | Icons.star_rate_outlined, 265 | size: 25.0, 266 | color: Style.Colors.greyColor, 267 | ), 268 | title: Text( 269 | 'Rate Out App', 270 | style: TextStyle( 271 | color: Style.Colors.whiteColor, 272 | ), 273 | ), 274 | trailing: Container( 275 | width: 20.0, 276 | height: 20.0, 277 | decoration: BoxDecoration( 278 | borderRadius: BorderRadius.circular(100.0), 279 | color: Colors.white10, 280 | ), 281 | child: IconButton( 282 | padding: EdgeInsets.all(0), 283 | icon: Icon( 284 | Icons.keyboard_arrow_right, 285 | color: Style.Colors.greyColor, 286 | size: 16.0, 287 | ), 288 | onPressed: () {}, 289 | ), 290 | ), 291 | ), 292 | ListTile( 293 | leading: Icon( 294 | Icons.rate_review_outlined, 295 | size: 25.0, 296 | color: Style.Colors.greyColor, 297 | ), 298 | title: Text( 299 | 'Make a Suggestion', 300 | style: TextStyle( 301 | color: Style.Colors.whiteColor, 302 | ), 303 | ), 304 | trailing: Container( 305 | width: 20.0, 306 | height: 20.0, 307 | decoration: BoxDecoration( 308 | borderRadius: BorderRadius.circular(100.0), 309 | color: Colors.white10, 310 | ), 311 | child: IconButton( 312 | padding: EdgeInsets.all(0), 313 | icon: Icon( 314 | Icons.keyboard_arrow_right, 315 | color: Style.Colors.greyColor, 316 | size: 16.0, 317 | ), 318 | onPressed: () {}, 319 | ), 320 | ), 321 | ), 322 | ], 323 | ), 324 | ), 325 | ); 326 | } 327 | 328 | Widget _thirdContainer() { 329 | return Padding( 330 | padding: const EdgeInsets.all(8.0), 331 | child: Container( 332 | width: MediaQuery.of(context).size.width, 333 | decoration: BoxDecoration( 334 | color: Style.Colors.itemColor, 335 | borderRadius: BorderRadius.all( 336 | Radius.circular(10), 337 | ), 338 | boxShadow: [ 339 | BoxShadow( 340 | color: Colors.black26.withOpacity(0.2), 341 | spreadRadius: 5, 342 | blurRadius: 7, 343 | offset: Offset(0, 3), // changes position of shadow 344 | ), 345 | ], 346 | ), 347 | child: Column( 348 | children: [ 349 | ListTile( 350 | leading: Icon( 351 | Icons.edit_location_outlined, 352 | size: 25.0, 353 | color: Style.Colors.greyColor, 354 | ), 355 | title: Text( 356 | 'Shipping Address', 357 | style: TextStyle( 358 | color: Style.Colors.whiteColor, 359 | ), 360 | ), 361 | trailing: Container( 362 | width: 20.0, 363 | height: 20.0, 364 | decoration: BoxDecoration( 365 | borderRadius: BorderRadius.circular(100.0), 366 | color: Colors.white10, 367 | ), 368 | child: IconButton( 369 | padding: EdgeInsets.all(0), 370 | icon: Icon( 371 | Icons.keyboard_arrow_right, 372 | color: Style.Colors.greyColor, 373 | size: 16.0, 374 | ), 375 | onPressed: () {}, 376 | ), 377 | ), 378 | ), 379 | ListTile( 380 | leading: Icon( 381 | Icons.credit_card_rounded, 382 | size: 25.0, 383 | color: Style.Colors.greyColor, 384 | ), 385 | title: Text( 386 | 'Payment Method', 387 | style: TextStyle( 388 | color: Style.Colors.whiteColor, 389 | ), 390 | ), 391 | trailing: Container( 392 | width: 20.0, 393 | height: 20.0, 394 | decoration: BoxDecoration( 395 | borderRadius: BorderRadius.circular(100.0), 396 | color: Colors.white10, 397 | ), 398 | child: IconButton( 399 | padding: EdgeInsets.all(0), 400 | icon: Icon( 401 | Icons.keyboard_arrow_right, 402 | color: Style.Colors.greyColor, 403 | size: 16.0, 404 | ), 405 | onPressed: () {}, 406 | ), 407 | ), 408 | ), 409 | ], 410 | ), 411 | ), 412 | ); 413 | } 414 | } 415 | -------------------------------------------------------------------------------- /lib/widgets/categories/end_drawer.dart: -------------------------------------------------------------------------------- 1 | import 'dart:ui'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:store_flutter_app/style/colors.dart' as Style; 4 | 5 | class EndDrawer extends StatefulWidget { 6 | @override 7 | _EndDrawerState createState() => _EndDrawerState(); 8 | } 9 | 10 | class _EndDrawerState extends State { 11 | @override 12 | Widget build(BuildContext context) { 13 | return ClipRRect( 14 | borderRadius: BorderRadius.only( 15 | topLeft: Radius.circular(15), 16 | bottomLeft: Radius.circular(15), 17 | ), 18 | child: BackdropFilter( 19 | filter: new ImageFilter.blur(sigmaX: 5.0, sigmaY: 5.0), 20 | child: Drawer( 21 | child: Container( 22 | color: Style.Colors.blackColor, 23 | child: Column( 24 | children: [ 25 | _drawerHeader(), 26 | _viewChild(), 27 | _categoryChild(), 28 | _conditionChild(), 29 | _materialChild(), 30 | _colorChild(), 31 | _brandChild(), 32 | _sizeChild(), 33 | _priceRangChild(), 34 | _drawerBottom(), 35 | ], 36 | ), 37 | ), 38 | ), 39 | ), 40 | ); 41 | } 42 | 43 | Widget _drawerHeader() { 44 | return Container( 45 | height: 100.0, 46 | padding: EdgeInsets.all(16.0), 47 | color: Style.Colors.blackColor, 48 | child: DrawerHeader( 49 | padding: EdgeInsets.all(0.0), 50 | child: Row( 51 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 52 | children: [ 53 | Row( 54 | children: [ 55 | Icon( 56 | Icons.filter_list, 57 | color: Style.Colors.greyColor, 58 | ), 59 | SizedBox( 60 | width: 8.0, 61 | ), 62 | Text( 63 | 'Filter', 64 | style: TextStyle( 65 | color: Style.Colors.whiteColor, 66 | fontSize: 16.0, 67 | ), 68 | ), 69 | ], 70 | ), 71 | IconButton( 72 | icon: Icon( 73 | Icons.close, 74 | color: Style.Colors.greyColor, 75 | ), 76 | onPressed: () { 77 | Navigator.pop(context); 78 | }, 79 | ) 80 | ], 81 | ), 82 | ), 83 | ); 84 | } 85 | 86 | Widget _viewChild() { 87 | return Padding( 88 | padding: const EdgeInsets.all(16.0), 89 | child: Row( 90 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 91 | children: [ 92 | Text( 93 | 'View', 94 | style: TextStyle( 95 | color: Style.Colors.whiteColor, 96 | fontSize: 16.0, 97 | ), 98 | ), 99 | Row( 100 | children: [ 101 | Text( 102 | 'Thumbnails', 103 | style: TextStyle( 104 | color: Style.Colors.greyColor, 105 | fontSize: 16.0, 106 | ), 107 | ), 108 | SizedBox( 109 | width: 16.0, 110 | ), 111 | Container( 112 | width: 20.0, 113 | height: 20.0, 114 | decoration: BoxDecoration( 115 | borderRadius: BorderRadius.circular(100.0), 116 | color: Colors.white10, 117 | ), 118 | child: IconButton( 119 | padding: EdgeInsets.all(0), 120 | icon: Icon( 121 | Icons.keyboard_arrow_right, 122 | color: Style.Colors.greyColor, 123 | size: 16.0, 124 | ), 125 | onPressed: () {}, 126 | ), 127 | ), 128 | ], 129 | ), 130 | ], 131 | ), 132 | ); 133 | } 134 | 135 | Widget _categoryChild() { 136 | return Padding( 137 | padding: const EdgeInsets.all(16.0), 138 | child: Row( 139 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 140 | children: [ 141 | Text( 142 | 'Category', 143 | style: TextStyle( 144 | color: Style.Colors.whiteColor, 145 | fontSize: 16.0, 146 | ), 147 | ), 148 | Row( 149 | children: [ 150 | Text( 151 | 'Chairs', 152 | style: TextStyle( 153 | color: Style.Colors.greyColor, 154 | fontSize: 16.0, 155 | ), 156 | ), 157 | SizedBox( 158 | width: 16.0, 159 | ), 160 | 161 | Container( 162 | width: 20.0, 163 | height: 20.0, 164 | decoration: BoxDecoration( 165 | borderRadius: BorderRadius.circular(100.0), 166 | color: Colors.white10, 167 | ), 168 | child: IconButton( 169 | padding: EdgeInsets.all(0), 170 | icon: Icon( 171 | Icons.keyboard_arrow_right, 172 | color: Style.Colors.greyColor, 173 | size: 16.0, 174 | ), 175 | onPressed: () {}, 176 | ), 177 | ), 178 | ], 179 | ), 180 | ], 181 | ), 182 | ); 183 | } 184 | 185 | Widget _conditionChild() { 186 | return Padding( 187 | padding: const EdgeInsets.all(16.0), 188 | child: Row( 189 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 190 | children: [ 191 | Text( 192 | 'Condition', 193 | style: TextStyle( 194 | color: Style.Colors.whiteColor, 195 | fontSize: 16.0, 196 | ), 197 | ), 198 | Row( 199 | children: [ 200 | Text( 201 | 'Brand New', 202 | style: TextStyle( 203 | color: Style.Colors.greyColor, 204 | fontSize: 16.0, 205 | ), 206 | ), 207 | SizedBox( 208 | width: 16.0, 209 | ), 210 | Container( 211 | width: 20.0, 212 | height: 20.0, 213 | decoration: BoxDecoration( 214 | borderRadius: BorderRadius.circular(100.0), 215 | color: Colors.white10, 216 | ), 217 | child: IconButton( 218 | padding: EdgeInsets.all(0), 219 | icon: Icon( 220 | Icons.keyboard_arrow_right, 221 | color: Style.Colors.greyColor, 222 | size: 16.0, 223 | ), 224 | onPressed: () {}, 225 | ), 226 | ), 227 | ], 228 | ), 229 | ], 230 | ), 231 | ); 232 | } 233 | 234 | Widget _materialChild() { 235 | return Padding( 236 | padding: const EdgeInsets.all(16.0), 237 | child: Row( 238 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 239 | children: [ 240 | Text( 241 | 'Material', 242 | style: TextStyle( 243 | color: Style.Colors.whiteColor, 244 | fontSize: 16.0, 245 | ), 246 | ), 247 | Row( 248 | children: [ 249 | Text( 250 | 'All materials', 251 | style: TextStyle( 252 | color: Style.Colors.greyColor, 253 | fontSize: 16.0, 254 | ), 255 | ), 256 | SizedBox( 257 | width: 16.0, 258 | ), 259 | Container( 260 | width: 20.0, 261 | height: 20.0, 262 | decoration: BoxDecoration( 263 | borderRadius: BorderRadius.circular(100.0), 264 | color: Colors.white10, 265 | ), 266 | child: IconButton( 267 | padding: EdgeInsets.all(0), 268 | icon: Icon( 269 | Icons.keyboard_arrow_right, 270 | color: Style.Colors.greyColor, 271 | size: 16.0, 272 | ), 273 | onPressed: () {}, 274 | ), 275 | ), 276 | ], 277 | ), 278 | ], 279 | ), 280 | ); 281 | } 282 | 283 | Widget _colorChild() { 284 | return Padding( 285 | padding: const EdgeInsets.all(16.0), 286 | child: Row( 287 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 288 | children: [ 289 | Text( 290 | 'Colour', 291 | style: TextStyle( 292 | color: Style.Colors.whiteColor, 293 | fontSize: 16.0, 294 | ), 295 | ), 296 | Row( 297 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 298 | children: [ 299 | Stack( 300 | overflow: Overflow.visible, 301 | alignment: Alignment.center, 302 | children: [ 303 | Positioned( 304 | left: 30.0, 305 | child: Container( 306 | width: 20.0, 307 | height: 20.0, 308 | decoration: BoxDecoration( 309 | borderRadius: BorderRadius.circular(100.0), 310 | color: Color(0xFF606F9A), 311 | ), 312 | ), 313 | ), 314 | Positioned( 315 | left: 15.0, 316 | child: Container( 317 | width: 20.0, 318 | height: 20.0, 319 | decoration: BoxDecoration( 320 | borderRadius: BorderRadius.circular(100.0), 321 | color: Color(0xFF7BCA89), 322 | ), 323 | ), 324 | ), 325 | Positioned( 326 | child: Container( 327 | width: 20.0, 328 | height: 20.0, 329 | decoration: BoxDecoration( 330 | borderRadius: BorderRadius.circular(100.0), 331 | color: Color(0xFFF7D6A9), 332 | ), 333 | ), 334 | ), 335 | ], 336 | ), 337 | SizedBox( 338 | width: 50.0, 339 | ), 340 | Container( 341 | width: 20.0, 342 | height: 20.0, 343 | decoration: BoxDecoration( 344 | borderRadius: BorderRadius.circular(100.0), 345 | color: Colors.white10, 346 | ), 347 | child: IconButton( 348 | padding: EdgeInsets.all(0), 349 | icon: Icon( 350 | Icons.keyboard_arrow_right, 351 | color: Style.Colors.greyColor, 352 | size: 16.0, 353 | ), 354 | onPressed: () {}, 355 | ), 356 | ), 357 | ], 358 | ), 359 | ], 360 | ), 361 | ); 362 | } 363 | 364 | Widget _brandChild() { 365 | return Padding( 366 | padding: const EdgeInsets.all(16.0), 367 | child: Row( 368 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 369 | children: [ 370 | Text( 371 | 'Brand', 372 | style: TextStyle( 373 | color: Style.Colors.whiteColor, 374 | fontSize: 16.0, 375 | ), 376 | ), 377 | Row( 378 | children: [ 379 | Text( 380 | 'All Brands', 381 | style: TextStyle( 382 | color: Style.Colors.greyColor, 383 | fontSize: 16.0, 384 | ), 385 | ), 386 | SizedBox( 387 | width: 16.0, 388 | ), 389 | Container( 390 | width: 20.0, 391 | height: 20.0, 392 | decoration: BoxDecoration( 393 | borderRadius: BorderRadius.circular(100.0), 394 | color: Colors.white10, 395 | ), 396 | child: IconButton( 397 | padding: EdgeInsets.all(0), 398 | icon: Icon( 399 | Icons.keyboard_arrow_right, 400 | color: Style.Colors.greyColor, 401 | size: 16.0, 402 | ), 403 | onPressed: () {}, 404 | ), 405 | ), 406 | ], 407 | ), 408 | ], 409 | ), 410 | ); 411 | } 412 | 413 | Widget _sizeChild() { 414 | return Padding( 415 | padding: const EdgeInsets.all(16.0), 416 | child: Row( 417 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 418 | children: [ 419 | Text( 420 | 'Size', 421 | style: TextStyle( 422 | color: Style.Colors.whiteColor, 423 | fontSize: 16.0, 424 | ), 425 | ), 426 | Row( 427 | children: [ 428 | Text( 429 | 'Large', 430 | style: TextStyle( 431 | color: Style.Colors.greyColor, 432 | fontSize: 16.0, 433 | ), 434 | ), 435 | SizedBox( 436 | width: 16.0, 437 | ), 438 | Container( 439 | width: 20.0, 440 | height: 20.0, 441 | decoration: BoxDecoration( 442 | borderRadius: BorderRadius.circular(100.0), 443 | color: Colors.white10, 444 | ), 445 | child: IconButton( 446 | padding: EdgeInsets.all(0), 447 | icon: Icon( 448 | Icons.keyboard_arrow_right, 449 | color: Style.Colors.greyColor, 450 | size: 16.0, 451 | ), 452 | onPressed: () {}, 453 | ), 454 | ), 455 | ], 456 | ), 457 | ], 458 | ), 459 | ); 460 | } 461 | 462 | Widget _priceRangChild() { 463 | return Padding( 464 | padding: const EdgeInsets.all(16.0), 465 | child: Row( 466 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 467 | children: [ 468 | Text( 469 | 'Price Range', 470 | style: TextStyle( 471 | color: Style.Colors.whiteColor, 472 | fontSize: 16.0, 473 | ), 474 | ), 475 | Row( 476 | children: [ 477 | Text( 478 | '0\$ - 30\$', 479 | style: TextStyle( 480 | color: Style.Colors.greyColor, 481 | fontSize: 16.0, 482 | ), 483 | ), 484 | SizedBox( 485 | width: 16.0, 486 | ), 487 | Container( 488 | width: 20.0, 489 | height: 20.0, 490 | decoration: BoxDecoration( 491 | borderRadius: BorderRadius.circular(100.0), 492 | color: Colors.white10, 493 | ), 494 | child: IconButton( 495 | padding: EdgeInsets.all(0), 496 | icon: Icon( 497 | Icons.keyboard_arrow_right, 498 | color: Style.Colors.greyColor, 499 | size: 16.0, 500 | ), 501 | onPressed: () {}, 502 | ), 503 | ), 504 | ], 505 | ), 506 | ], 507 | ), 508 | ); 509 | } 510 | 511 | Widget _drawerBottom() { 512 | return Expanded( 513 | child: Align( 514 | alignment: Alignment.bottomCenter, 515 | child: Padding( 516 | padding: const EdgeInsets.only(bottom: 32.0, left: 16.0, right: 16.0), 517 | child: Container( 518 | width: MediaQuery.of(context).size.width, 519 | child: RaisedButton( 520 | shape: RoundedRectangleBorder( 521 | borderRadius: BorderRadius.circular(10.0), 522 | ), 523 | color: Style.Colors.descColor, 524 | child: Padding( 525 | padding: const EdgeInsets.all(16.0), 526 | child: Text( 527 | 'APPLY FILTERS', 528 | style: TextStyle( 529 | color: Style.Colors.greyColor, 530 | fontSize: 20.0, 531 | ), 532 | ), 533 | ), 534 | onPressed: () {}, 535 | ), 536 | ), 537 | ), 538 | ), 539 | ); 540 | } 541 | } 542 | 543 | 544 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 12 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 13 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 14 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 15 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 16 | /* End PBXBuildFile section */ 17 | 18 | /* Begin PBXCopyFilesBuildPhase section */ 19 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 20 | isa = PBXCopyFilesBuildPhase; 21 | buildActionMask = 2147483647; 22 | dstPath = ""; 23 | dstSubfolderSpec = 10; 24 | files = ( 25 | ); 26 | name = "Embed Frameworks"; 27 | runOnlyForDeploymentPostprocessing = 0; 28 | }; 29 | /* End PBXCopyFilesBuildPhase section */ 30 | 31 | /* Begin PBXFileReference section */ 32 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 33 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 34 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 35 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 36 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 37 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 38 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 39 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 40 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 41 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 42 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 43 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 44 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 45 | /* End PBXFileReference section */ 46 | 47 | /* Begin PBXFrameworksBuildPhase section */ 48 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 49 | isa = PBXFrameworksBuildPhase; 50 | buildActionMask = 2147483647; 51 | files = ( 52 | ); 53 | runOnlyForDeploymentPostprocessing = 0; 54 | }; 55 | /* End PBXFrameworksBuildPhase section */ 56 | 57 | /* Begin PBXGroup section */ 58 | 9740EEB11CF90186004384FC /* Flutter */ = { 59 | isa = PBXGroup; 60 | children = ( 61 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 62 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 63 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 64 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 65 | ); 66 | name = Flutter; 67 | sourceTree = ""; 68 | }; 69 | 97C146E51CF9000F007C117D = { 70 | isa = PBXGroup; 71 | children = ( 72 | 9740EEB11CF90186004384FC /* Flutter */, 73 | 97C146F01CF9000F007C117D /* Runner */, 74 | 97C146EF1CF9000F007C117D /* Products */, 75 | ); 76 | sourceTree = ""; 77 | }; 78 | 97C146EF1CF9000F007C117D /* Products */ = { 79 | isa = PBXGroup; 80 | children = ( 81 | 97C146EE1CF9000F007C117D /* Runner.app */, 82 | ); 83 | name = Products; 84 | sourceTree = ""; 85 | }; 86 | 97C146F01CF9000F007C117D /* Runner */ = { 87 | isa = PBXGroup; 88 | children = ( 89 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 90 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 91 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 92 | 97C147021CF9000F007C117D /* Info.plist */, 93 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 94 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 95 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 96 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, 97 | ); 98 | path = Runner; 99 | sourceTree = ""; 100 | }; 101 | /* End PBXGroup section */ 102 | 103 | /* Begin PBXNativeTarget section */ 104 | 97C146ED1CF9000F007C117D /* Runner */ = { 105 | isa = PBXNativeTarget; 106 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 107 | buildPhases = ( 108 | 9740EEB61CF901F6004384FC /* Run Script */, 109 | 97C146EA1CF9000F007C117D /* Sources */, 110 | 97C146EB1CF9000F007C117D /* Frameworks */, 111 | 97C146EC1CF9000F007C117D /* Resources */, 112 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 113 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 114 | ); 115 | buildRules = ( 116 | ); 117 | dependencies = ( 118 | ); 119 | name = Runner; 120 | productName = Runner; 121 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 122 | productType = "com.apple.product-type.application"; 123 | }; 124 | /* End PBXNativeTarget section */ 125 | 126 | /* Begin PBXProject section */ 127 | 97C146E61CF9000F007C117D /* Project object */ = { 128 | isa = PBXProject; 129 | attributes = { 130 | LastUpgradeCheck = 1020; 131 | ORGANIZATIONNAME = ""; 132 | TargetAttributes = { 133 | 97C146ED1CF9000F007C117D = { 134 | CreatedOnToolsVersion = 7.3.1; 135 | LastSwiftMigration = 1100; 136 | }; 137 | }; 138 | }; 139 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 140 | compatibilityVersion = "Xcode 9.3"; 141 | developmentRegion = en; 142 | hasScannedForEncodings = 0; 143 | knownRegions = ( 144 | en, 145 | Base, 146 | ); 147 | mainGroup = 97C146E51CF9000F007C117D; 148 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 149 | projectDirPath = ""; 150 | projectRoot = ""; 151 | targets = ( 152 | 97C146ED1CF9000F007C117D /* Runner */, 153 | ); 154 | }; 155 | /* End PBXProject section */ 156 | 157 | /* Begin PBXResourcesBuildPhase section */ 158 | 97C146EC1CF9000F007C117D /* Resources */ = { 159 | isa = PBXResourcesBuildPhase; 160 | buildActionMask = 2147483647; 161 | files = ( 162 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 163 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 164 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 165 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 166 | ); 167 | runOnlyForDeploymentPostprocessing = 0; 168 | }; 169 | /* End PBXResourcesBuildPhase section */ 170 | 171 | /* Begin PBXShellScriptBuildPhase section */ 172 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 173 | isa = PBXShellScriptBuildPhase; 174 | buildActionMask = 2147483647; 175 | files = ( 176 | ); 177 | inputPaths = ( 178 | ); 179 | name = "Thin Binary"; 180 | outputPaths = ( 181 | ); 182 | runOnlyForDeploymentPostprocessing = 0; 183 | shellPath = /bin/sh; 184 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; 185 | }; 186 | 9740EEB61CF901F6004384FC /* Run Script */ = { 187 | isa = PBXShellScriptBuildPhase; 188 | buildActionMask = 2147483647; 189 | files = ( 190 | ); 191 | inputPaths = ( 192 | ); 193 | name = "Run Script"; 194 | outputPaths = ( 195 | ); 196 | runOnlyForDeploymentPostprocessing = 0; 197 | shellPath = /bin/sh; 198 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 199 | }; 200 | /* End PBXShellScriptBuildPhase section */ 201 | 202 | /* Begin PBXSourcesBuildPhase section */ 203 | 97C146EA1CF9000F007C117D /* Sources */ = { 204 | isa = PBXSourcesBuildPhase; 205 | buildActionMask = 2147483647; 206 | files = ( 207 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 208 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 209 | ); 210 | runOnlyForDeploymentPostprocessing = 0; 211 | }; 212 | /* End PBXSourcesBuildPhase section */ 213 | 214 | /* Begin PBXVariantGroup section */ 215 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 216 | isa = PBXVariantGroup; 217 | children = ( 218 | 97C146FB1CF9000F007C117D /* Base */, 219 | ); 220 | name = Main.storyboard; 221 | sourceTree = ""; 222 | }; 223 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 224 | isa = PBXVariantGroup; 225 | children = ( 226 | 97C147001CF9000F007C117D /* Base */, 227 | ); 228 | name = LaunchScreen.storyboard; 229 | sourceTree = ""; 230 | }; 231 | /* End PBXVariantGroup section */ 232 | 233 | /* Begin XCBuildConfiguration section */ 234 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 235 | isa = XCBuildConfiguration; 236 | buildSettings = { 237 | ALWAYS_SEARCH_USER_PATHS = NO; 238 | CLANG_ANALYZER_NONNULL = YES; 239 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 240 | CLANG_CXX_LIBRARY = "libc++"; 241 | CLANG_ENABLE_MODULES = YES; 242 | CLANG_ENABLE_OBJC_ARC = YES; 243 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 244 | CLANG_WARN_BOOL_CONVERSION = YES; 245 | CLANG_WARN_COMMA = YES; 246 | CLANG_WARN_CONSTANT_CONVERSION = YES; 247 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 248 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 249 | CLANG_WARN_EMPTY_BODY = YES; 250 | CLANG_WARN_ENUM_CONVERSION = YES; 251 | CLANG_WARN_INFINITE_RECURSION = YES; 252 | CLANG_WARN_INT_CONVERSION = YES; 253 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 254 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 255 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 256 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 257 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 258 | CLANG_WARN_STRICT_PROTOTYPES = YES; 259 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 260 | CLANG_WARN_UNREACHABLE_CODE = YES; 261 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 262 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 263 | COPY_PHASE_STRIP = NO; 264 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 265 | ENABLE_NS_ASSERTIONS = NO; 266 | ENABLE_STRICT_OBJC_MSGSEND = YES; 267 | GCC_C_LANGUAGE_STANDARD = gnu99; 268 | GCC_NO_COMMON_BLOCKS = YES; 269 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 270 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 271 | GCC_WARN_UNDECLARED_SELECTOR = YES; 272 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 273 | GCC_WARN_UNUSED_FUNCTION = YES; 274 | GCC_WARN_UNUSED_VARIABLE = YES; 275 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 276 | MTL_ENABLE_DEBUG_INFO = NO; 277 | SDKROOT = iphoneos; 278 | SUPPORTED_PLATFORMS = iphoneos; 279 | TARGETED_DEVICE_FAMILY = "1,2"; 280 | VALIDATE_PRODUCT = YES; 281 | }; 282 | name = Profile; 283 | }; 284 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 285 | isa = XCBuildConfiguration; 286 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 287 | buildSettings = { 288 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 289 | CLANG_ENABLE_MODULES = YES; 290 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 291 | ENABLE_BITCODE = NO; 292 | FRAMEWORK_SEARCH_PATHS = ( 293 | "$(inherited)", 294 | "$(PROJECT_DIR)/Flutter", 295 | ); 296 | INFOPLIST_FILE = Runner/Info.plist; 297 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 298 | LIBRARY_SEARCH_PATHS = ( 299 | "$(inherited)", 300 | "$(PROJECT_DIR)/Flutter", 301 | ); 302 | PRODUCT_BUNDLE_IDENTIFIER = com.ahmeddhus.storeFlutterApp; 303 | PRODUCT_NAME = "$(TARGET_NAME)"; 304 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 305 | SWIFT_VERSION = 5.0; 306 | VERSIONING_SYSTEM = "apple-generic"; 307 | }; 308 | name = Profile; 309 | }; 310 | 97C147031CF9000F007C117D /* Debug */ = { 311 | isa = XCBuildConfiguration; 312 | buildSettings = { 313 | ALWAYS_SEARCH_USER_PATHS = NO; 314 | CLANG_ANALYZER_NONNULL = YES; 315 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 316 | CLANG_CXX_LIBRARY = "libc++"; 317 | CLANG_ENABLE_MODULES = YES; 318 | CLANG_ENABLE_OBJC_ARC = YES; 319 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 320 | CLANG_WARN_BOOL_CONVERSION = YES; 321 | CLANG_WARN_COMMA = YES; 322 | CLANG_WARN_CONSTANT_CONVERSION = YES; 323 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 324 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 325 | CLANG_WARN_EMPTY_BODY = YES; 326 | CLANG_WARN_ENUM_CONVERSION = YES; 327 | CLANG_WARN_INFINITE_RECURSION = YES; 328 | CLANG_WARN_INT_CONVERSION = YES; 329 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 330 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 331 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 332 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 333 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 334 | CLANG_WARN_STRICT_PROTOTYPES = YES; 335 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 336 | CLANG_WARN_UNREACHABLE_CODE = YES; 337 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 338 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 339 | COPY_PHASE_STRIP = NO; 340 | DEBUG_INFORMATION_FORMAT = dwarf; 341 | ENABLE_STRICT_OBJC_MSGSEND = YES; 342 | ENABLE_TESTABILITY = YES; 343 | GCC_C_LANGUAGE_STANDARD = gnu99; 344 | GCC_DYNAMIC_NO_PIC = NO; 345 | GCC_NO_COMMON_BLOCKS = YES; 346 | GCC_OPTIMIZATION_LEVEL = 0; 347 | GCC_PREPROCESSOR_DEFINITIONS = ( 348 | "DEBUG=1", 349 | "$(inherited)", 350 | ); 351 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 352 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 353 | GCC_WARN_UNDECLARED_SELECTOR = YES; 354 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 355 | GCC_WARN_UNUSED_FUNCTION = YES; 356 | GCC_WARN_UNUSED_VARIABLE = YES; 357 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 358 | MTL_ENABLE_DEBUG_INFO = YES; 359 | ONLY_ACTIVE_ARCH = YES; 360 | SDKROOT = iphoneos; 361 | TARGETED_DEVICE_FAMILY = "1,2"; 362 | }; 363 | name = Debug; 364 | }; 365 | 97C147041CF9000F007C117D /* Release */ = { 366 | isa = XCBuildConfiguration; 367 | buildSettings = { 368 | ALWAYS_SEARCH_USER_PATHS = NO; 369 | CLANG_ANALYZER_NONNULL = YES; 370 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 371 | CLANG_CXX_LIBRARY = "libc++"; 372 | CLANG_ENABLE_MODULES = YES; 373 | CLANG_ENABLE_OBJC_ARC = YES; 374 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 375 | CLANG_WARN_BOOL_CONVERSION = YES; 376 | CLANG_WARN_COMMA = YES; 377 | CLANG_WARN_CONSTANT_CONVERSION = YES; 378 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 379 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 380 | CLANG_WARN_EMPTY_BODY = YES; 381 | CLANG_WARN_ENUM_CONVERSION = YES; 382 | CLANG_WARN_INFINITE_RECURSION = YES; 383 | CLANG_WARN_INT_CONVERSION = YES; 384 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 385 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 386 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 387 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 388 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 389 | CLANG_WARN_STRICT_PROTOTYPES = YES; 390 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 391 | CLANG_WARN_UNREACHABLE_CODE = YES; 392 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 393 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 394 | COPY_PHASE_STRIP = NO; 395 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 396 | ENABLE_NS_ASSERTIONS = NO; 397 | ENABLE_STRICT_OBJC_MSGSEND = YES; 398 | GCC_C_LANGUAGE_STANDARD = gnu99; 399 | GCC_NO_COMMON_BLOCKS = YES; 400 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 401 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 402 | GCC_WARN_UNDECLARED_SELECTOR = YES; 403 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 404 | GCC_WARN_UNUSED_FUNCTION = YES; 405 | GCC_WARN_UNUSED_VARIABLE = YES; 406 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 407 | MTL_ENABLE_DEBUG_INFO = NO; 408 | SDKROOT = iphoneos; 409 | SUPPORTED_PLATFORMS = iphoneos; 410 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 411 | TARGETED_DEVICE_FAMILY = "1,2"; 412 | VALIDATE_PRODUCT = YES; 413 | }; 414 | name = Release; 415 | }; 416 | 97C147061CF9000F007C117D /* Debug */ = { 417 | isa = XCBuildConfiguration; 418 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 419 | buildSettings = { 420 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 421 | CLANG_ENABLE_MODULES = YES; 422 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 423 | ENABLE_BITCODE = NO; 424 | FRAMEWORK_SEARCH_PATHS = ( 425 | "$(inherited)", 426 | "$(PROJECT_DIR)/Flutter", 427 | ); 428 | INFOPLIST_FILE = Runner/Info.plist; 429 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 430 | LIBRARY_SEARCH_PATHS = ( 431 | "$(inherited)", 432 | "$(PROJECT_DIR)/Flutter", 433 | ); 434 | PRODUCT_BUNDLE_IDENTIFIER = com.ahmeddhus.storeFlutterApp; 435 | PRODUCT_NAME = "$(TARGET_NAME)"; 436 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 437 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 438 | SWIFT_VERSION = 5.0; 439 | VERSIONING_SYSTEM = "apple-generic"; 440 | }; 441 | name = Debug; 442 | }; 443 | 97C147071CF9000F007C117D /* Release */ = { 444 | isa = XCBuildConfiguration; 445 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 446 | buildSettings = { 447 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 448 | CLANG_ENABLE_MODULES = YES; 449 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 450 | ENABLE_BITCODE = NO; 451 | FRAMEWORK_SEARCH_PATHS = ( 452 | "$(inherited)", 453 | "$(PROJECT_DIR)/Flutter", 454 | ); 455 | INFOPLIST_FILE = Runner/Info.plist; 456 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 457 | LIBRARY_SEARCH_PATHS = ( 458 | "$(inherited)", 459 | "$(PROJECT_DIR)/Flutter", 460 | ); 461 | PRODUCT_BUNDLE_IDENTIFIER = com.ahmeddhus.storeFlutterApp; 462 | PRODUCT_NAME = "$(TARGET_NAME)"; 463 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 464 | SWIFT_VERSION = 5.0; 465 | VERSIONING_SYSTEM = "apple-generic"; 466 | }; 467 | name = Release; 468 | }; 469 | /* End XCBuildConfiguration section */ 470 | 471 | /* Begin XCConfigurationList section */ 472 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 473 | isa = XCConfigurationList; 474 | buildConfigurations = ( 475 | 97C147031CF9000F007C117D /* Debug */, 476 | 97C147041CF9000F007C117D /* Release */, 477 | 249021D3217E4FDB00AE95B9 /* Profile */, 478 | ); 479 | defaultConfigurationIsVisible = 0; 480 | defaultConfigurationName = Release; 481 | }; 482 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 483 | isa = XCConfigurationList; 484 | buildConfigurations = ( 485 | 97C147061CF9000F007C117D /* Debug */, 486 | 97C147071CF9000F007C117D /* Release */, 487 | 249021D4217E4FDB00AE95B9 /* Profile */, 488 | ); 489 | defaultConfigurationIsVisible = 0; 490 | defaultConfigurationName = Release; 491 | }; 492 | /* End XCConfigurationList section */ 493 | }; 494 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 495 | } 496 | --------------------------------------------------------------------------------