[
  {
    "path": ".gitignore",
    "content": "# Miscellaneous\n*.class\n*.log\n*.pyc\n*.swp\n.DS_Store\n.atom/\n.buildlog/\n.history\n.svn/\n\n# IntelliJ related\n*.iml\n*.ipr\n*.iws\n.idea/\n\n# The .vscode folder contains launch configuration and tasks you configure in\n# VS Code which you may wish to be included in version control, so this line\n# is commented out by default.\n#.vscode/\n\n# Flutter/Dart/Pub related\n**/doc/api/\n**/ios/Flutter/.last_build_id\n.dart_tool/\n.flutter-plugins\n.flutter-plugins-dependencies\n.packages\n.pub-cache/\n.pub/\n/build/\n\n# Web related\nlib/generated_plugin_registrant.dart\n\n# Symbolication related\napp.*.symbols\n\n# Obfuscation related\napp.*.map.json\n\n# Android Studio will place build artifacts here\n/android/app/debug\n/android/app/profile\n/android/app/release\n"
  },
  {
    "path": ".metadata",
    "content": "# This file tracks properties of this Flutter project.\n# Used by Flutter tool to assess capabilities and perform upgrades etc.\n#\n# This file should be version controlled and should not be manually edited.\n\nversion:\n  revision: fc7015e35aac7ab785e7ae15a47db5c9e669ec7f\n  channel: beta\n\nproject_type: app\n"
  },
  {
    "path": ".vscode/launch.json",
    "content": "{\n    // Use IntelliSense to learn about possible attributes.\n    // Hover to view descriptions of existing attributes.\n    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387\n    \"version\": \"0.2.0\",\n    \"configurations\": [\n        {\n            \"name\": \"sinaruecommerce\",\n            \"request\": \"launch\",\n            \"type\": \"dart\"\n        },\n        {\n            \"name\": \"sinaruecommerce (profile mode)\",\n            \"request\": \"launch\",\n            \"type\": \"dart\",\n            \"flutterMode\": \"profile\"\n        }\n    ]\n}"
  },
  {
    "path": "README.md",
    "content": "# sinaruecommerce\n\nA new Flutter project.\n\n## Getting Started\n\nThe purpose of this application is to expedite the buying and selling process and make it easier to record every transaction so that the store owner can control the stock of goods and be able to make the right decision regarding the procurement process in the form of an E-Commerce Application\n"
  },
  {
    "path": "analysis_options.yaml",
    "content": "# This file configures the analyzer, which statically analyzes Dart code to\n# check for errors, warnings, and lints.\n#\n# The issues identified by the analyzer are surfaced in the UI of Dart-enabled\n# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be\n# invoked from the command line by running `flutter analyze`.\n\n# The following line activates a set of recommended lints for Flutter apps,\n# packages, and plugins designed to encourage good coding practices.\ninclude: package:flutter_lints/flutter.yaml\n\nlinter:\n  # The lint rules applied to this project can be customized in the\n  # section below to disable rules from the `package:flutter_lints/flutter.yaml`\n  # included above or to enable additional rules. A list of all available lints\n  # and their documentation is published at\n  # https://dart-lang.github.io/linter/lints/index.html.\n  #\n  # Instead of disabling a lint rule for the entire project in the\n  # section below, it can also be suppressed for a single line of code\n  # or a specific dart file by using the `// ignore: name_of_lint` and\n  # `// ignore_for_file: name_of_lint` syntax on the line or in the file\n  # producing the lint.\n  rules:\n    # avoid_print: false  # Uncomment to disable the `avoid_print` rule\n    # prefer_single_quotes: true  # Uncomment to enable the `prefer_single_quotes` rule\n\n# Additional information about this file can be found at\n# https://dart.dev/guides/language/analysis-options\n"
  },
  {
    "path": "android/.gitignore",
    "content": "gradle-wrapper.jar\n/.gradle\n/captures/\n/gradlew\n/gradlew.bat\n/local.properties\nGeneratedPluginRegistrant.java\n\n# Remember to never publicly share your keystore.\n# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app\nkey.properties\n**/*.keystore\n**/*.jks\n"
  },
  {
    "path": "android/app/build.gradle",
    "content": "def localProperties = new Properties()\ndef localPropertiesFile = rootProject.file('local.properties')\nif (localPropertiesFile.exists()) {\n    localPropertiesFile.withReader('UTF-8') { reader ->\n        localProperties.load(reader)\n    }\n}\n\ndef flutterRoot = localProperties.getProperty('flutter.sdk')\nif (flutterRoot == null) {\n    throw new GradleException(\"Flutter SDK not found. Define location with flutter.sdk in the local.properties file.\")\n}\n\ndef flutterVersionCode = localProperties.getProperty('flutter.versionCode')\nif (flutterVersionCode == null) {\n    flutterVersionCode = '1'\n}\n\ndef flutterVersionName = localProperties.getProperty('flutter.versionName')\nif (flutterVersionName == null) {\n    flutterVersionName = '1.0'\n}\n\napply plugin: 'com.android.application'\napply plugin: 'com.google.gms.google-services'\napply plugin: 'kotlin-android'\napply from: \"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle\"\n\nandroid {\n    compileSdkVersion 30\n\n    compileOptions {\n        sourceCompatibility JavaVersion.VERSION_1_8\n        targetCompatibility JavaVersion.VERSION_1_8\n    }\n\n    kotlinOptions {\n        jvmTarget = '1.8'\n    }\n\n    sourceSets {\n        main.java.srcDirs += 'src/main/kotlin'\n    }\n\n    defaultConfig {\n        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).\n        applicationId \"com.example.sinaruecommerce\"\n        minSdkVersion 19\n        targetSdkVersion 30\n        versionCode flutterVersionCode.toInteger()\n        versionName flutterVersionName\n        multiDexEnabled true\n    }\n\n    buildTypes {\n        release {\n            // TODO: Add your own signing config for the release build.\n            // Signing with the debug keys for now, so `flutter run --release` works.\n            signingConfig signingConfigs.debug\n        }\n    }\n}\n\nflutter {\n    source '../..'\n}\n\ndependencies {\n    implementation \"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version\"\n    implementation platform('com.google.firebase:firebase-bom:29.0.4')\n    implementation 'com.android.support:multidex:1.0.3'\n}\n"
  },
  {
    "path": "android/app/google-services.json",
    "content": "{\n  \"project_info\": {\n    \"project_number\": \"491104141997\",\n    \"project_id\": \"sutamaapp\",\n    \"storage_bucket\": \"sutamaapp.appspot.com\"\n  },\n  \"client\": [\n    {\n      \"client_info\": {\n        \"mobilesdk_app_id\": \"1:491104141997:android:c4bf135d295026686dfc24\",\n        \"android_client_info\": {\n          \"package_name\": \"com.example.sinaruecommerce\"\n        }\n      },\n      \"oauth_client\": [\n        {\n          \"client_id\": \"491104141997-20sas9se13pp9k87p3s9kg5avppion9h.apps.googleusercontent.com\",\n          \"client_type\": 1,\n          \"android_info\": {\n            \"package_name\": \"com.example.sinaruecommerce\",\n            \"certificate_hash\": \"2e07e510595134ec23110601ec87822884d2b04b\"\n          }\n        },\n        {\n          \"client_id\": \"491104141997-vkdj383ng13hluvi9cdkl20a5dflva9n.apps.googleusercontent.com\",\n          \"client_type\": 3\n        }\n      ],\n      \"api_key\": [\n        {\n          \"current_key\": \"AIzaSyDCwEEhXEnNKqBaBsspG7rdDQpe4tuvWKc\"\n        }\n      ],\n      \"services\": {\n        \"appinvite_service\": {\n          \"other_platform_oauth_client\": [\n            {\n              \"client_id\": \"491104141997-vkdj383ng13hluvi9cdkl20a5dflva9n.apps.googleusercontent.com\",\n              \"client_type\": 3\n            }\n          ]\n        }\n      }\n    }\n  ],\n  \"configuration_version\": \"1\"\n}"
  },
  {
    "path": "android/app/src/debug/AndroidManifest.xml",
    "content": "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    package=\"com.example.sinaruecommerce\">\n    <!-- Flutter needs it to communicate with the running application\n         to allow setting breakpoints, to provide hot reload, etc.\n    -->\n    <uses-permission android:name=\"android.permission.INTERNET\"/>\n</manifest>\n"
  },
  {
    "path": "android/app/src/main/AndroidManifest.xml",
    "content": "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    package=\"com.example.sinaruecommerce\">\n   <application\n        android:label=\"sinaruecommerce\"\n        android:icon=\"@mipmap/ic_launcher\">\n        <activity\n            android:name=\".MainActivity\"\n            android:launchMode=\"singleTop\"\n            android:theme=\"@style/LaunchTheme\"\n            android:configChanges=\"orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode\"\n            android:hardwareAccelerated=\"true\"\n            android:windowSoftInputMode=\"adjustResize\">\n            <!-- Specifies an Android theme to apply to this Activity as soon as\n                 the Android process has started. This theme is visible to the user\n                 while the Flutter UI initializes. After that, this theme continues\n                 to determine the Window background behind the Flutter UI. -->\n            <meta-data\n              android:name=\"io.flutter.embedding.android.NormalTheme\"\n              android:resource=\"@style/NormalTheme\"\n              />\n            <intent-filter>\n                <action android:name=\"android.intent.action.MAIN\"/>\n                <category android:name=\"android.intent.category.LAUNCHER\"/>\n            </intent-filter>\n        </activity>\n        <!-- Don't delete the meta-data below.\n             This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->\n        <meta-data\n            android:name=\"flutterEmbedding\"\n            android:value=\"2\" />\n    </application>\n</manifest>\n"
  },
  {
    "path": "android/app/src/main/kotlin/com/example/sinaruecommerce/MainActivity.kt",
    "content": "package com.example.sinaruecommerce\n\nimport io.flutter.embedding.android.FlutterActivity\n\nclass MainActivity: FlutterActivity() {\n}\n"
  },
  {
    "path": "android/app/src/main/res/drawable/launch_background.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Modify this file to customize your launch splash screen -->\n<layer-list xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item android:drawable=\"@android:color/white\" />\n\n    <!-- You can insert your own image assets here -->\n    <!-- <item>\n        <bitmap\n            android:gravity=\"center\"\n            android:src=\"@mipmap/launch_image\" />\n    </item> -->\n</layer-list>\n"
  },
  {
    "path": "android/app/src/main/res/drawable-v21/launch_background.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Modify this file to customize your launch splash screen -->\n<layer-list xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item android:drawable=\"?android:colorBackground\" />\n\n    <!-- You can insert your own image assets here -->\n    <!-- <item>\n        <bitmap\n            android:gravity=\"center\"\n            android:src=\"@mipmap/launch_image\" />\n    </item> -->\n</layer-list>\n"
  },
  {
    "path": "android/app/src/main/res/values/styles.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n    <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->\n    <style name=\"LaunchTheme\" parent=\"@android:style/Theme.Light.NoTitleBar\">\n        <!-- Show a splash screen on the activity. Automatically removed when\n             Flutter draws its first frame -->\n        <item name=\"android:windowBackground\">@drawable/launch_background</item>\n    </style>\n    <!-- Theme applied to the Android Window as soon as the process has started.\n         This theme determines the color of the Android Window while your\n         Flutter UI initializes, as well as behind your Flutter UI while its\n         running.\n         \n         This Theme is only used starting with V2 of Flutter's Android embedding. -->\n    <style name=\"NormalTheme\" parent=\"@android:style/Theme.Light.NoTitleBar\">\n        <item name=\"android:windowBackground\">?android:colorBackground</item>\n    </style>\n</resources>\n"
  },
  {
    "path": "android/app/src/main/res/values-night/styles.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n    <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->\n    <style name=\"LaunchTheme\" parent=\"@android:style/Theme.Black.NoTitleBar\">\n        <!-- Show a splash screen on the activity. Automatically removed when\n             Flutter draws its first frame -->\n        <item name=\"android:windowBackground\">@drawable/launch_background</item>\n    </style>\n    <!-- Theme applied to the Android Window as soon as the process has started.\n         This theme determines the color of the Android Window while your\n         Flutter UI initializes, as well as behind your Flutter UI while its\n         running.\n         \n         This Theme is only used starting with V2 of Flutter's Android embedding. -->\n    <style name=\"NormalTheme\" parent=\"@android:style/Theme.Black.NoTitleBar\">\n        <item name=\"android:windowBackground\">?android:colorBackground</item>\n    </style>\n</resources>\n"
  },
  {
    "path": "android/app/src/profile/AndroidManifest.xml",
    "content": "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    package=\"com.example.sinaruecommerce\">\n    <!-- Flutter needs it to communicate with the running application\n         to allow setting breakpoints, to provide hot reload, etc.\n    -->\n    <uses-permission android:name=\"android.permission.INTERNET\"/>\n</manifest>\n"
  },
  {
    "path": "android/build.gradle",
    "content": "buildscript {\n    ext.kotlin_version = '1.3.50'\n    repositories {\n        google()\n        mavenCentral()\n    }\n\n    dependencies {\n        classpath 'com.android.tools.build:gradle:4.1.0'\n        classpath \"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version\"\n        classpath 'com.google.gms:google-services:4.3.10'\n    }\n}\n\nallprojects {\n    repositories {\n        google()\n        mavenCentral()\n    }\n}\n\nrootProject.buildDir = '../build'\nsubprojects {\n    project.buildDir = \"${rootProject.buildDir}/${project.name}\"\n}\nsubprojects {\n    project.evaluationDependsOn(':app')\n}\n\ntask clean(type: Delete) {\n    delete rootProject.buildDir\n}\n"
  },
  {
    "path": "android/gradle/wrapper/gradle-wrapper.properties",
    "content": "#Fri Jun 23 08:50:38 CEST 2017\ndistributionBase=GRADLE_USER_HOME\ndistributionPath=wrapper/dists\nzipStoreBase=GRADLE_USER_HOME\nzipStorePath=wrapper/dists\ndistributionUrl=https\\://services.gradle.org/distributions/gradle-6.7-all.zip\n"
  },
  {
    "path": "android/gradle.properties",
    "content": "org.gradle.jvmargs=-Xmx1536M\nandroid.useAndroidX=true\nandroid.enableJetifier=true\n"
  },
  {
    "path": "android/settings.gradle",
    "content": "include ':app'\n\ndef localPropertiesFile = new File(rootProject.projectDir, \"local.properties\")\ndef properties = new Properties()\n\nassert localPropertiesFile.exists()\nlocalPropertiesFile.withReader(\"UTF-8\") { reader -> properties.load(reader) }\n\ndef flutterSdkPath = properties.getProperty(\"flutter.sdk\")\nassert flutterSdkPath != null, \"flutter.sdk not set in local.properties\"\napply from: \"$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle\"\n"
  },
  {
    "path": "ios/.gitignore",
    "content": "**/dgph\n*.mode1v3\n*.mode2v3\n*.moved-aside\n*.pbxuser\n*.perspectivev3\n**/*sync/\n.sconsign.dblite\n.tags*\n**/.vagrant/\n**/DerivedData/\nIcon?\n**/Pods/\n**/.symlinks/\nprofile\nxcuserdata\n**/.generated/\nFlutter/App.framework\nFlutter/Flutter.framework\nFlutter/Flutter.podspec\nFlutter/Generated.xcconfig\nFlutter/ephemeral/\nFlutter/app.flx\nFlutter/app.zip\nFlutter/flutter_assets/\nFlutter/flutter_export_environment.sh\nServiceDefinitions.json\nRunner/GeneratedPluginRegistrant.*\n\n# Exceptions to above rules.\n!default.mode1v3\n!default.mode2v3\n!default.pbxuser\n!default.perspectivev3\n"
  },
  {
    "path": "ios/Flutter/AppFrameworkInfo.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n  <key>CFBundleDevelopmentRegion</key>\n  <string>en</string>\n  <key>CFBundleExecutable</key>\n  <string>App</string>\n  <key>CFBundleIdentifier</key>\n  <string>io.flutter.flutter.app</string>\n  <key>CFBundleInfoDictionaryVersion</key>\n  <string>6.0</string>\n  <key>CFBundleName</key>\n  <string>App</string>\n  <key>CFBundlePackageType</key>\n  <string>FMWK</string>\n  <key>CFBundleShortVersionString</key>\n  <string>1.0</string>\n  <key>CFBundleSignature</key>\n  <string>????</string>\n  <key>CFBundleVersion</key>\n  <string>1.0</string>\n  <key>MinimumOSVersion</key>\n  <string>9.0</string>\n</dict>\n</plist>\n"
  },
  {
    "path": "ios/Flutter/Debug.xcconfig",
    "content": "#include \"Generated.xcconfig\"\n"
  },
  {
    "path": "ios/Flutter/Release.xcconfig",
    "content": "#include \"Generated.xcconfig\"\n"
  },
  {
    "path": "ios/Runner/AppDelegate.swift",
    "content": "import UIKit\nimport Flutter\n\n@UIApplicationMain\n@objc class AppDelegate: FlutterAppDelegate {\n  override func application(\n    _ application: UIApplication,\n    didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?\n  ) -> Bool {\n    GeneratedPluginRegistrant.register(with: self)\n    return super.application(application, didFinishLaunchingWithOptions: launchOptions)\n  }\n}\n"
  },
  {
    "path": "ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"size\" : \"20x20\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-20x20@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"20x20\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-20x20@3x.png\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-29x29@1x.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-29x29@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-29x29@3x.png\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"size\" : \"40x40\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-40x40@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"40x40\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-40x40@3x.png\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"size\" : \"60x60\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-60x60@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"60x60\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-60x60@3x.png\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"size\" : \"20x20\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-20x20@1x.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"20x20\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-20x20@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-29x29@1x.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-29x29@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"40x40\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-40x40@1x.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"40x40\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-40x40@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"76x76\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-76x76@1x.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"76x76\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-76x76@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"83.5x83.5\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-83.5x83.5@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"1024x1024\",\n      \"idiom\" : \"ios-marketing\",\n      \"filename\" : \"Icon-App-1024x1024@1x.png\",\n      \"scale\" : \"1x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}\n"
  },
  {
    "path": "ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"LaunchImage.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"LaunchImage@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"LaunchImage@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}\n"
  },
  {
    "path": "ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md",
    "content": "# Launch Screen Assets\n\nYou can customize the launch screen with your own desired assets by replacing the image files in this directory.\n\nYou 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."
  },
  {
    "path": "ios/Runner/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"12121\" systemVersion=\"16G29\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" colorMatched=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"12089\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Ydg-fD-yQy\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xbc-2k-c8Z\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <subviews>\n                            <imageView opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" image=\"LaunchImage\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"YRO-k0-Ey4\">\n                            </imageView>\n                        </subviews>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                        <constraints>\n                            <constraint firstItem=\"YRO-k0-Ey4\" firstAttribute=\"centerX\" secondItem=\"Ze5-6b-2t3\" secondAttribute=\"centerX\" id=\"1a2-6s-vTC\"/>\n                            <constraint firstItem=\"YRO-k0-Ey4\" firstAttribute=\"centerY\" secondItem=\"Ze5-6b-2t3\" secondAttribute=\"centerY\" id=\"4X2-HB-R7a\"/>\n                        </constraints>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n    <resources>\n        <image name=\"LaunchImage\" width=\"168\" height=\"185\"/>\n    </resources>\n</document>\n"
  },
  {
    "path": "ios/Runner/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"10117\" systemVersion=\"15F34\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" initialViewController=\"BYZ-38-t0r\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"10085\"/>\n    </dependencies>\n    <scenes>\n        <!--Flutter View Controller-->\n        <scene sceneID=\"tne-QT-ifu\">\n            <objects>\n                <viewController id=\"BYZ-38-t0r\" customClass=\"FlutterViewController\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"y3c-jy-aDJ\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"wfy-db-euE\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"8bC-Xf-vdC\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"600\" height=\"600\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"calibratedWhite\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"dkx-z0-nzr\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "ios/Runner/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>$(DEVELOPMENT_LANGUAGE)</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>sinaruecommerce</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>$(FLUTTER_BUILD_NAME)</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>$(FLUTTER_BUILD_NUMBER)</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UIViewControllerBasedStatusBarAppearance</key>\n\t<false/>\n</dict>\n</plist>\n"
  },
  {
    "path": "ios/Runner/Runner-Bridging-Header.h",
    "content": "#import \"GeneratedPluginRegistrant.h\"\n"
  },
  {
    "path": "ios/Runner.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 50;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };\n\t\t3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };\n\t\t74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };\n\t\t97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };\n\t\t97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };\n\t\t97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXCopyFilesBuildPhase section */\n\t\t9705A1C41CF9048500538489 /* Embed Frameworks */ = {\n\t\t\tisa = PBXCopyFilesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tdstPath = \"\";\n\t\t\tdstSubfolderSpec = 10;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tname = \"Embed Frameworks\";\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXCopyFilesBuildPhase section */\n\n/* Begin PBXFileReference section */\n\t\t1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = \"<group>\"; };\n\t\t1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = \"<group>\"; };\n\t\t3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = \"<group>\"; };\n\t\t74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = \"Runner-Bridging-Header.h\"; sourceTree = \"<group>\"; };\n\t\t74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = \"<group>\"; };\n\t\t9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = \"<group>\"; };\n\t\t9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = \"<group>\"; };\n\t\t97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\t97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\t97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t97C146EB1CF9000F007C117D /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t9740EEB11CF90186004384FC /* Flutter */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,\n\t\t\t\t9740EEB21CF90195004384FC /* Debug.xcconfig */,\n\t\t\t\t7AFA3C8E1D35360C0083082E /* Release.xcconfig */,\n\t\t\t\t9740EEB31CF90195004384FC /* Generated.xcconfig */,\n\t\t\t);\n\t\t\tname = Flutter;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t97C146E51CF9000F007C117D = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t9740EEB11CF90186004384FC /* Flutter */,\n\t\t\t\t97C146F01CF9000F007C117D /* Runner */,\n\t\t\t\t97C146EF1CF9000F007C117D /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t97C146EF1CF9000F007C117D /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t97C146EE1CF9000F007C117D /* Runner.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t97C146F01CF9000F007C117D /* Runner */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t97C146FA1CF9000F007C117D /* Main.storyboard */,\n\t\t\t\t97C146FD1CF9000F007C117D /* Assets.xcassets */,\n\t\t\t\t97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,\n\t\t\t\t97C147021CF9000F007C117D /* Info.plist */,\n\t\t\t\t1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,\n\t\t\t\t1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,\n\t\t\t\t74858FAE1ED2DC5600515810 /* AppDelegate.swift */,\n\t\t\t\t74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,\n\t\t\t);\n\t\t\tpath = Runner;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t97C146ED1CF9000F007C117D /* Runner */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget \"Runner\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t9740EEB61CF901F6004384FC /* Run Script */,\n\t\t\t\t97C146EA1CF9000F007C117D /* Sources */,\n\t\t\t\t97C146EB1CF9000F007C117D /* Frameworks */,\n\t\t\t\t97C146EC1CF9000F007C117D /* Resources */,\n\t\t\t\t9705A1C41CF9048500538489 /* Embed Frameworks */,\n\t\t\t\t3B06AD1E1E4923F5004D2608 /* Thin Binary */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = Runner;\n\t\t\tproductName = Runner;\n\t\t\tproductReference = 97C146EE1CF9000F007C117D /* Runner.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t97C146E61CF9000F007C117D /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastUpgradeCheck = 1300;\n\t\t\t\tORGANIZATIONNAME = \"\";\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t97C146ED1CF9000F007C117D = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 7.3.1;\n\t\t\t\t\t\tLastSwiftMigration = 1100;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject \"Runner\" */;\n\t\t\tcompatibilityVersion = \"Xcode 9.3\";\n\t\t\tdevelopmentRegion = en;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 97C146E51CF9000F007C117D;\n\t\t\tproductRefGroup = 97C146EF1CF9000F007C117D /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t97C146ED1CF9000F007C117D /* Runner */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t97C146EC1CF9000F007C117D /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,\n\t\t\t\t3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,\n\t\t\t\t97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,\n\t\t\t\t97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXShellScriptBuildPhase section */\n\t\t3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t);\n\t\t\tname = \"Thin Binary\";\n\t\t\toutputPaths = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"/bin/sh \\\"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\\\" embed_and_thin\";\n\t\t};\n\t\t9740EEB61CF901F6004384FC /* Run Script */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t);\n\t\t\tname = \"Run Script\";\n\t\t\toutputPaths = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"/bin/sh \\\"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\\\" build\";\n\t\t};\n/* End PBXShellScriptBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t97C146EA1CF9000F007C117D /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,\n\t\t\t\t1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXVariantGroup section */\n\t\t97C146FA1CF9000F007C117D /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t97C146FB1CF9000F007C117D /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t97C147001CF9000F007C117D /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t249021D3217E4FDB00AE95B9 /* Profile */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 9.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSUPPORTED_PLATFORMS = iphoneos;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Profile;\n\t\t};\n\t\t249021D4217E4FDB00AE95B9 /* Profile */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCURRENT_PROJECT_VERSION = \"$(FLUTTER_BUILD_NUMBER)\";\n\t\t\t\tENABLE_BITCODE = NO;\n\t\t\t\tINFOPLIST_FILE = Runner/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"@executable_path/Frameworks\",\n\t\t\t\t);\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = com.example.sinaruecommerce;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_OBJC_BRIDGING_HEADER = \"Runner/Runner-Bridging-Header.h\";\n\t\t\t\tSWIFT_VERSION = 5.0;\n\t\t\t\tVERSIONING_SYSTEM = \"apple-generic\";\n\t\t\t};\n\t\t\tname = Profile;\n\t\t};\n\t\t97C147031CF9000F007C117D /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 9.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t97C147041CF9000F007C117D /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 9.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSUPPORTED_PLATFORMS = iphoneos;\n\t\t\t\tSWIFT_COMPILATION_MODE = wholemodule;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-O\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t97C147061CF9000F007C117D /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCURRENT_PROJECT_VERSION = \"$(FLUTTER_BUILD_NUMBER)\";\n\t\t\t\tENABLE_BITCODE = NO;\n\t\t\t\tINFOPLIST_FILE = Runner/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"@executable_path/Frameworks\",\n\t\t\t\t);\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = com.example.sinaruecommerce;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_OBJC_BRIDGING_HEADER = \"Runner/Runner-Bridging-Header.h\";\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tSWIFT_VERSION = 5.0;\n\t\t\t\tVERSIONING_SYSTEM = \"apple-generic\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t97C147071CF9000F007C117D /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCURRENT_PROJECT_VERSION = \"$(FLUTTER_BUILD_NUMBER)\";\n\t\t\t\tENABLE_BITCODE = NO;\n\t\t\t\tINFOPLIST_FILE = Runner/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"@executable_path/Frameworks\",\n\t\t\t\t);\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = com.example.sinaruecommerce;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_OBJC_BRIDGING_HEADER = \"Runner/Runner-Bridging-Header.h\";\n\t\t\t\tSWIFT_VERSION = 5.0;\n\t\t\t\tVERSIONING_SYSTEM = \"apple-generic\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t97C146E91CF9000F007C117D /* Build configuration list for PBXProject \"Runner\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t97C147031CF9000F007C117D /* Debug */,\n\t\t\t\t97C147041CF9000F007C117D /* Release */,\n\t\t\t\t249021D3217E4FDB00AE95B9 /* Profile */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget \"Runner\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t97C147061CF9000F007C117D /* Debug */,\n\t\t\t\t97C147071CF9000F007C117D /* Release */,\n\t\t\t\t249021D4217E4FDB00AE95B9 /* Profile */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 97C146E61CF9000F007C117D /* Project object */;\n}\n"
  },
  {
    "path": "ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>PreviewsEnabled</key>\n\t<false/>\n</dict>\n</plist>\n"
  },
  {
    "path": "ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"1300\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"97C146ED1CF9000F007C117D\"\n               BuildableName = \"Runner.app\"\n               BlueprintName = \"Runner\"\n               ReferencedContainer = \"container:Runner.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"97C146ED1CF9000F007C117D\"\n            BuildableName = \"Runner.app\"\n            BlueprintName = \"Runner\"\n            ReferencedContainer = \"container:Runner.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <Testables>\n      </Testables>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"97C146ED1CF9000F007C117D\"\n            BuildableName = \"Runner.app\"\n            BlueprintName = \"Runner\"\n            ReferencedContainer = \"container:Runner.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Profile\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"97C146ED1CF9000F007C117D\"\n            BuildableName = \"Runner.app\"\n            BlueprintName = \"Runner\"\n            ReferencedContainer = \"container:Runner.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "ios/Runner.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"group:Runner.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>PreviewsEnabled</key>\n\t<false/>\n</dict>\n</plist>\n"
  },
  {
    "path": "lib/auth.dart",
    "content": "import 'package:sinaruecommerce/widget/signup_widget.dart';\n\nimport './widget/login_widget.dart';\nimport 'package:flutter/material.dart';\n\nclass AuthPage extends StatefulWidget {\n  @override\n  _AuthPageState createState() => _AuthPageState();\n}\n\nclass _AuthPageState extends State<AuthPage> {\n  bool isLogin = true;\n  @override\n  Widget build(BuildContext context) => isLogin\n      ? LoginWidget(onClickedSignUp: toggle)\n      : SignUpWidget(onClickedSignIn: toggle);\n\n  void toggle() => setState(() => isLogin = !isLogin);\n}\n"
  },
  {
    "path": "lib/colors/colors.dart",
    "content": "import 'package:flutter/material.dart';\n\nColor primaryColor = Color(0xffff7643);\nColor scaffoldBackgroundColor = Color(0xffcbcbcb);\nColor textColor = Colors.black87;\n"
  },
  {
    "path": "lib/controller/cart_controller.dart",
    "content": "import 'package:get/get.dart';\nimport 'package:sinaruecommerce/products/product_model.dart';\n\nclass CartController extends GetxController {\n  var _products = {}.obs;\n\n  void addProduct(Product product) {\n    if (_products.containsKey(product)) {\n      _products[product] += 1;\n    } else {\n      _products[product] = 1;\n    }\n\n    Get.snackbar(\n      \"Product Added\",\n      \"You have added the ${product.name} to the cart\",\n      snackPosition: SnackPosition.BOTTOM,\n      duration: Duration(seconds: 2),\n    );\n  }\n\n  void removeProduct(Product product) {\n    if (_products.containsKey(product) && _products[product] == 1) {\n      _products.removeWhere((key, value) => key == product);\n    } else {\n      _products[product] -= 1;\n    }\n\n    Get.snackbar(\n      \"Product Removed\",\n      \"You have removed the ${product.name} to the cart\",\n      snackPosition: SnackPosition.BOTTOM,\n      duration: Duration(seconds: 2),\n    );\n  }\n\n  get products => _products;\n\n  get productSubtotal => _products.entries\n      .map((product) => product.key.price * product.value)\n      .toList();\n\n  get total => _products.entries\n      .map((product) => product.key.price * product.value)\n      .toList()\n      .reduce((value, element) => value + element)\n      .toStringAsFixed(2);\n}\n"
  },
  {
    "path": "lib/controller/product_controller.dart",
    "content": "import 'package:get/get.dart';\nimport 'package:sinaruecommerce/products/product_model.dart';\nimport 'package:sinaruecommerce/services/firestore_db.dart';\n\nclass ProductController extends GetxController {\n  final products = <Product>[].obs;\n\n  @override\n  void onInit() {\n    products.bindStream(FirestoreDB().getAllProducts());\n    super.onInit();\n  }\n}\n"
  },
  {
    "path": "lib/homepage.dart",
    "content": "import 'package:cloud_firestore/cloud_firestore.dart';\nimport 'package:firebase_auth/firebase_auth.dart';\nimport 'package:flutter/material.dart';\nimport 'package:get/get.dart';\nimport 'package:sinaruecommerce/colors/colors.dart';\nimport 'package:sinaruecommerce/products/catalog_screen.dart';\nimport 'package:sinaruecommerce/products/product_overview.dart';\n\nimport 'controller/cart_controller.dart';\nimport 'controller/product_controller.dart';\n\nclass HomePage extends StatefulWidget {\n  final productController = Get.put(ProductController());\n  final Stream<QuerySnapshot> products =\n      FirebaseFirestore.instance.collection('products').snapshots();\n\n  @override\n  State<HomePage> createState() => _HomePageState();\n}\n\nclass _HomePageState extends State<HomePage> {\n  @override\n  bool homeColor = true;\n\n  bool cartColor = false;\n\n  bool aboutColor = false;\n\n  bool contactusColor = false;\n\n  Widget product1() {\n    final cartController = Get.put(CartController());\n    final ProductController productController = Get.find();\n\n    return Container(\n      margin: EdgeInsets.only(right: 10),\n      height: 235,\n      width: 165,\n      decoration: BoxDecoration(\n        color: Colors.white,\n        borderRadius: BorderRadius.circular(10),\n      ),\n      child: Column(\n        crossAxisAlignment: CrossAxisAlignment.start,\n        children: [\n          GestureDetector(\n            onTap: () {\n              Navigator.of(context).push(\n                MaterialPageRoute(\n                  builder: (context) => ProductOverview(\n                    productImage: (\"assets/images/mcb1.png\"),\n                    productName: (\"MCB Schneider 60A\"),\n                    productPrice: (55000),\n                    productStok: (78),\n                  ),\n                ),\n              );\n            },\n            child: Container(\n              height: 150,\n              padding: EdgeInsets.all(5),\n              width: double.infinity,\n              child: Image(\n                image: AssetImage(\"assets/images/mcb1.png\"),\n              ),\n            ),\n          ),\n          Expanded(\n            flex: 2,\n            child: Padding(\n              padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 5),\n              child: Column(\n                crossAxisAlignment: CrossAxisAlignment.start,\n                children: [\n                  Text(\n                    \"MCB Schneider 60A\",\n                    style: TextStyle(\n                      color: Colors.black,\n                      fontWeight: FontWeight.bold,\n                    ),\n                  ),\n                  Text(\n                    'Rp. 55.000',\n                    style: TextStyle(\n                      color: Colors.grey,\n                    ),\n                  ),\n                  SizedBox(\n                    height: 5,\n                  ),\n                ],\n              ),\n            ),\n          ),\n          Row(\n            children: [\n              Expanded(\n                child: Container(\n                  height: 30,\n                  width: 50,\n                  child: Text(\n                    \"Stock :\",\n                    style: TextStyle(\n                      color: Colors.black,\n                      fontWeight: FontWeight.bold,\n                    ),\n                    textAlign: TextAlign.center,\n                  ),\n                ),\n              ),\n              SizedBox(\n                width: 5,\n              ),\n              Expanded(\n                child: Container(\n                  height: 30,\n                  width: 50,\n                  child: Text(\n                    '78 Pcs',\n                    style: TextStyle(\n                      color: Colors.black,\n                      fontWeight: FontWeight.bold,\n                    ),\n                    textAlign: TextAlign.center,\n                  ),\n                ),\n              ),\n            ],\n          ),\n        ],\n      ),\n    );\n  }\n\n  Widget product2() {\n    final cartController = Get.put(CartController());\n    final ProductController productController = Get.find();\n    final int index;\n\n    return Container(\n      margin: EdgeInsets.only(right: 10),\n      height: 235,\n      width: 165,\n      decoration: BoxDecoration(\n        color: Colors.white,\n        borderRadius: BorderRadius.circular(10),\n      ),\n      child: Column(\n        crossAxisAlignment: CrossAxisAlignment.start,\n        children: [\n          GestureDetector(\n            onTap: () {\n              // Navigator.of(context).push(\n              //   MaterialPageRoute(\n              //     builder: (context) => ProductOverview(\n              //       productImage: (_products[0][\"productImage\"]),\n              //       productName: (_products[0][\"productName\"]),\n              //       productPrice: (_products[0][\"productPrice\"]),\n              //       productStok: (_products[0][\"productStok\"]),\n              //     ),\n              //   ),\n              // );\n            },\n            child: Container(\n              height: 150,\n              padding: EdgeInsets.all(5),\n              width: double.infinity,\n              child: Image(\n                image: AssetImage(\"assets/images/mcb2.png\"),\n              ),\n            ),\n          ),\n          Expanded(\n            flex: 2,\n            child: Padding(\n              padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 5),\n              child: Column(\n                crossAxisAlignment: CrossAxisAlignment.start,\n                children: [\n                  Text(\n                    \"BARDI Wall Socket\",\n                    style: TextStyle(\n                      color: Colors.black,\n                      fontWeight: FontWeight.bold,\n                    ),\n                  ),\n                  Text(\n                    'Rp. 190.000',\n                    style: TextStyle(\n                      color: Colors.grey,\n                    ),\n                  ),\n                  SizedBox(\n                    height: 5,\n                  ),\n                ],\n              ),\n            ),\n          ),\n          Row(\n            children: [\n              Expanded(\n                child: Container(\n                  height: 30,\n                  width: 50,\n                  child: Text(\n                    \"Stock :\",\n                    style: TextStyle(\n                      color: Colors.black,\n                      fontWeight: FontWeight.bold,\n                    ),\n                    textAlign: TextAlign.center,\n                  ),\n                ),\n              ),\n              SizedBox(\n                width: 5,\n              ),\n              Expanded(\n                child: Container(\n                  height: 30,\n                  width: 50,\n                  child: Text(\n                    '30 Pcs',\n                    style: TextStyle(\n                      color: Colors.black,\n                      fontWeight: FontWeight.bold,\n                    ),\n                    textAlign: TextAlign.center,\n                  ),\n                ),\n              ),\n            ],\n          ),\n        ],\n      ),\n    );\n  }\n\n  Widget product3() {\n    final cartController = Get.put(CartController());\n    final ProductController productController = Get.find();\n    final int index;\n\n    return Container(\n      margin: EdgeInsets.only(right: 10),\n      height: 235,\n      width: 165,\n      decoration: BoxDecoration(\n        color: Colors.white,\n        borderRadius: BorderRadius.circular(10),\n      ),\n      child: Column(\n        crossAxisAlignment: CrossAxisAlignment.start,\n        children: [\n          GestureDetector(\n            onTap: () {\n              // Navigator.of(context).push(\n              //   MaterialPageRoute(\n              //     builder: (context) => ProductOverview(\n              //       productImage: (_products[0][\"productImage\"]),\n              //       productName: (_products[0][\"productName\"]),\n              //       productPrice: (_products[0][\"productPrice\"]),\n              //       productStok: (_products[0][\"productStok\"]),\n              //     ),\n              //   ),\n              // );\n            },\n            child: Container(\n              height: 150,\n              padding: EdgeInsets.all(5),\n              width: double.infinity,\n              child: Image(\n                image: AssetImage(\"assets/images/mcb3.png\"),\n              ),\n            ),\n          ),\n          Expanded(\n            flex: 2,\n            child: Padding(\n              padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 5),\n              child: Column(\n                crossAxisAlignment: CrossAxisAlignment.start,\n                children: [\n                  Text(\n                    \"BARDI Sakelar Socket\",\n                    style: TextStyle(\n                      color: Colors.black,\n                      fontWeight: FontWeight.bold,\n                    ),\n                  ),\n                  Text(\n                    'Rp. 80.000',\n                    style: TextStyle(\n                      color: Colors.grey,\n                    ),\n                  ),\n                  SizedBox(\n                    height: 5,\n                  ),\n                ],\n              ),\n            ),\n          ),\n          Row(\n            children: [\n              Expanded(\n                child: Container(\n                  height: 30,\n                  width: 50,\n                  child: Text(\n                    \"Stock :\",\n                    style: TextStyle(\n                      color: Colors.black,\n                      fontWeight: FontWeight.bold,\n                    ),\n                    textAlign: TextAlign.center,\n                  ),\n                ),\n              ),\n              SizedBox(\n                width: 5,\n              ),\n              Expanded(\n                child: Container(\n                  height: 30,\n                  width: 50,\n                  child: Text(\n                    '22 Pcs',\n                    style: TextStyle(\n                      color: Colors.black,\n                      fontWeight: FontWeight.bold,\n                    ),\n                    textAlign: TextAlign.center,\n                  ),\n                ),\n              ),\n            ],\n          ),\n        ],\n      ),\n    );\n  }\n\n  Widget product4() {\n    final cartController = Get.put(CartController());\n    final ProductController productController = Get.find();\n    final int index;\n\n    return Container(\n      margin: EdgeInsets.only(right: 10),\n      height: 235,\n      width: 165,\n      decoration: BoxDecoration(\n        color: Colors.white,\n        borderRadius: BorderRadius.circular(10),\n      ),\n      child: Column(\n        crossAxisAlignment: CrossAxisAlignment.start,\n        children: [\n          GestureDetector(\n            onTap: () {\n              // Navigator.of(context).push(\n              //   MaterialPageRoute(\n              //     builder: (context) => ProductOverview(\n              //       productImage: (_products[0][\"productImage\"]),\n              //       productName: (_products[0][\"productName\"]),\n              //       productPrice: (_products[0][\"productPrice\"]),\n              //       productStok: (_products[0][\"productStok\"]),\n              //     ),\n              //   ),\n              // );\n            },\n            child: Container(\n              height: 150,\n              padding: EdgeInsets.all(5),\n              width: double.infinity,\n              child: Image(\n                image: AssetImage(\"assets/images/mcb4.png\"),\n              ),\n            ),\n          ),\n          Expanded(\n            flex: 2,\n            child: Padding(\n              padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 5),\n              child: Column(\n                crossAxisAlignment: CrossAxisAlignment.start,\n                children: [\n                  Text(\n                    \"Hannoch LED 3W\",\n                    style: TextStyle(\n                      color: Colors.black,\n                      fontWeight: FontWeight.bold,\n                    ),\n                  ),\n                  Text(\n                    'Rp. 35.000',\n                    style: TextStyle(\n                      color: Colors.grey,\n                    ),\n                  ),\n                  SizedBox(\n                    height: 5,\n                  ),\n                ],\n              ),\n            ),\n          ),\n          Row(\n            children: [\n              Expanded(\n                child: Container(\n                  height: 30,\n                  width: 50,\n                  child: Text(\n                    \"Stock :\",\n                    style: TextStyle(\n                      color: Colors.black,\n                      fontWeight: FontWeight.bold,\n                    ),\n                    textAlign: TextAlign.center,\n                  ),\n                ),\n              ),\n              SizedBox(\n                width: 5,\n              ),\n              Expanded(\n                child: Container(\n                  height: 30,\n                  width: 50,\n                  child: Text(\n                    '150 Pcs',\n                    style: TextStyle(\n                      color: Colors.black,\n                      fontWeight: FontWeight.bold,\n                    ),\n                    textAlign: TextAlign.center,\n                  ),\n                ),\n              ),\n            ],\n          ),\n        ],\n      ),\n    );\n  }\n\n  Widget product5() {\n    final cartController = Get.put(CartController());\n    final ProductController productController = Get.find();\n    final int index;\n\n    return Container(\n      margin: EdgeInsets.only(right: 10),\n      height: 235,\n      width: 165,\n      decoration: BoxDecoration(\n        color: Colors.white,\n        borderRadius: BorderRadius.circular(10),\n      ),\n      child: Column(\n        crossAxisAlignment: CrossAxisAlignment.start,\n        children: [\n          GestureDetector(\n            onTap: () {\n              // Navigator.of(context).push(\n              //   MaterialPageRoute(\n              //     builder: (context) => ProductOverview(\n              //       productImage: (_products[0][\"productImage\"]),\n              //       productName: (_products[0][\"productName\"]),\n              //       productPrice: (_products[0][\"productPrice\"]),\n              //       productStok: (_products[0][\"productStok\"]),\n              //     ),\n              //   ),\n              // );\n            },\n            child: Container(\n              height: 150,\n              padding: EdgeInsets.all(5),\n              width: double.infinity,\n              child: Image(\n                image: AssetImage(\"assets/images/mcb5.png\"),\n              ),\n            ),\n          ),\n          Expanded(\n            flex: 2,\n            child: Padding(\n              padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 5),\n              child: Column(\n                crossAxisAlignment: CrossAxisAlignment.start,\n                children: [\n                  Text(\n                    \"BARDI Smart LED\",\n                    style: TextStyle(\n                      color: Colors.black,\n                      fontWeight: FontWeight.bold,\n                    ),\n                  ),\n                  Text(\n                    'Rp. 120.000',\n                    style: TextStyle(\n                      color: Colors.grey,\n                    ),\n                  ),\n                  SizedBox(\n                    height: 5,\n                  ),\n                ],\n              ),\n            ),\n          ),\n          Row(\n            children: [\n              Expanded(\n                child: Container(\n                  height: 30,\n                  width: 50,\n                  child: Text(\n                    \"Stock :\",\n                    style: TextStyle(\n                      color: Colors.black,\n                      fontWeight: FontWeight.bold,\n                    ),\n                    textAlign: TextAlign.center,\n                  ),\n                ),\n              ),\n              SizedBox(\n                width: 5,\n              ),\n              Expanded(\n                child: Container(\n                  height: 30,\n                  width: 50,\n                  child: Text(\n                    '50',\n                    style: TextStyle(\n                      color: Colors.black,\n                      fontWeight: FontWeight.bold,\n                    ),\n                    textAlign: TextAlign.center,\n                  ),\n                ),\n              ),\n            ],\n          ),\n        ],\n      ),\n    );\n  }\n\n  Widget product6() {\n    final cartController = Get.put(CartController());\n    final ProductController productController = Get.find();\n    final int index;\n\n    return Container(\n      margin: EdgeInsets.only(right: 10),\n      height: 235,\n      width: 165,\n      decoration: BoxDecoration(\n        color: Colors.white,\n        borderRadius: BorderRadius.circular(10),\n      ),\n      child: Column(\n        crossAxisAlignment: CrossAxisAlignment.start,\n        children: [\n          GestureDetector(\n            onTap: () {\n              // Navigator.of(context).push(\n              //   MaterialPageRoute(\n              //     builder: (context) => ProductOverview(\n              //       productImage: (_products[0][\"productImage\"]),\n              //       productName: (_products[0][\"productName\"]),\n              //       productPrice: (_products[0][\"productPrice\"]),\n              //       productStok: (_products[0][\"productStok\"]),\n              //     ),\n              //   ),\n              // );\n            },\n            child: Container(\n              height: 150,\n              padding: EdgeInsets.all(5),\n              width: double.infinity,\n              child: Image(\n                image: AssetImage(\"assets/images/cable1.png\"),\n              ),\n            ),\n          ),\n          Expanded(\n            flex: 2,\n            child: Padding(\n              padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 5),\n              child: Column(\n                crossAxisAlignment: CrossAxisAlignment.start,\n                children: [\n                  Text(\n                    \"Kabel NYA 1,5 100M\",\n                    style: TextStyle(\n                      color: Colors.black,\n                      fontWeight: FontWeight.bold,\n                    ),\n                  ),\n                  Text(\n                    'Rp. 175.000',\n                    style: TextStyle(\n                      color: Colors.grey,\n                    ),\n                  ),\n                  SizedBox(\n                    height: 5,\n                  ),\n                ],\n              ),\n            ),\n          ),\n          Row(\n            children: [\n              Expanded(\n                child: Container(\n                  height: 30,\n                  width: 50,\n                  child: Text(\n                    \"Stock :\",\n                    style: TextStyle(\n                      color: Colors.black,\n                      fontWeight: FontWeight.bold,\n                    ),\n                    textAlign: TextAlign.center,\n                  ),\n                ),\n              ),\n              SizedBox(\n                width: 5,\n              ),\n              Expanded(\n                child: Container(\n                  height: 30,\n                  width: 50,\n                  child: Text(\n                    '50 Pcs',\n                    style: TextStyle(\n                      color: Colors.black,\n                      fontWeight: FontWeight.bold,\n                    ),\n                    textAlign: TextAlign.center,\n                  ),\n                ),\n              ),\n            ],\n          ),\n        ],\n      ),\n    );\n  }\n\n  Widget build(BuildContext context) {\n    final user = FirebaseAuth.instance.currentUser!;\n\n    return Scaffold(\n      backgroundColor: Color(0xffcbcbcb),\n      drawer: Drawer(\n        child: Container(\n          color: Colors.white,\n          child: ListView(\n            children: [\n              DrawerHeader(\n                child: Row(\n                  children: [\n                    CircleAvatar(\n                      backgroundColor: Colors.white54,\n                      radius: 43,\n                      child: CircleAvatar(\n                        radius: 40,\n                        backgroundColor: primaryColor,\n                      ),\n                    ),\n                    SizedBox(\n                      width: 20,\n                    ),\n                    Column(\n                      mainAxisAlignment: MainAxisAlignment.center,\n                      children: [\n                        Text(\"Welcome\"),\n                        SizedBox(\n                          child: Text(\n                            \"${user.email}\",\n                            style: TextStyle(\n                                fontSize: 15, fontWeight: FontWeight.bold),\n                          ),\n                          height: 20,\n                        ),\n                      ],\n                    ),\n                  ],\n                ),\n              ),\n              ListTile(\n                selected: homeColor,\n                leading: Icon(Icons.home_outlined),\n                title: Text(\"Home\"),\n                onTap: () {\n                  setState(() {\n                    homeColor = true;\n                    contactusColor = false;\n                    cartColor = false;\n                    aboutColor = false;\n                  });\n                },\n              ),\n              ListTile(\n                leading: Icon(Icons.shop),\n                title: Text(\"Catalog Product\"),\n                onTap: () {\n                  Navigator.of(context).push(\n                    MaterialPageRoute(\n                      builder: (context) => CatalogScreen(),\n                    ),\n                  );\n                },\n              ),\n              ListTile(\n                leading: Icon(Icons.shopping_cart),\n                title: Text(\"My Cart\"),\n                onTap: () {\n                  Navigator.of(context).push(\n                    MaterialPageRoute(\n                      builder: (context) => CatalogScreen(),\n                    ),\n                  );\n                },\n              ),\n              ListTile(\n                leading: Icon(Icons.phone_outlined),\n                title: Text(\"ContactUs\"),\n              ),\n              ListTile(\n                  leading: Icon(Icons.logout_outlined),\n                  title: Text(\"Logout\"),\n                  onTap: () => FirebaseAuth.instance.signOut()),\n            ],\n          ),\n        ),\n      ),\n      appBar: AppBar(\n        backgroundColor: primaryColor,\n        title: Text(\"Homepage\"),\n        actions: [\n          CircleAvatar(\n            radius: 20,\n            backgroundColor: Colors.white,\n            child: IconButton(\n                onPressed: () {\n                  Navigator.of(context).push(\n                    MaterialPageRoute(\n                      builder: (context) => CatalogScreen(),\n                    ),\n                  );\n                },\n                icon: Icon(\n                  Icons.shopping_cart_outlined,\n                  size: 17,\n                  color: Colors.black,\n                )),\n          ),\n        ],\n      ),\n      body: Padding(\n        padding: const EdgeInsets.symmetric(vertical: 10, horizontal: 10),\n        child: ListView(\n          children: [\n            Container(\n              height: 150,\n              decoration: BoxDecoration(\n                image: DecorationImage(\n                  fit: BoxFit.cover,\n                  image: AssetImage('assets/images/banner1.png'),\n                ),\n                color: Colors.red,\n                borderRadius: BorderRadius.circular(10),\n              ),\n              child: Row(\n                children: [\n                  Expanded(\n                    flex: 2,\n                    child: Container(\n                      child: Column(\n                        children: [\n                          Padding(\n                            padding:\n                                const EdgeInsets.only(right: 250, bottom: 10),\n                            child: Container(\n                              height: 50,\n                              width: 100,\n                              decoration: BoxDecoration(\n                                borderRadius: BorderRadius.only(\n                                  bottomRight: Radius.circular(50),\n                                  bottomLeft: Radius.circular(50),\n                                ),\n                              ),\n                              child: Image(\n                                image: AssetImage(\n                                  'assets/images/logo.png',\n                                ),\n                              ),\n                            ),\n                          ),\n                          Text(\n                            '30% Off',\n                            style: TextStyle(\n                              fontSize: 40,\n                              color: Colors.white,\n                              fontWeight: FontWeight.bold,\n                            ),\n                          ),\n                          Padding(\n                            padding: const EdgeInsets.only(left: 10),\n                            child: Text(\n                              'On all Lamps product',\n                              style: TextStyle(\n                                color: Colors.white,\n                              ),\n                            ),\n                          ),\n                        ],\n                      ),\n                    ),\n                  ),\n                  Expanded(\n                    child: Container(),\n                  ),\n                ],\n              ),\n            ),\n            Padding(\n              padding: const EdgeInsets.symmetric(vertical: 20),\n              child: Row(\n                mainAxisAlignment: MainAxisAlignment.spaceBetween,\n                children: [\n                  Text('Feature Product'),\n                  Text(\n                    'View All',\n                    style: TextStyle(\n                      color: Colors.grey,\n                    ),\n                  ),\n                ],\n              ),\n            ),\n            SingleChildScrollView(\n              scrollDirection: Axis.horizontal,\n              child: Row(\n                children: [\n                  product1(),\n                  product2(),\n                  product3(),\n                ],\n              ),\n            ),\n            Padding(\n              padding: const EdgeInsets.symmetric(vertical: 20),\n              child: Row(\n                mainAxisAlignment: MainAxisAlignment.spaceBetween,\n                children: [\n                  Text('New Product'),\n                  Text(\n                    'View All',\n                    style: TextStyle(\n                      color: Colors.grey,\n                    ),\n                  ),\n                ],\n              ),\n            ),\n            SingleChildScrollView(\n              scrollDirection: Axis.horizontal,\n              child: Row(\n                children: [\n                  product4(),\n                  product5(),\n                  product6(),\n                ],\n              ),\n            ),\n          ],\n        ),\n      ),\n    );\n  }\n}\n"
  },
  {
    "path": "lib/main.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:firebase_auth/firebase_auth.dart';\nimport 'package:get/get.dart';\nimport 'package:sinaruecommerce/auth.dart';\nimport 'package:sinaruecommerce/homepage.dart';\nimport 'package:sinaruecommerce/products/catalog_screen.dart';\nimport 'package:sinaruecommerce/utils.dart';\nimport 'package:firebase_core/firebase_core.dart';\n\nvoid main() async {\n  WidgetsFlutterBinding.ensureInitialized();\n  await Firebase.initializeApp(\n    options: FirebaseOptions(\n      apiKey: \"AIzaSyDCwEEhXEnNKqBaBsspG7rdDQpe4tuvWKc\",\n      appId: \"1:491104141997:android:c4bf135d295026686dfc24\",\n      messagingSenderId: \"491104141997\",\n      projectId: \"sutamaapp\",\n    ),\n  );\n  runApp(MyApp());\n}\n\nfinal navigatorKey = GlobalKey<NavigatorState>();\n\nclass MyApp extends StatelessWidget {\n  // This widget is the root of your application.\n  @override\n  Widget build(BuildContext context) {\n    return GetMaterialApp(\n      scaffoldMessengerKey: Utils.messengerKey,\n      navigatorKey: navigatorKey,\n      debugShowCheckedModeBanner: false,\n      home: MainPage(),\n    );\n  }\n}\n\nclass MainPage extends StatelessWidget {\n  @override\n  Widget build(BuildContext context) => Scaffold(\n        body: StreamBuilder<User?>(\n          stream: FirebaseAuth.instance.authStateChanges(),\n          builder: (context, snapshot) {\n            if (snapshot.hasData) {\n              return HomePage();\n            } else {\n              return AuthPage();\n            }\n          },\n        ),\n      );\n}\n"
  },
  {
    "path": "lib/payment/payment.dart",
    "content": "import 'package:flutter/cupertino.dart';\nimport 'package:flutter/material.dart';\nimport 'package:get/get.dart';\nimport 'package:razorpay_flutter/razorpay_flutter.dart';\nimport 'package:sinaruecommerce/colors/colors.dart';\nimport 'package:sinaruecommerce/controller/cart_controller.dart';\nimport 'package:sinaruecommerce/products/cart_products.dart';\nimport 'package:sinaruecommerce/products/cart_total.dart';\n\nclass PaymentScreen extends StatefulWidget {\n  const PaymentScreen({Key? key}) : super(key: key);\n\n  @override\n  _PaymentScreenState createState() => _PaymentScreenState();\n}\n\nclass _PaymentScreenState extends State<PaymentScreen> {\n  var _razorpay = Razorpay();\n  final CartController controller = Get.find();\n\n  @override\n  void initState() {\n    // TODO: implement initState\n    _razorpay.on(Razorpay.EVENT_PAYMENT_SUCCESS, _handlePaymentSuccess);\n    _razorpay.on(Razorpay.EVENT_PAYMENT_ERROR, _handlePaymentError);\n    _razorpay.on(Razorpay.EVENT_EXTERNAL_WALLET, _handleExternalWallet);\n    super.initState();\n  }\n\n  void _handlePaymentSuccess(PaymentSuccessResponse response) {\n    // Do something when payment succeeds\n    print(\"Payment Done\");\n  }\n\n  void _handlePaymentError(PaymentFailureResponse response) {\n    // Do something when payment fails\n    print(\"Payment Fail\");\n  }\n\n  void _handleExternalWallet(ExternalWalletResponse response) {\n    // Do something when an external wallet is selected\n  }\n\n  @override\n  Widget build(BuildContext context) {\n    var size = MediaQuery.of(context).size;\n    return Scaffold(\n      appBar: const CupertinoNavigationBar(\n        middle: Text(\"Payment\"),\n      ),\n      body: Container(\n        height: size.height,\n        width: size.width,\n        child: Column(\n          mainAxisAlignment: MainAxisAlignment.spaceAround,\n          children: [\n            CartProducts(),\n            CartTotal(),\n            CupertinoButton(\n                color: primaryColor,\n                child: Text(\n                  \"Pay Amount\",\n                ),\n                onPressed: () {\n                  //Payment\n                  var options = {\n                    'key': 'rzp_test_gGzZvykNuGnFR0',\n                    'amount': (double.parse(controller.total) * 100)\n                        .toDouble(), //in the smallest currency sub-unit.\n                    'name': 'Sinar Utama Payment',\n                    'currency': 'IDR',\n                    'description': 'Lamandau - Kalimantan Tengah',\n                    'timeout': 300, // in seconds\n                    'prefill': {\n                      'contact': '081545035513',\n                      'email': '112201805918@mhs.dinus.ac.id'\n                    }\n                  };\n                  _razorpay.open(options);\n                })\n          ],\n        ),\n      ),\n    );\n  }\n\n  @override\n  void dispose() {\n    _razorpay.clear(); // Removes all listeners\n    // TODO: implement dispose\n    super.dispose();\n  }\n}\n"
  },
  {
    "path": "lib/products/cart_products.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:get/get.dart';\nimport 'package:sinaruecommerce/controller/cart_controller.dart';\nimport 'package:sinaruecommerce/products/product_model.dart';\n\nclass CartProducts extends StatelessWidget {\n  final CartController controller = Get.find();\n  CartProducts({Key? key}) : super(key: key);\n  @override\n  Widget build(BuildContext context) {\n    return Obx(\n      () => SizedBox(\n        height: 600,\n        child: ListView.builder(\n            itemCount: controller.products.length,\n            itemBuilder: (BuildContext context, int index) {\n              return CartProductCard(\n                controller: controller,\n                quantity: controller.products.values.toList()[index],\n                product: controller.products.keys.toList()[index],\n                index: index,\n              );\n            }),\n      ),\n    );\n  }\n}\n\nclass CartProductCard extends StatelessWidget {\n  final CartController? controller;\n  final Product? product;\n  final int? quantity;\n  final int? index;\n\n  const CartProductCard({\n    Key? key,\n    required this.controller,\n    required this.product,\n    required this.quantity,\n    required this.index,\n  }) : super(key: key);\n\n  @override\n  Widget build(BuildContext context) {\n    return Padding(\n      padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 10),\n      child: Row(\n        mainAxisAlignment: MainAxisAlignment.spaceBetween,\n        children: [\n          CircleAvatar(\n            radius: 40,\n            backgroundImage: NetworkImage(product!.imageUrl),\n          ),\n          SizedBox(\n            width: 20,\n          ),\n          Expanded(\n            child: Text(product!.name),\n          ),\n          IconButton(\n            onPressed: () {\n              controller!.removeProduct(product!);\n            },\n            icon: Icon(Icons.remove_circle),\n          ),\n          Text('$quantity'),\n          IconButton(\n            onPressed: () {\n              controller!.addProduct(product!);\n            },\n            icon: Icon(Icons.add_circle),\n          ),\n        ],\n      ),\n    );\n  }\n}\n"
  },
  {
    "path": "lib/products/cart_screen.dart",
    "content": "import 'package:cloud_firestore/cloud_firestore.dart';\nimport 'package:flutter/cupertino.dart';\nimport 'package:flutter/material.dart';\nimport 'package:get/get.dart';\nimport 'package:sinaruecommerce/colors/colors.dart';\nimport 'package:sinaruecommerce/payment/payment.dart';\nimport 'package:sinaruecommerce/products/cart_products.dart';\nimport 'package:sinaruecommerce/products/cart_total.dart';\nimport 'package:sinaruecommerce/products/catalog_screen.dart';\n\nclass CartScreen extends StatelessWidget {\n  CartScreen({Key? key}) : super(key: key);\n\n  @override\n  Widget build(BuildContext context) {\n    return Scaffold(\n      appBar: CupertinoNavigationBar(\n        middle: Text(\"My Cart\"),\n        backgroundColor: primaryColor,\n      ),\n      body: Column(\n        mainAxisAlignment: MainAxisAlignment.spaceAround,\n        children: [\n          CartProducts(),\n          CartTotal(),\n          CupertinoButton(\n            color: primaryColor,\n            onPressed: () {\n              Navigator.of(context).push(\n                MaterialPageRoute(\n                  builder: (context) => PaymentScreen(),\n                ),\n              );\n            },\n            child: Text(\"Checkout\"),\n          ),\n        ],\n      ),\n    );\n  }\n}\n"
  },
  {
    "path": "lib/products/cart_total.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:get/get.dart';\nimport 'package:sinaruecommerce/controller/cart_controller.dart';\n\nclass CartTotal extends StatelessWidget {\n  final CartController controller = Get.find();\n  CartTotal({Key? key}) : super(key: key);\n\n  @override\n  Widget build(BuildContext context) {\n    return Obx(\n      () => Container(\n        padding: EdgeInsets.symmetric(horizontal: 75),\n        child: Row(\n          mainAxisAlignment: MainAxisAlignment.spaceBetween,\n          children: [\n            Text(\n              \"Total\",\n              style: TextStyle(\n                fontSize: 24,\n                fontWeight: FontWeight.bold,\n              ),\n            ),\n            Text(\n              \"Rp. ${controller.total}\",\n              style: TextStyle(\n                fontSize: 24,\n                fontWeight: FontWeight.bold,\n              ),\n            )\n          ],\n        ),\n      ),\n    );\n  }\n}\n"
  },
  {
    "path": "lib/products/catalog_products.dart",
    "content": "import 'package:cloud_firestore/cloud_firestore.dart';\nimport 'package:flutter/material.dart';\nimport 'package:get/get.dart';\nimport 'package:sinaruecommerce/controller/cart_controller.dart';\nimport 'package:sinaruecommerce/controller/product_controller.dart';\n\nclass CatalogProducts extends StatelessWidget {\n  final productController = Get.put(ProductController());\n  final Stream<QuerySnapshot> products =\n      FirebaseFirestore.instance.collection('products').snapshots();\n  CatalogProducts({Key? key}) : super(key: key);\n\n  @override\n  Widget build(BuildContext context) {\n    return Obx(\n      () => Flexible(\n        child: ListView.builder(\n          itemCount: productController.products.length,\n          itemBuilder: (BuildContext context, int index) {\n            return CatalogProductCard(index: index);\n          },\n        ),\n      ),\n    );\n  }\n}\n\nclass CatalogProductCard extends StatelessWidget {\n  final cartController = Get.put(CartController());\n  final ProductController productController = Get.find();\n  final int index;\n  CatalogProductCard({\n    Key? key,\n    required this.index,\n  }) : super(key: key);\n  @override\n  Widget build(BuildContext context) {\n    return Padding(\n      padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 10),\n      child: Row(\n        mainAxisAlignment: MainAxisAlignment.spaceBetween,\n        children: [\n          CircleAvatar(\n            radius: 40,\n            backgroundImage:\n                NetworkImage(productController.products[index].imageUrl),\n          ),\n          SizedBox(\n            width: 20,\n          ),\n          Expanded(\n            child: Text(\n              productController.products[index].name,\n              style: TextStyle(fontWeight: FontWeight.bold, fontSize: 18),\n            ),\n          ),\n          Expanded(\n            child: Text('Rp. ${productController.products[index].price}'),\n          ),\n          Expanded(\n            child: Text('Stok : ${productController.products[index].stock}'),\n          ),\n          IconButton(\n            onPressed: () {\n              cartController.addProduct(productController.products[index]);\n            },\n            icon: Icon(Icons.add_circle),\n          )\n        ],\n      ),\n    );\n  }\n}\n"
  },
  {
    "path": "lib/products/catalog_screen.dart",
    "content": "import 'package:flutter/cupertino.dart';\nimport 'package:flutter/material.dart';\nimport 'package:get/get.dart';\nimport 'package:sinaruecommerce/colors/colors.dart';\nimport 'package:sinaruecommerce/products/cart_screen.dart';\nimport 'package:sinaruecommerce/products/catalog_products.dart';\n\nclass CatalogScreen extends StatelessWidget {\n  @override\n  Widget build(BuildContext context) {\n    return Scaffold(\n      appBar: CupertinoNavigationBar(\n        backgroundColor: primaryColor,\n        middle: Text(\"Catalog\"),\n      ),\n      body: SafeArea(\n        child: Column(\n          children: [\n            CatalogProducts(),\n            Padding(\n              padding: const EdgeInsets.symmetric(vertical: 50),\n              child: CupertinoButton(\n                color: primaryColor,\n                onPressed: () {\n                  Navigator.of(context).push(\n                    MaterialPageRoute(\n                      builder: (context) => CartScreen(),\n                    ),\n                  );\n                },\n                child: Text(\"Go To Cart\"),\n              ),\n            )\n          ],\n        ),\n      ),\n    );\n  }\n}\n"
  },
  {
    "path": "lib/products/product_model.dart",
    "content": "import 'package:cloud_firestore/cloud_firestore.dart';\n\nclass Product {\n  final String name;\n  final int price;\n  final String imageUrl;\n  final int stock;\n\n  const Product({\n    required this.name,\n    required this.price,\n    required this.imageUrl,\n    required this.stock,\n  });\n\n  static Product fromSnapshot(DocumentSnapshot snap) {\n    Product product = Product(\n        name: snap['name'],\n        price: snap['price'],\n        imageUrl: snap['imageUrl'],\n        stock: snap['stock']);\n    return product;\n  }\n\n  // static const List<Product> products = [\n  //   Product(\n  //       name: \"Lampu\",\n  //       price: 15000,\n  //       imageUrl:\n  //           \"https://www.jualbuy.com/uploads/product_image/variant_image/2021-01-15/1610689116-images_(1).jpeg\",\n  //       stock: 15),\n  //   Product(\n  //       name: \"MCB\",\n  //       price: 20000,\n  //       imageUrl:\n  //           \"https://n2.sdlcdn.com/imgs/h/5/j/Schneider-MCB-One-Pole-2-SDL295309435-1-b3f0b.jpg\",\n  //       stock: 15),\n  //   Product(\n  //       name: \"Kabel\",\n  //       price: 25000,\n  //       imageUrl:\n  //           \"https://ecs7.tokopedia.net/img/cache/700/product-1/2020/7/3/12574622/12574622_8fe05ff7-cac6-4de3-92e8-e686352bb28d_400_400\",\n  //       stock: 15),\n  // ];\n}\n"
  },
  {
    "path": "lib/products/product_overview.dart",
    "content": "import 'package:flutter/cupertino.dart';\nimport 'package:flutter/material.dart';\nimport 'package:get/get.dart';\nimport 'package:sinaruecommerce/products/cart_screen.dart';\nimport 'package:sinaruecommerce/products/catalog_screen.dart';\nimport '../colors/colors.dart';\n\nclass ProductOverview extends StatefulWidget {\n  final String? productImage;\n  final String? productName;\n  final int? productPrice;\n  final int? productStok;\n  final Function? onTap;\n  ProductOverview(\n      {this.productImage,\n      this.productName,\n      this.productPrice,\n      this.productStok,\n      this.onTap});\n\n  @override\n  _ProductOverviewState createState() => _ProductOverviewState();\n}\n\nclass _ProductOverviewState extends State<ProductOverview> {\n  Widget bottomNavigatorBar({\n    Color? iconColor,\n    Color? backgroundColor,\n    Color? color,\n    String? title,\n    IconData? iconData,\n  }) {\n    return Expanded(\n      child: Container(\n        padding: EdgeInsets.all(20),\n        color: backgroundColor,\n        child: Row(\n          mainAxisAlignment: MainAxisAlignment.center,\n          children: [\n            Icon(\n              iconData,\n              size: 17,\n              color: iconColor,\n            ),\n            SizedBox(\n              width: 5,\n            ),\n            Text(\n              title!,\n              style: TextStyle(color: Colors.black),\n            ),\n          ],\n        ),\n      ),\n    );\n  }\n\n  @override\n  Widget build(BuildContext context) {\n    return Scaffold(\n      bottomNavigationBar: Row(\n        mainAxisAlignment: MainAxisAlignment.center,\n        children: [\n          Padding(\n            padding: const EdgeInsets.symmetric(vertical: 50),\n            child: CupertinoButton(\n              color: primaryColor,\n              onPressed: () {\n                Navigator.of(context).push(\n                  MaterialPageRoute(\n                    builder: (context) => CatalogScreen(),\n                  ),\n                );\n              },\n              child: Text(\"Go To Catalog\"),\n            ),\n          ),\n        ],\n      ),\n      appBar: AppBar(\n        iconTheme: IconThemeData(color: textColor),\n        backgroundColor: primaryColor,\n        title: Text(\n          \"Product Overview\",\n          style: TextStyle(color: textColor),\n        ),\n      ),\n      body: Column(\n        children: [\n          Expanded(\n            child: Container(\n              width: double.infinity,\n              child: Column(\n                children: [\n                  ListTile(\n                    title: Text(widget.productName!),\n                    subtitle: Text(\"Rp. \" + widget.productPrice.toString()),\n                  ),\n                  Container(\n                    height: 250,\n                    padding: EdgeInsets.all(40),\n                    child: Image.asset(widget.productImage!),\n                  ),\n                  Container(\n                    padding: EdgeInsets.symmetric(horizontal: 20),\n                    width: double.infinity,\n                    child: Text(\n                      \"Description :\",\n                      textAlign: TextAlign.start,\n                      style: TextStyle(\n                          color: textColor,\n                          fontWeight: FontWeight.w600,\n                          fontSize: 20),\n                    ),\n                  ),\n                  Container(\n                    padding: EdgeInsets.symmetric(horizontal: 20, vertical: 5),\n                    width: double.infinity,\n                    child: Text(\n                      \"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                      textAlign: TextAlign.start,\n                      style: TextStyle(\n                        color: Colors.grey,\n                      ),\n                    ),\n                  ),\n                  Container(\n                    padding: EdgeInsets.symmetric(horizontal: 20, vertical: 10),\n                    width: double.infinity,\n                    child: Text(\n                      \"Stock \" + widget.productStok.toString(),\n                      textAlign: TextAlign.start,\n                      style: TextStyle(\n                          color: textColor,\n                          fontWeight: FontWeight.w600,\n                          fontSize: 15),\n                    ),\n                  ),\n                ],\n              ),\n            ),\n          )\n        ],\n      ),\n    );\n  }\n}\n"
  },
  {
    "path": "lib/services/firestore_db.dart",
    "content": "import 'package:cloud_firestore/cloud_firestore.dart';\nimport 'package:sinaruecommerce/products/product_model.dart';\n\nclass FirestoreDB {\n  final FirebaseFirestore _firebaseFirestore = FirebaseFirestore.instance;\n\n  Stream<List<Product>> getAllProducts() {\n    return _firebaseFirestore\n        .collection('products')\n        .snapshots()\n        .map((snapshot) {\n      return snapshot.docs.map((doc) => Product.fromSnapshot(doc)).toList();\n    });\n  }\n}\n"
  },
  {
    "path": "lib/utils.dart",
    "content": "import 'package:flutter/material.dart';\n\nclass Utils {\n  static final messengerKey = GlobalKey<ScaffoldMessengerState>();\n\n  static showSnackBar(String? text) {\n    if (text == null) return;\n\n    final snackBar = SnackBar(content: Text(text), backgroundColor: Colors.red);\n\n    messengerKey.currentState!\n      ..removeCurrentSnackBar()\n      ..showSnackBar(snackBar);\n  }\n}\n"
  },
  {
    "path": "lib/widget/login_widget.dart",
    "content": "import 'package:flutter/gestures.dart';\nimport 'package:flutter/material.dart';\nimport 'package:firebase_auth/firebase_auth.dart';\nimport 'package:sinaruecommerce/main.dart';\nimport 'package:sinaruecommerce/utils.dart';\n\nclass LoginWidget extends StatefulWidget {\n  final VoidCallback? onClickedSignUp;\n\n  const LoginWidget({Key? key, this.onClickedSignUp}) : super(key: key);\n\n  @override\n  _LoginWidgetState createState() => _LoginWidgetState();\n}\n\nclass _LoginWidgetState extends State<LoginWidget> {\n  final emailController = TextEditingController();\n  final passwordController = TextEditingController();\n\n  @override\n  void dispose() {\n    emailController.dispose();\n    passwordController.dispose();\n\n    super.dispose();\n  }\n\n  @override\n  Widget build(BuildContext context) => SingleChildScrollView(\n        padding: EdgeInsets.all(50),\n        child: Column(\n          mainAxisAlignment: MainAxisAlignment.center,\n          crossAxisAlignment: CrossAxisAlignment.center,\n          children: [\n            SizedBox(\n              width: 300,\n              height: 300,\n              child: Image.asset(\"assets/images/logo.png\"),\n            ),\n            SizedBox(height: 40),\n            TextFormField(\n              controller: emailController,\n              cursorColor: Colors.white,\n              textInputAction: TextInputAction.next,\n              decoration: InputDecoration(labelText: \"Email\"),\n              autovalidateMode: AutovalidateMode.onUserInteraction,\n              validator: (value) => value != null && value.length < 6\n                  ? \"Enter min. 6 characters\"\n                  : null,\n              obscureText: false,\n            ),\n            SizedBox(height: 40),\n            TextFormField(\n              controller: passwordController,\n              cursorColor: Colors.white,\n              textInputAction: TextInputAction.next,\n              decoration: InputDecoration(labelText: \"Password\"),\n              autovalidateMode: AutovalidateMode.onUserInteraction,\n              validator: (value) => value != null && value.length < 6\n                  ? \"Enter min. 6 characters\"\n                  : null,\n              obscureText: true,\n            ),\n            SizedBox(height: 20),\n            ElevatedButton.icon(\n              onPressed: signIn,\n              icon: Icon(Icons.lock_open),\n              label: Text(\n                \"Sign In\",\n                style: TextStyle(fontSize: 24),\n              ),\n            ),\n            SizedBox(height: 20),\n            RichText(\n                text: TextSpan(\n                    style: TextStyle(color: Colors.black45, fontSize: 15),\n                    text: \"No Account? \",\n                    children: [\n                  TextSpan(\n                      recognizer: TapGestureRecognizer()\n                        ..onTap = widget.onClickedSignUp,\n                      text: \"Sign Up\",\n                      style: TextStyle(\n                          decoration: TextDecoration.underline,\n                          color: Colors.black))\n                ]))\n          ],\n        ),\n      );\n\n  Future signIn() async {\n    showDialog(\n      context: context,\n      builder: (context) => Center(\n        child: CircularProgressIndicator(),\n      ),\n    );\n\n    try {\n      await FirebaseAuth.instance.signInWithEmailAndPassword(\n        email: emailController.text.trim(),\n        password: passwordController.text.trim(),\n      );\n    } on FirebaseAuthException catch (e) {\n      print(e);\n\n      Utils.showSnackBar(e.message);\n    }\n    navigatorKey.currentState!.popUntil((route) => route.isFirst);\n  }\n}\n"
  },
  {
    "path": "lib/widget/signUp_widget.dart",
    "content": "import 'package:flutter/gestures.dart';\nimport 'package:flutter/material.dart';\nimport 'package:firebase_auth/firebase_auth.dart';\nimport 'package:sinaruecommerce/main.dart';\nimport 'package:email_validator/email_validator.dart';\nimport 'package:sinaruecommerce/utils.dart';\n\nclass SignUpWidget extends StatefulWidget {\n  final VoidCallback? onClickedSignIn;\n\n  const SignUpWidget({Key? key, this.onClickedSignIn}) : super(key: key);\n\n  @override\n  _LoginWidgetState createState() => _LoginWidgetState();\n}\n\nclass _LoginWidgetState extends State<SignUpWidget> {\n  final formKey = GlobalKey<FormState>();\n  final emailController = TextEditingController();\n  final passwordController = TextEditingController();\n\n  @override\n  void dispose() {\n    emailController.dispose();\n    passwordController.dispose();\n\n    super.dispose();\n  }\n\n  @override\n  Widget build(BuildContext context) => SingleChildScrollView(\n        padding: EdgeInsets.all(36),\n        child: Form(\n          key: formKey,\n          child: Column(\n            mainAxisAlignment: MainAxisAlignment.center,\n            children: [\n              SizedBox(\n                width: 300,\n                height: 300,\n                child: Image.asset(\"assets/images/logo.png\"),\n              ),\n              SizedBox(height: 40),\n              TextFormField(\n                controller: emailController,\n                cursorColor: Colors.white,\n                textInputAction: TextInputAction.next,\n                decoration: InputDecoration(labelText: \"Email\"),\n                autovalidateMode: AutovalidateMode.onUserInteraction,\n                validator: (email) =>\n                    email != null && !EmailValidator.validate(email)\n                        ? \"Enter a valid email\"\n                        : null,\n                obscureText: false,\n              ),\n              SizedBox(height: 40),\n              TextFormField(\n                controller: passwordController,\n                cursorColor: Colors.white,\n                textInputAction: TextInputAction.next,\n                decoration: InputDecoration(labelText: \"Password\"),\n                autovalidateMode: AutovalidateMode.onUserInteraction,\n                validator: (value) => value != null && value.length < 6\n                    ? \"Enter min. 6 characters\"\n                    : null,\n                obscureText: true,\n              ),\n              SizedBox(height: 20),\n              ElevatedButton.icon(\n                onPressed: signUp,\n                icon: Icon(Icons.lock_open),\n                label: Text(\n                  \"Sign Up\",\n                  style: TextStyle(fontSize: 24),\n                ),\n              ),\n              SizedBox(height: 20),\n              RichText(\n                  text: TextSpan(\n                      style: TextStyle(color: Colors.black45, fontSize: 15),\n                      text: \"Already have an Account? \",\n                      children: [\n                    TextSpan(\n                        recognizer: TapGestureRecognizer()\n                          ..onTap = widget.onClickedSignIn,\n                        text: \"Sign In\",\n                        style: TextStyle(\n                            decoration: TextDecoration.underline,\n                            color: Colors.black))\n                  ]))\n            ],\n          ),\n        ),\n      );\n\n  Future signUp() async {\n    final isValid = formKey.currentState!.validate();\n    if (!isValid) return;\n\n    showDialog(\n      context: context,\n      builder: (context) => Center(\n        child: CircularProgressIndicator(),\n      ),\n    );\n\n    try {\n      await FirebaseAuth.instance.createUserWithEmailAndPassword(\n        email: emailController.text.trim(),\n        password: passwordController.text.trim(),\n      );\n    } on FirebaseAuthException catch (e) {\n      print(e);\n\n      Utils.showSnackBar(e.message);\n    }\n    navigatorKey.currentState!.popUntil((route) => route.isFirst);\n  }\n}\n"
  },
  {
    "path": "pubspec.yaml",
    "content": "name: sinaruecommerce\ndescription: A new Flutter project.\n\n# The following line prevents the package from being accidentally published to\n# pub.dev using `flutter pub publish`. This is preferred for private packages.\npublish_to: 'none' # Remove this line if you wish to publish to pub.dev\n\n# The following defines the version and build number for your application.\n# A version number is three numbers separated by dots, like 1.2.43\n# followed by an optional build number separated by a +.\n# Both the version and the builder number may be overridden in flutter\n# build by specifying --build-name and --build-number, respectively.\n# In Android, build-name is used as versionName while build-number used as versionCode.\n# Read more about Android versioning at https://developer.android.com/studio/publish/versioning\n# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.\n# Read more about iOS versioning at\n# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html\nversion: 1.0.0+1\n\nenvironment:\n  sdk: \">=2.15.0-178.1.beta <3.0.0\"\n\n# Dependencies specify other packages that your package needs in order to work.\n# To automatically upgrade your package dependencies to the latest versions\n# consider running `flutter pub upgrade --major-versions`. Alternatively,\n# dependencies can be manually updated by changing the version numbers below to\n# the latest version available on pub.dev. To see which dependencies have newer\n# versions available, run `flutter pub outdated`.\ndependencies:\n  flutter:\n    sdk: flutter\n\n  cupertino_icons: ^1.0.2\n  firebase_core: ^1.11.0\n  firebase_auth: ^3.3.5\n  email_validator: ^2.0.1\n  get: ^4.6.1\n  cloud_firestore: ^3.1.6\n  razorpay_flutter: ^1.2.9\n  \n\ndev_dependencies:\n  flutter_test:\n    sdk: flutter\n\n  # The \"flutter_lints\" package below contains a set of recommended lints to\n  # encourage good coding practices. The lint set provided by the package is\n  # activated in the `analysis_options.yaml` file located at the root of your\n  # package. See that file for information about deactivating specific lint\n  # rules and activating additional ones.\n  flutter_lints: ^1.0.0\n\n# For information on the generic Dart part of this file, see the\n# following page: https://dart.dev/tools/pub/pubspec\n\n# The following section is specific to Flutter.\nflutter:\n\n  uses-material-design: true\n  assets:\n    - assets/\n    - assets/images/\n  #   - images/a_dot_ham.jpeg\n\n  # An image asset can refer to one or more resolution-specific \"variants\", see\n  # https://flutter.dev/assets-and-images/#resolution-aware.\n\n  # For details regarding adding assets from package dependencies, see\n  # https://flutter.dev/assets-and-images/#from-packages\n\n  # To add custom fonts to your application, add a fonts section here,\n  # in this \"flutter\" section. Each entry in this list should have a\n  # \"family\" key with the font family name, and a \"fonts\" key with a\n  # list giving the asset and other descriptors for the font. For\n  # example:\n  # fonts:\n  #   - family: Schyler\n  #     fonts:\n  #       - asset: fonts/Schyler-Regular.ttf\n  #       - asset: fonts/Schyler-Italic.ttf\n  #         style: italic\n  #   - family: Trajan Pro\n  #     fonts:\n  #       - asset: fonts/TrajanPro.ttf\n  #       - asset: fonts/TrajanPro_Bold.ttf\n  #         weight: 700\n  #\n  # For details regarding fonts from package dependencies,\n  # see https://flutter.dev/custom-fonts/#from-packages\n"
  },
  {
    "path": "test/widget_test.dart",
    "content": "// This is a basic Flutter widget test.\n//\n// To perform an interaction with a widget in your test, use the WidgetTester\n// utility that Flutter provides. For example, you can send tap and scroll\n// gestures. You can also use WidgetTester to find child widgets in the widget\n// tree, read text, and verify that the values of widget properties are correct.\n\nimport 'package:flutter/material.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\nimport 'package:sinaruecommerce/main.dart';\n\nvoid main() {\n  testWidgets('Counter increments smoke test', (WidgetTester tester) async {\n    // Build our app and trigger a frame.\n    await tester.pumpWidget(MyApp());\n\n    // Verify that our counter starts at 0.\n    expect(find.text('0'), findsOneWidget);\n    expect(find.text('1'), findsNothing);\n\n    // Tap the '+' icon and trigger a frame.\n    await tester.tap(find.byIcon(Icons.add));\n    await tester.pump();\n\n    // Verify that our counter has incremented.\n    expect(find.text('0'), findsNothing);\n    expect(find.text('1'), findsOneWidget);\n  });\n}\n"
  },
  {
    "path": "web/index.html",
    "content": "<!DOCTYPE html>\n<html>\n<head>\n  <!--\n    If you are serving your web app in a path other than the root, change the\n    href value below to reflect the base path you are serving from.\n\n    The path provided below has to start and end with a slash \"/\" in order for\n    it to work correctly.\n\n    For more details:\n    * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base\n\n    This is a placeholder for base href that will be replaced by the value of\n    the `--base-href` argument provided to `flutter build`.\n  -->\n  <base href=\"$FLUTTER_BASE_HREF\">\n\n  <meta charset=\"UTF-8\">\n  <meta content=\"IE=Edge\" http-equiv=\"X-UA-Compatible\">\n  <meta name=\"description\" content=\"A new Flutter project.\">\n\n  <!-- iOS meta tags & icons -->\n  <meta name=\"apple-mobile-web-app-capable\" content=\"yes\">\n  <meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black\">\n  <meta name=\"apple-mobile-web-app-title\" content=\"sinaruecommerce\">\n  <link rel=\"apple-touch-icon\" href=\"icons/Icon-192.png\">\n\n  <!-- Favicon -->\n  <link rel=\"icon\" type=\"image/png\" href=\"favicon.png\"/>\n\n  <title>sinaruecommerce</title>\n  <link rel=\"manifest\" href=\"manifest.json\">\n</head>\n<body>\n  <!-- This script installs service_worker.js to provide PWA functionality to\n       application. For more information, see:\n       https://developers.google.com/web/fundamentals/primers/service-workers -->\n  <script>\n    var serviceWorkerVersion = null;\n    var scriptLoaded = false;\n    function loadMainDartJs() {\n      if (scriptLoaded) {\n        return;\n      }\n      scriptLoaded = true;\n      var scriptTag = document.createElement('script');\n      scriptTag.src = 'main.dart.js';\n      scriptTag.type = 'application/javascript';\n      document.body.append(scriptTag);\n    }\n\n    if ('serviceWorker' in navigator) {\n      // Service workers are supported. Use them.\n      window.addEventListener('load', function () {\n        // Wait for registration to finish before dropping the <script> tag.\n        // Otherwise, the browser will load the script multiple times,\n        // potentially different versions.\n        var serviceWorkerUrl = 'flutter_service_worker.js?v=' + serviceWorkerVersion;\n        navigator.serviceWorker.register(serviceWorkerUrl)\n          .then((reg) => {\n            function waitForActivation(serviceWorker) {\n              serviceWorker.addEventListener('statechange', () => {\n                if (serviceWorker.state == 'activated') {\n                  console.log('Installed new service worker.');\n                  loadMainDartJs();\n                }\n              });\n            }\n            if (!reg.active && (reg.installing || reg.waiting)) {\n              // No active web worker and we have installed or are installing\n              // one for the first time. Simply wait for it to activate.\n              waitForActivation(reg.installing || reg.waiting);\n            } else if (!reg.active.scriptURL.endsWith(serviceWorkerVersion)) {\n              // When the app updates the serviceWorkerVersion changes, so we\n              // need to ask the service worker to update.\n              console.log('New service worker available.');\n              reg.update();\n              waitForActivation(reg.installing);\n            } else {\n              // Existing service worker is still good.\n              console.log('Loading app from service worker.');\n              loadMainDartJs();\n            }\n          });\n\n        // If service worker doesn't succeed in a reasonable amount of time,\n        // fallback to plaint <script> tag.\n        setTimeout(() => {\n          if (!scriptLoaded) {\n            console.warn(\n              'Failed to load app from service worker. Falling back to plain <script> tag.',\n            );\n            loadMainDartJs();\n          }\n        }, 4000);\n      });\n    } else {\n      // Service workers not supported. Just drop the <script> tag.\n      loadMainDartJs();\n    }\n  </script>\n</body>\n</html>\n"
  },
  {
    "path": "web/manifest.json",
    "content": "{\n    \"name\": \"sinaruecommerce\",\n    \"short_name\": \"sinaruecommerce\",\n    \"start_url\": \".\",\n    \"display\": \"standalone\",\n    \"background_color\": \"#0175C2\",\n    \"theme_color\": \"#0175C2\",\n    \"description\": \"A new Flutter project.\",\n    \"orientation\": \"portrait-primary\",\n    \"prefer_related_applications\": false,\n    \"icons\": [\n        {\n            \"src\": \"icons/Icon-192.png\",\n            \"sizes\": \"192x192\",\n            \"type\": \"image/png\"\n        },\n        {\n            \"src\": \"icons/Icon-512.png\",\n            \"sizes\": \"512x512\",\n            \"type\": \"image/png\"\n        },\n        {\n            \"src\": \"icons/Icon-maskable-192.png\",\n            \"sizes\": \"192x192\",\n            \"type\": \"image/png\",\n            \"purpose\": \"maskable\"\n        },\n        {\n            \"src\": \"icons/Icon-maskable-512.png\",\n            \"sizes\": \"512x512\",\n            \"type\": \"image/png\",\n            \"purpose\": \"maskable\"\n        }\n    ]\n}\n"
  }
]