├── .gitignore
├── .metadata
├── README.md
├── analysis_options.yaml
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── kotlin
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── big_cart
│ │ │ │ └── MainActivity.kt
│ │ └── res
│ │ │ ├── drawable-v21
│ │ │ └── launch_background.xml
│ │ │ ├── drawable
│ │ │ └── launch_background.xml
│ │ │ ├── mipmap-hdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── values-night
│ │ │ └── styles.xml
│ │ │ └── values
│ │ │ └── styles.xml
│ │ └── profile
│ │ └── AndroidManifest.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
└── settings.gradle
├── assets
└── images
│ ├── add.svg
│ ├── add_to_cart.png
│ ├── address_icon.png
│ ├── app_logo.png
│ ├── back_arrow.png
│ ├── back_arrow_black.png
│ ├── banner.png
│ ├── beverages.png
│ ├── cart_white.png
│ ├── delete_icon.png
│ ├── dropdown_icon.png
│ ├── edible_oil.png
│ ├── email_icon.png
│ ├── filter.png
│ ├── filter_black.png
│ ├── forward_arrow.png
│ ├── fruits.png
│ ├── globe_icon.png
│ ├── grocery.png
│ ├── heart.png
│ ├── heart_filled.png
│ ├── household.png
│ ├── login_background.png
│ ├── map_icon.png
│ ├── name_icon.png
│ ├── not_found_icon.png
│ ├── order_success.png
│ ├── password_icon.png
│ ├── phone_icon.png
│ ├── search_icon.png
│ ├── signup_background.png
│ ├── splash_background.png
│ ├── subtract.svg
│ ├── vegetables.png
│ └── zipcode_icon.png
├── ios
├── .gitignore
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ ├── IDEWorkspaceChecks.plist
│ │ │ └── WorkspaceSettings.xcsettings
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ ├── IDEWorkspaceChecks.plist
│ │ └── WorkspaceSettings.xcsettings
└── Runner
│ ├── AppDelegate.swift
│ ├── Assets.xcassets
│ ├── AppIcon.appiconset
│ │ ├── Contents.json
│ │ ├── Icon-App-1024x1024@1x.png
│ │ ├── Icon-App-20x20@1x.png
│ │ ├── Icon-App-20x20@2x.png
│ │ ├── Icon-App-20x20@3x.png
│ │ ├── Icon-App-29x29@1x.png
│ │ ├── Icon-App-29x29@2x.png
│ │ ├── Icon-App-29x29@3x.png
│ │ ├── Icon-App-40x40@1x.png
│ │ ├── Icon-App-40x40@2x.png
│ │ ├── Icon-App-40x40@3x.png
│ │ ├── Icon-App-60x60@2x.png
│ │ ├── Icon-App-60x60@3x.png
│ │ ├── Icon-App-76x76@1x.png
│ │ ├── Icon-App-76x76@2x.png
│ │ └── Icon-App-83.5x83.5@2x.png
│ └── LaunchImage.imageset
│ │ ├── Contents.json
│ │ ├── LaunchImage.png
│ │ ├── LaunchImage@2x.png
│ │ ├── LaunchImage@3x.png
│ │ └── README.md
│ ├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
│ ├── Info.plist
│ └── Runner-Bridging-Header.h
├── lib
├── app
│ ├── api.dart
│ ├── app.dart
│ ├── app.router.dart
│ └── locator.dart
├── constants
│ ├── asset_constants.dart
│ └── string_constants.dart
├── main.dart
├── models
│ ├── api_responce_model.dart
│ ├── carousel_item_model.dart
│ ├── category_model.dart
│ ├── product_model.dart
│ └── user_model.dart
├── services
│ ├── authentication_service.dart
│ ├── carousel_service.dart
│ └── cart_service.dart
├── shared
│ ├── helpers.dart
│ └── styles.dart
├── viewmodels
│ ├── category_viewmodel.dart
│ ├── checkout_viewmodel.dart
│ ├── home_viewmodel.dart
│ ├── login_viewmodel.dart
│ ├── shopping_cart_viewmodel.dart
│ ├── signup_viewmodel.dart
│ └── splash_viewmodel.dart
├── views
│ ├── category
│ │ ├── category_view.dart
│ │ └── product_category_grid_list.dart
│ ├── checkout
│ │ ├── checkout_form.dart
│ │ ├── checkout_view.dart
│ │ └── validation_message.dart
│ ├── home
│ │ ├── banner_carousel.dart
│ │ ├── category_containers.dart
│ │ ├── custom_home_drawer.dart
│ │ ├── floating_cart_button.dart
│ │ ├── home_view.dart
│ │ ├── logout_loading_screen.dart
│ │ ├── product_grid_list.dart
│ │ ├── search_bar.dart
│ │ └── title_with_arrow_button.dart
│ ├── login
│ │ ├── login_form.dart
│ │ └── login_view.dart
│ ├── order_success
│ │ └── order_success_view.dart
│ ├── shopping_cart
│ │ ├── cart_item_list.dart
│ │ ├── cost_with_main_button.dart
│ │ ├── shopping_cart_view.dart
│ │ └── title_with_cost.dart
│ ├── signup
│ │ ├── signup_form.dart
│ │ └── signup_view.dart
│ └── splash
│ │ ├── background.dart
│ │ ├── foreground.dart
│ │ └── splash_view.dart
└── widgets
│ └── dumb
│ ├── app_main_button.dart
│ ├── authentication_field.dart
│ ├── authentication_layout.dart
│ ├── customized_app_bar.dart
│ ├── loading_indicator.dart
│ ├── page_error_indicator.dart
│ └── product_card.dart
├── pubspec.lock
├── pubspec.yaml
├── test
└── widget_test.dart
├── web
├── favicon.png
├── icons
│ ├── Icon-192.png
│ ├── Icon-512.png
│ ├── Icon-maskable-192.png
│ └── Icon-maskable-512.png
├── index.html
└── manifest.json
└── windows
├── .gitignore
├── CMakeLists.txt
├── flutter
├── CMakeLists.txt
├── generated_plugin_registrant.cc
├── generated_plugin_registrant.h
└── generated_plugins.cmake
└── runner
├── CMakeLists.txt
├── Runner.rc
├── flutter_window.cpp
├── flutter_window.h
├── main.cpp
├── resource.h
├── resources
└── app_icon.ico
├── runner.exe.manifest
├── utils.cpp
├── utils.h
├── win32_window.cpp
└── win32_window.h
/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 |
12 | # IntelliJ related
13 | *.iml
14 | *.ipr
15 | *.iws
16 | .idea/
17 |
18 | # The .vscode folder contains launch configuration and tasks you configure in
19 | # VS Code which you may wish to be included in version control, so this line
20 | # is commented out by default.
21 | #.vscode/
22 |
23 | # Flutter/Dart/Pub related
24 | **/doc/api/
25 | **/ios/Flutter/.last_build_id
26 | .dart_tool/
27 | .flutter-plugins
28 | .flutter-plugins-dependencies
29 | .packages
30 | .pub-cache/
31 | .pub/
32 | /build/
33 |
34 | # Web related
35 | lib/generated_plugin_registrant.dart
36 |
37 | # Symbolication related
38 | app.*.symbols
39 |
40 | # Obfuscation related
41 | app.*.map.json
42 |
43 | # Android Studio will place build artifacts here
44 | /android/app/debug
45 | /android/app/profile
46 | /android/app/release
47 |
--------------------------------------------------------------------------------
/.metadata:
--------------------------------------------------------------------------------
1 | # This file tracks properties of this Flutter project.
2 | # Used by Flutter tool to assess capabilities and perform upgrades etc.
3 | #
4 | # This file should be version controlled and should not be manually edited.
5 |
6 | version:
7 | revision: 5f105a6ca7a5ac7b8bc9b241f4c2d86f4188cf5c
8 | channel: stable
9 |
10 | project_type: app
11 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Big Cart
2 | ## An Ecommerce app to buy groceries
3 |
4 | - Framework: Flutter
5 | - Architecture: MVVM
6 | - Backend: Api
7 | - State Management: Stacked
8 |
9 | ## Features
10 |
11 | - User can Login/Register into the app.
12 | - Browse all the items available and add them to cart.
13 | - Fill the Order form and place Order.
14 | - Incase Usser logs into the app from another device he will have to force logout from the previous device and relogin because the token will expire.
15 |
16 | ## ScreenShots:
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/analysis_options.yaml:
--------------------------------------------------------------------------------
1 | # This file configures the analyzer, which statically analyzes Dart code to
2 | # check for errors, warnings, and lints.
3 | #
4 | # The issues identified by the analyzer are surfaced in the UI of Dart-enabled
5 | # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
6 | # invoked from the command line by running `flutter analyze`.
7 |
8 | # The following line activates a set of recommended lints for Flutter apps,
9 | # packages, and plugins designed to encourage good coding practices.
10 | include: package:flutter_lints/flutter.yaml
11 |
12 | linter:
13 | # The lint rules applied to this project can be customized in the
14 | # section below to disable rules from the `package:flutter_lints/flutter.yaml`
15 | # included above or to enable additional rules. A list of all available lints
16 | # and their documentation is published at
17 | # https://dart-lang.github.io/linter/lints/index.html.
18 | #
19 | # Instead of disabling a lint rule for the entire project in the
20 | # section below, it can also be suppressed for a single line of code
21 | # or a specific dart file by using the `// ignore: name_of_lint` and
22 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file
23 | # producing the lint.
24 | rules:
25 | # avoid_print: false # Uncomment to disable the `avoid_print` rule
26 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
27 |
28 | # Additional information about this file can be found at
29 | # https://dart.dev/guides/language/analysis-options
30 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11 | key.properties
12 | **/*.keystore
13 | **/*.jks
14 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | def localProperties = new Properties()
2 | def localPropertiesFile = rootProject.file('local.properties')
3 | if (localPropertiesFile.exists()) {
4 | localPropertiesFile.withReader('UTF-8') { reader ->
5 | localProperties.load(reader)
6 | }
7 | }
8 |
9 | def flutterRoot = localProperties.getProperty('flutter.sdk')
10 | if (flutterRoot == null) {
11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 | }
13 |
14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15 | if (flutterVersionCode == null) {
16 | flutterVersionCode = '1'
17 | }
18 |
19 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
20 | if (flutterVersionName == null) {
21 | flutterVersionName = '1.0'
22 | }
23 |
24 | apply plugin: 'com.android.application'
25 | apply plugin: 'kotlin-android'
26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27 |
28 | android {
29 | compileSdkVersion flutter.compileSdkVersion
30 |
31 | compileOptions {
32 | sourceCompatibility JavaVersion.VERSION_1_8
33 | targetCompatibility JavaVersion.VERSION_1_8
34 | }
35 |
36 | kotlinOptions {
37 | jvmTarget = '1.8'
38 | }
39 |
40 | sourceSets {
41 | main.java.srcDirs += 'src/main/kotlin'
42 | }
43 |
44 | defaultConfig {
45 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
46 | applicationId "com.example.big_cart"
47 | minSdkVersion flutter.minSdkVersion
48 | targetSdkVersion flutter.targetSdkVersion
49 | versionCode flutterVersionCode.toInteger()
50 | versionName flutterVersionName
51 | }
52 |
53 | buildTypes {
54 | release {
55 | // TODO: Add your own signing config for the release build.
56 | // Signing with the debug keys for now, so `flutter run --release` works.
57 | signingConfig signingConfigs.debug
58 | }
59 | }
60 | }
61 |
62 | flutter {
63 | source '../..'
64 | }
65 |
66 | dependencies {
67 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
68 | }
69 |
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
8 |
16 |
20 |
24 |
25 |
26 |
27 |
28 |
29 |
31 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/com/example/big_cart/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.example.big_cart
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity() {
6 | }
7 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-v21/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values-night/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.6.10'
3 | repositories {
4 | google()
5 | mavenCentral()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:4.1.0'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | }
12 | }
13 |
14 | allprojects {
15 | repositories {
16 | google()
17 | mavenCentral()
18 | }
19 | }
20 |
21 | rootProject.buildDir = '../build'
22 | subprojects {
23 | project.buildDir = "${rootProject.buildDir}/${project.name}"
24 | }
25 | subprojects {
26 | project.evaluationDependsOn(':app')
27 | }
28 |
29 | task clean(type: Delete) {
30 | delete rootProject.buildDir
31 | }
32 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.useAndroidX=true
3 | android.enableJetifier=true
4 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Jun 23 08:50:38 CEST 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
7 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
4 | def properties = new Properties()
5 |
6 | assert localPropertiesFile.exists()
7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
8 |
9 | def flutterSdkPath = properties.getProperty("flutter.sdk")
10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
12 |
--------------------------------------------------------------------------------
/assets/images/add.svg:
--------------------------------------------------------------------------------
1 |
5 |
--------------------------------------------------------------------------------
/assets/images/add_to_cart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/add_to_cart.png
--------------------------------------------------------------------------------
/assets/images/address_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/address_icon.png
--------------------------------------------------------------------------------
/assets/images/app_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/app_logo.png
--------------------------------------------------------------------------------
/assets/images/back_arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/back_arrow.png
--------------------------------------------------------------------------------
/assets/images/back_arrow_black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/back_arrow_black.png
--------------------------------------------------------------------------------
/assets/images/banner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/banner.png
--------------------------------------------------------------------------------
/assets/images/beverages.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/beverages.png
--------------------------------------------------------------------------------
/assets/images/cart_white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/cart_white.png
--------------------------------------------------------------------------------
/assets/images/delete_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/delete_icon.png
--------------------------------------------------------------------------------
/assets/images/dropdown_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/dropdown_icon.png
--------------------------------------------------------------------------------
/assets/images/edible_oil.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/edible_oil.png
--------------------------------------------------------------------------------
/assets/images/email_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/email_icon.png
--------------------------------------------------------------------------------
/assets/images/filter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/filter.png
--------------------------------------------------------------------------------
/assets/images/filter_black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/filter_black.png
--------------------------------------------------------------------------------
/assets/images/forward_arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/forward_arrow.png
--------------------------------------------------------------------------------
/assets/images/fruits.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/fruits.png
--------------------------------------------------------------------------------
/assets/images/globe_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/globe_icon.png
--------------------------------------------------------------------------------
/assets/images/grocery.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/grocery.png
--------------------------------------------------------------------------------
/assets/images/heart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/heart.png
--------------------------------------------------------------------------------
/assets/images/heart_filled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/heart_filled.png
--------------------------------------------------------------------------------
/assets/images/household.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/household.png
--------------------------------------------------------------------------------
/assets/images/login_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/login_background.png
--------------------------------------------------------------------------------
/assets/images/map_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/map_icon.png
--------------------------------------------------------------------------------
/assets/images/name_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/name_icon.png
--------------------------------------------------------------------------------
/assets/images/not_found_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/not_found_icon.png
--------------------------------------------------------------------------------
/assets/images/order_success.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/order_success.png
--------------------------------------------------------------------------------
/assets/images/password_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/password_icon.png
--------------------------------------------------------------------------------
/assets/images/phone_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/phone_icon.png
--------------------------------------------------------------------------------
/assets/images/search_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/search_icon.png
--------------------------------------------------------------------------------
/assets/images/signup_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/signup_background.png
--------------------------------------------------------------------------------
/assets/images/splash_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/splash_background.png
--------------------------------------------------------------------------------
/assets/images/subtract.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/images/vegetables.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/vegetables.png
--------------------------------------------------------------------------------
/assets/images/zipcode_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/assets/images/zipcode_icon.png
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | **/dgph
2 | *.mode1v3
3 | *.mode2v3
4 | *.moved-aside
5 | *.pbxuser
6 | *.perspectivev3
7 | **/*sync/
8 | .sconsign.dblite
9 | .tags*
10 | **/.vagrant/
11 | **/DerivedData/
12 | Icon?
13 | **/Pods/
14 | **/.symlinks/
15 | profile
16 | xcuserdata
17 | **/.generated/
18 | Flutter/App.framework
19 | Flutter/Flutter.framework
20 | Flutter/Flutter.podspec
21 | Flutter/Generated.xcconfig
22 | Flutter/ephemeral/
23 | Flutter/app.flx
24 | Flutter/app.zip
25 | Flutter/flutter_assets/
26 | Flutter/flutter_export_environment.sh
27 | ServiceDefinitions.json
28 | Runner/GeneratedPluginRegistrant.*
29 |
30 | # Exceptions to above rules.
31 | !default.mode1v3
32 | !default.mode2v3
33 | !default.pbxuser
34 | !default.perspectivev3
35 |
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 9.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
37 |
38 |
39 |
40 |
41 |
42 |
52 |
54 |
60 |
61 |
62 |
63 |
69 |
71 |
77 |
78 |
79 |
80 |
82 |
83 |
86 |
87 |
88 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-App-20x20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-App-20x20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-App-29x29@1x.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-App-29x29@2x.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-App-29x29@3x.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-App-40x40@2x.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-App-40x40@3x.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-App-60x60@2x.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "60x60",
53 | "idiom" : "iphone",
54 | "filename" : "Icon-App-60x60@3x.png",
55 | "scale" : "3x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "Icon-App-20x20@1x.png",
61 | "scale" : "1x"
62 | },
63 | {
64 | "size" : "20x20",
65 | "idiom" : "ipad",
66 | "filename" : "Icon-App-20x20@2x.png",
67 | "scale" : "2x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "Icon-App-29x29@1x.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "29x29",
77 | "idiom" : "ipad",
78 | "filename" : "Icon-App-29x29@2x.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "Icon-App-40x40@1x.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "40x40",
89 | "idiom" : "ipad",
90 | "filename" : "Icon-App-40x40@2x.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "Icon-App-76x76@1x.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "76x76",
101 | "idiom" : "ipad",
102 | "filename" : "Icon-App-76x76@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "83.5x83.5",
107 | "idiom" : "ipad",
108 | "filename" : "Icon-App-83.5x83.5@2x.png",
109 | "scale" : "2x"
110 | },
111 | {
112 | "size" : "1024x1024",
113 | "idiom" : "ios-marketing",
114 | "filename" : "Icon-App-1024x1024@1x.png",
115 | "scale" : "1x"
116 | }
117 | ],
118 | "info" : {
119 | "version" : 1,
120 | "author" : "xcode"
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/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/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/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/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/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/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/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/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/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/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/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/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/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/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/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/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/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/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/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/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/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/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/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/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchImage.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchImage@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "LaunchImage@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mohsinraza-fdev/BigCart-Flutter/040cebe4aa70ff5dd0acb0e48c1a3ef740a9815e/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleDisplayName
8 | Big Cart
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | big_cart
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | $(FLUTTER_BUILD_NAME)
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | $(FLUTTER_BUILD_NUMBER)
25 | LSRequiresIPhoneOS
26 |
27 | UILaunchStoryboardName
28 | LaunchScreen
29 | UIMainStoryboardFile
30 | Main
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 | UIInterfaceOrientationPortraitUpsideDown
41 | UIInterfaceOrientationLandscapeLeft
42 | UIInterfaceOrientationLandscapeRight
43 |
44 | UIViewControllerBasedStatusBarAppearance
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/lib/app/api.dart:
--------------------------------------------------------------------------------
1 | import 'dart:convert';
2 | import 'package:big_cart/models/api_responce_model.dart';
3 | import 'package:big_cart/models/category_model.dart';
4 | import 'package:big_cart/models/product_model.dart';
5 | import '../models/user_model.dart';
6 | import 'package:http/http.dart' as http;
7 |
8 | class Api {
9 | static const String _baseUrl = 'http://ishaqhassan.com:2000';
10 |
11 | static Future signupUser(
12 | String email,
13 | String phone,
14 | String password,
15 | ) async {
16 | var signupUrl = Uri.parse(_baseUrl + '/user');
17 | try {
18 | http.Response responce = await http.post(
19 | signupUrl,
20 | body: {
21 | "email": email,
22 | "phone": phone,
23 | "password": password,
24 | },
25 | );
26 | Map json = jsonDecode(responce.body);
27 | User user =
28 | ApiResponce.fromJson(json, User.fromJson(json['data'])).data!;
29 | return user;
30 | } catch (e) {
31 | throw (e.toString());
32 | }
33 | }
34 |
35 | static Future loginUser(
36 | String email,
37 | String password,
38 | ) async {
39 | var signinUrl = Uri.parse(_baseUrl + '/user/signin');
40 | try {
41 | http.Response responce = await http.post(
42 | signinUrl,
43 | body: {
44 | "email": email,
45 | "password": password,
46 | },
47 | );
48 | Map json = jsonDecode(responce.body);
49 | User user =
50 | ApiResponce.fromJson(json, User.fromJson(json['data'])).data!;
51 | return user;
52 | } catch (e) {
53 | throw (e.toString());
54 | }
55 | }
56 |
57 | static Future logoutUser(
58 | String? accessToken,
59 | ) async {
60 | var signoutUrl = Uri.parse(_baseUrl + '/user/signout');
61 | try {
62 | http.Response responce = await http.get(
63 | signoutUrl,
64 | headers: {"Authorization": "Bearer ${accessToken.toString()}"},
65 | );
66 | Map json = jsonDecode(responce.body);
67 | User user =
68 | ApiResponce.fromJson(json, User.fromJson(json['data'])).data!;
69 | return user;
70 | } catch (e) {
71 | throw (e.toString());
72 | }
73 | }
74 |
75 | static Future> getCategories(String? accessToken) async {
76 | var categoryUrl = Uri.parse(_baseUrl + '/category');
77 | try {
78 | http.Response responce = await http.get(categoryUrl,
79 | headers: {"Authorization": "Bearer ${accessToken.toString()}"});
80 | List json = jsonDecode(responce.body)["data"];
81 | List categories =
82 | json.map((object) => Category.fromJson(object)).toList();
83 | return categories;
84 | } catch (e) {
85 | throw (e.toString());
86 | }
87 | }
88 |
89 | static Future> getProducts(String? accessToken) async {
90 | var productUrl = Uri.parse(_baseUrl + '/product');
91 | try {
92 | http.Response responce = await http.get(productUrl,
93 | headers: {"Authorization": "Bearer ${accessToken.toString()}"});
94 | List json = jsonDecode(responce.body)["data"];
95 | List products =
96 | json.map((object) => Product.fromJson(object)).toList();
97 | return products;
98 | } catch (e) {
99 | throw (e.toString());
100 | }
101 | }
102 |
103 | static Future> getProductsByCategory(
104 | String? accessToken, int categoryId) async {
105 | var productUrl = Uri.parse(_baseUrl + '/product/${categoryId.toString()}');
106 | try {
107 | http.Response responce = await http.get(productUrl,
108 | headers: {"Authorization": "Bearer ${accessToken.toString()}"});
109 | List json = jsonDecode(responce.body)["data"];
110 | List products =
111 | json.map((object) => Product.fromJson(object)).toList();
112 | return products;
113 | } catch (e) {
114 | throw (e.toString());
115 | }
116 | }
117 |
118 | static Future> getProductsByTitle(
119 | String? accessToken, String text) async {
120 | var productUrl =
121 | Uri.parse(_baseUrl + '/product/search?q=${text.toString()}');
122 | try {
123 | http.Response responce = await http.get(productUrl,
124 | headers: {"Authorization": "Bearer ${accessToken.toString()}"});
125 | List json = jsonDecode(responce.body)["data"];
126 | List products =
127 | json.map((object) => Product.fromJson(object)).toList();
128 | return products;
129 | } catch (e) {
130 | throw (e.toString());
131 | }
132 | }
133 |
134 | static Future placeOrder(
135 | String? accessToken,
136 | String name,
137 | String email,
138 | String phno,
139 | String address,
140 | String zip,
141 | String city,
142 | String country,
143 | List