diff --git a/LabelStoreMax/.gitignore b/LabelStoreMax/.gitignore
new file mode 100644
index 0000000..2ddde2a
--- /dev/null
+++ b/LabelStoreMax/.gitignore
@@ -0,0 +1,73 @@
+# Miscellaneous
+*.class
+*.log
+*.pyc
+*.swp
+.DS_Store
+.atom/
+.buildlog/
+.history
+.svn/
+
+# IntelliJ related
+*.iml
+*.ipr
+*.iws
+.idea/
+
+# The .vscode folder contains launch configuration and tasks you configure in
+# VS Code which you may wish to be included in version control, so this line
+# is commented out by default.
+#.vscode/
+
+# Flutter/Dart/Pub related
+**/doc/api/
+.dart_tool/
+.flutter-plugins
+.packages
+.pub-cache/
+.pub/
+/build/
+
+# Android related
+**/android/**/gradle-wrapper.jar
+**/android/.gradle
+**/android/captures/
+**/android/gradlew
+**/android/gradlew.bat
+**/android/local.properties
+**/android/**/GeneratedPluginRegistrant.java
+
+# iOS/XCode related
+**/ios/**/*.mode1v3
+**/ios/**/*.mode2v3
+**/ios/**/*.moved-aside
+**/ios/**/*.pbxuser
+**/ios/**/*.perspectivev3
+**/ios/**/*sync/
+**/ios/**/.sconsign.dblite
+**/ios/**/.tags*
+**/ios/**/.vagrant/
+**/ios/**/DerivedData/
+**/ios/**/Icon?
+**/ios/**/Pods/
+**/ios/**/.symlinks/
+**/ios/**/profile
+**/ios/**/xcuserdata
+**/ios/.generated/
+**/ios/Flutter/App.framework
+**/ios/Flutter/Flutter.framework
+**/ios/Flutter/Generated.xcconfig
+**/ios/Flutter/app.flx
+**/ios/Flutter/app.zip
+**/ios/Flutter/flutter_assets/
+**/ios/Flutter/flutter_export_environment.sh
+**/ios/ServiceDefinitions.json
+**/ios/Runner/GeneratedPluginRegistrant.*
+
+# Exceptions to above rules.
+!**/ios/**/default.mode1v3
+!**/ios/**/default.mode2v3
+!**/ios/**/default.pbxuser
+!**/ios/**/default.perspectivev3
+!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
diff --git a/LabelStoreMax/.metadata b/LabelStoreMax/.metadata
new file mode 100644
index 0000000..aeb01ee
--- /dev/null
+++ b/LabelStoreMax/.metadata
@@ -0,0 +1,10 @@
+# This file tracks properties of this Flutter project.
+# Used by Flutter tool to assess capabilities and perform upgrades etc.
+#
+# This file should be version controlled and should not be manually edited.
+
+version:
+ revision: 2d2a1ffec95cc70a3218872a2cd3f8de4933c42f
+ channel: stable
+
+project_type: app
diff --git a/LabelStoreMax/CHANGELOG.md b/LabelStoreMax/CHANGELOG.md
new file mode 100644
index 0000000..da55fa6
--- /dev/null
+++ b/LabelStoreMax/CHANGELOG.md
@@ -0,0 +1,3 @@
+## [1.0.0] - 2019-11-01
+
+* Initial Release
\ No newline at end of file
diff --git a/LabelStoreMax/README.md b/LabelStoreMax/README.md
new file mode 100644
index 0000000..2070cd9
--- /dev/null
+++ b/LabelStoreMax/README.md
@@ -0,0 +1,30 @@
+# label_storemax
+
+LabelStoreMAX
+Created by Anthony Gordon.
+
+[Official WooSignal App Template](https://woosignal.com)
+
+## Getting Started
+
+1. Connect your WooCommerce store
+Click connect above to link your WooCommerce store to our site, all you'll need to do is add your url to provide WooSignal access.
+
+2. Generate an AppKey for the app
+Next go to [manage apps page](https://woosignal.com/dashboard/apps) and click "Generate new key" for your app and copy it to somewhere safe, it's important that you don't share is with anyone.
+
+3. Add the AppKey to the project
+Look for the labelconfig.dart file and change the AppKey to the one your generated.
+
+4. Build and run the app
+If you have done all of the above you should have a basic setup to get started, you'll see products from your WooCommerce store appearing in the app.
+
+5. Uploading to the App Store/Google Play Store?
+Uploading your app release to IOS [IOS guide](https://flutter.dev/docs/deployment/ios)
+
+Uploading your app release to Android [Android guide](https://flutter.dev/docs/deployment/android)
+
+## Need help uploading the app?
+Check out our YouTube series to help you with uploading the app and other tips
+
+[Support](https://woosignal.com/support)
\ No newline at end of file
diff --git a/LabelStoreMax/android/app/build.gradle b/LabelStoreMax/android/app/build.gradle
new file mode 100644
index 0000000..afc015b
--- /dev/null
+++ b/LabelStoreMax/android/app/build.gradle
@@ -0,0 +1,68 @@
+def localProperties = new Properties()
+def localPropertiesFile = rootProject.file('local.properties')
+if (localPropertiesFile.exists()) {
+ localPropertiesFile.withReader('UTF-8') { reader ->
+ localProperties.load(reader)
+ }
+}
+
+def flutterRoot = localProperties.getProperty('flutter.sdk')
+if (flutterRoot == null) {
+ throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
+}
+
+def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
+if (flutterVersionCode == null) {
+ flutterVersionCode = '1'
+}
+
+def flutterVersionName = localProperties.getProperty('flutter.versionName')
+if (flutterVersionName == null) {
+ flutterVersionName = '1.0'
+}
+
+apply plugin: 'com.android.application'
+apply plugin: 'kotlin-android'
+apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
+
+android {
+ compileSdkVersion 28
+
+ sourceSets {
+ main.java.srcDirs += 'src/main/kotlin'
+ }
+
+ lintOptions {
+ disable 'InvalidPackage'
+ }
+
+ defaultConfig {
+ // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
+ applicationId "com.woosignal.label_storemax"
+ minSdkVersion 28
+ targetSdkVersion 28
+ versionCode flutterVersionCode.toInteger()
+ versionName flutterVersionName
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ multiDexEnabled = true
+ }
+
+ buildTypes {
+ release {
+ // TODO: Add your own signing config for the release build.
+ // Signing with the debug keys for now, so `flutter run --release` works.
+ signingConfig signingConfigs.debug
+ }
+ }
+}
+
+flutter {
+ source '../..'
+}
+
+dependencies {
+ implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
+ testImplementation 'junit:junit:4.12'
+ androidTestImplementation 'androidx.test:runner:1.1.1'
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
+}
diff --git a/LabelStoreMax/android/app/src/debug/AndroidManifest.xml b/LabelStoreMax/android/app/src/debug/AndroidManifest.xml
new file mode 100644
index 0000000..53c1bbc
--- /dev/null
+++ b/LabelStoreMax/android/app/src/debug/AndroidManifest.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
diff --git a/LabelStoreMax/android/app/src/main/AndroidManifest.xml b/LabelStoreMax/android/app/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..7fc2bc3
--- /dev/null
+++ b/LabelStoreMax/android/app/src/main/AndroidManifest.xml
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/LabelStoreMax/android/app/src/main/kotlin/com/woosignal/label_storemax/MainActivity.kt b/LabelStoreMax/android/app/src/main/kotlin/com/woosignal/label_storemax/MainActivity.kt
new file mode 100644
index 0000000..72d2edb
--- /dev/null
+++ b/LabelStoreMax/android/app/src/main/kotlin/com/woosignal/label_storemax/MainActivity.kt
@@ -0,0 +1,13 @@
+package com.woosignal.label_storemax
+
+import android.os.Bundle
+
+import io.flutter.app.FlutterActivity
+import io.flutter.plugins.GeneratedPluginRegistrant
+
+class MainActivity: FlutterActivity() {
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ GeneratedPluginRegistrant.registerWith(this)
+ }
+}
diff --git a/LabelStoreMax/android/app/src/main/res/drawable/launch_background.xml b/LabelStoreMax/android/app/src/main/res/drawable/launch_background.xml
new file mode 100644
index 0000000..304732f
--- /dev/null
+++ b/LabelStoreMax/android/app/src/main/res/drawable/launch_background.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
diff --git a/LabelStoreMax/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/LabelStoreMax/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 0000000..db77bb4
Binary files /dev/null and b/LabelStoreMax/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/LabelStoreMax/android/app/src/main/res/mipmap-hdpi/launcher_icon.png b/LabelStoreMax/android/app/src/main/res/mipmap-hdpi/launcher_icon.png
new file mode 100644
index 0000000..0decf36
Binary files /dev/null and b/LabelStoreMax/android/app/src/main/res/mipmap-hdpi/launcher_icon.png differ
diff --git a/LabelStoreMax/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/LabelStoreMax/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 0000000..17987b7
Binary files /dev/null and b/LabelStoreMax/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/LabelStoreMax/android/app/src/main/res/mipmap-mdpi/launcher_icon.png b/LabelStoreMax/android/app/src/main/res/mipmap-mdpi/launcher_icon.png
new file mode 100644
index 0000000..67bdf48
Binary files /dev/null and b/LabelStoreMax/android/app/src/main/res/mipmap-mdpi/launcher_icon.png differ
diff --git a/LabelStoreMax/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/LabelStoreMax/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 0000000..09d4391
Binary files /dev/null and b/LabelStoreMax/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/LabelStoreMax/android/app/src/main/res/mipmap-xhdpi/launcher_icon.png b/LabelStoreMax/android/app/src/main/res/mipmap-xhdpi/launcher_icon.png
new file mode 100644
index 0000000..3d538fd
Binary files /dev/null and b/LabelStoreMax/android/app/src/main/res/mipmap-xhdpi/launcher_icon.png differ
diff --git a/LabelStoreMax/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/LabelStoreMax/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 0000000..d5f1c8d
Binary files /dev/null and b/LabelStoreMax/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/LabelStoreMax/android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png b/LabelStoreMax/android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png
new file mode 100644
index 0000000..c766323
Binary files /dev/null and b/LabelStoreMax/android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png differ
diff --git a/LabelStoreMax/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/LabelStoreMax/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 0000000..4d6372e
Binary files /dev/null and b/LabelStoreMax/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/LabelStoreMax/android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png b/LabelStoreMax/android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png
new file mode 100644
index 0000000..2b2b297
Binary files /dev/null and b/LabelStoreMax/android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png differ
diff --git a/LabelStoreMax/android/app/src/main/res/values/styles.xml b/LabelStoreMax/android/app/src/main/res/values/styles.xml
new file mode 100644
index 0000000..00fa441
--- /dev/null
+++ b/LabelStoreMax/android/app/src/main/res/values/styles.xml
@@ -0,0 +1,8 @@
+
+
+
+
diff --git a/LabelStoreMax/android/app/src/profile/AndroidManifest.xml b/LabelStoreMax/android/app/src/profile/AndroidManifest.xml
new file mode 100644
index 0000000..53c1bbc
--- /dev/null
+++ b/LabelStoreMax/android/app/src/profile/AndroidManifest.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
diff --git a/LabelStoreMax/android/build.gradle b/LabelStoreMax/android/build.gradle
new file mode 100644
index 0000000..3151321
--- /dev/null
+++ b/LabelStoreMax/android/build.gradle
@@ -0,0 +1,34 @@
+buildscript {
+ ext.kotlin_version = '1.3.10'
+ repositories {
+ google()
+ jcenter()
+ }
+
+ dependencies {
+ classpath 'com.android.tools.build:gradle:3.5.1'
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
+ }
+}
+
+allprojects {
+ repositories {
+ google()
+ jcenter()
+ maven {
+ url "https://maven.google.com"
+ }
+ }
+}
+
+rootProject.buildDir = '../build'
+subprojects {
+ project.buildDir = "${rootProject.buildDir}/${project.name}"
+}
+subprojects {
+ project.evaluationDependsOn(':app')
+}
+
+task clean(type: Delete) {
+ delete rootProject.buildDir
+}
diff --git a/LabelStoreMax/android/gradle.properties b/LabelStoreMax/android/gradle.properties
new file mode 100644
index 0000000..755300e
--- /dev/null
+++ b/LabelStoreMax/android/gradle.properties
@@ -0,0 +1,4 @@
+org.gradle.jvmargs=-Xmx1536M
+
+android.useAndroidX=true
+android.enableJetifier=true
diff --git a/LabelStoreMax/android/gradle/wrapper/gradle-wrapper.properties b/LabelStoreMax/android/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..17932ee
--- /dev/null
+++ b/LabelStoreMax/android/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Mon Oct 28 17:45:00 GMT 2019
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
diff --git a/LabelStoreMax/android/settings.gradle b/LabelStoreMax/android/settings.gradle
new file mode 100644
index 0000000..5a2f14f
--- /dev/null
+++ b/LabelStoreMax/android/settings.gradle
@@ -0,0 +1,15 @@
+include ':app'
+
+def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
+
+def plugins = new Properties()
+def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
+if (pluginsFile.exists()) {
+ pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) }
+}
+
+plugins.each { name, path ->
+ def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
+ include ":$name"
+ project(":$name").projectDir = pluginDirectory
+}
diff --git a/LabelStoreMax/assets/fonts/Overpass/OFL.txt b/LabelStoreMax/assets/fonts/Overpass/OFL.txt
new file mode 100755
index 0000000..fdaf13c
--- /dev/null
+++ b/LabelStoreMax/assets/fonts/Overpass/OFL.txt
@@ -0,0 +1,93 @@
+Copyright (c) 2016 by Red Hat, Inc. All rights reserved.
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/LabelStoreMax/assets/fonts/Overpass/Overpass-Black.ttf b/LabelStoreMax/assets/fonts/Overpass/Overpass-Black.ttf
new file mode 100755
index 0000000..aa9e740
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Overpass/Overpass-Black.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Overpass/Overpass-BlackItalic.ttf b/LabelStoreMax/assets/fonts/Overpass/Overpass-BlackItalic.ttf
new file mode 100755
index 0000000..c0a82ca
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Overpass/Overpass-BlackItalic.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Overpass/Overpass-Bold.ttf b/LabelStoreMax/assets/fonts/Overpass/Overpass-Bold.ttf
new file mode 100755
index 0000000..c5ed6f8
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Overpass/Overpass-Bold.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Overpass/Overpass-BoldItalic.ttf b/LabelStoreMax/assets/fonts/Overpass/Overpass-BoldItalic.ttf
new file mode 100755
index 0000000..c648ae9
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Overpass/Overpass-BoldItalic.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Overpass/Overpass-ExtraBold.ttf b/LabelStoreMax/assets/fonts/Overpass/Overpass-ExtraBold.ttf
new file mode 100755
index 0000000..40daed2
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Overpass/Overpass-ExtraBold.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Overpass/Overpass-ExtraBoldItalic.ttf b/LabelStoreMax/assets/fonts/Overpass/Overpass-ExtraBoldItalic.ttf
new file mode 100755
index 0000000..0ba125b
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Overpass/Overpass-ExtraBoldItalic.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Overpass/Overpass-ExtraLight.ttf b/LabelStoreMax/assets/fonts/Overpass/Overpass-ExtraLight.ttf
new file mode 100755
index 0000000..c57a7f2
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Overpass/Overpass-ExtraLight.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Overpass/Overpass-ExtraLightItalic.ttf b/LabelStoreMax/assets/fonts/Overpass/Overpass-ExtraLightItalic.ttf
new file mode 100755
index 0000000..504cc76
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Overpass/Overpass-ExtraLightItalic.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Overpass/Overpass-Light.ttf b/LabelStoreMax/assets/fonts/Overpass/Overpass-Light.ttf
new file mode 100755
index 0000000..be884dd
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Overpass/Overpass-Light.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Overpass/Overpass-LightItalic.ttf b/LabelStoreMax/assets/fonts/Overpass/Overpass-LightItalic.ttf
new file mode 100755
index 0000000..2b1352d
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Overpass/Overpass-LightItalic.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Overpass/Overpass-Regular.ttf b/LabelStoreMax/assets/fonts/Overpass/Overpass-Regular.ttf
new file mode 100755
index 0000000..0deeda5
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Overpass/Overpass-Regular.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Overpass/Overpass-RegularItalic.ttf b/LabelStoreMax/assets/fonts/Overpass/Overpass-RegularItalic.ttf
new file mode 100755
index 0000000..78032b1
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Overpass/Overpass-RegularItalic.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Overpass/Overpass-SemiBold.ttf b/LabelStoreMax/assets/fonts/Overpass/Overpass-SemiBold.ttf
new file mode 100755
index 0000000..f690d8e
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Overpass/Overpass-SemiBold.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Overpass/Overpass-SemiBoldItalic.ttf b/LabelStoreMax/assets/fonts/Overpass/Overpass-SemiBoldItalic.ttf
new file mode 100755
index 0000000..4a1c4a4
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Overpass/Overpass-SemiBoldItalic.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Overpass/Overpass-Thin.ttf b/LabelStoreMax/assets/fonts/Overpass/Overpass-Thin.ttf
new file mode 100755
index 0000000..f01017a
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Overpass/Overpass-Thin.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Overpass/Overpass-ThinItalic.ttf b/LabelStoreMax/assets/fonts/Overpass/Overpass-ThinItalic.ttf
new file mode 100755
index 0000000..2a5d951
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Overpass/Overpass-ThinItalic.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Source_Sans_Pro/OFL.txt b/LabelStoreMax/assets/fonts/Source_Sans_Pro/OFL.txt
new file mode 100755
index 0000000..72d81ab
--- /dev/null
+++ b/LabelStoreMax/assets/fonts/Source_Sans_Pro/OFL.txt
@@ -0,0 +1,93 @@
+Copyright 2010, 2012, 2014 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name ‘Source’.
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-Black.ttf b/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-Black.ttf
new file mode 100755
index 0000000..4569f24
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-Black.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-BlackItalic.ttf b/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-BlackItalic.ttf
new file mode 100755
index 0000000..3477e16
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-BlackItalic.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-Bold.ttf b/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-Bold.ttf
new file mode 100755
index 0000000..1f430e2
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-Bold.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-BoldItalic.ttf b/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-BoldItalic.ttf
new file mode 100755
index 0000000..98089fd
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-BoldItalic.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-ExtraLight.ttf b/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-ExtraLight.ttf
new file mode 100755
index 0000000..caf2673
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-ExtraLight.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-ExtraLightItalic.ttf b/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-ExtraLightItalic.ttf
new file mode 100755
index 0000000..b0362f3
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-ExtraLightItalic.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-Light.ttf b/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-Light.ttf
new file mode 100755
index 0000000..348871a
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-Light.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-LightItalic.ttf b/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-LightItalic.ttf
new file mode 100755
index 0000000..989dc8e
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-LightItalic.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-Regular.ttf b/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-Regular.ttf
new file mode 100755
index 0000000..b422bf4
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-Regular.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-RegularItalic.ttf b/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-RegularItalic.ttf
new file mode 100755
index 0000000..e7b9182
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-RegularItalic.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-SemiBold.ttf b/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-SemiBold.ttf
new file mode 100755
index 0000000..2908e0d
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-SemiBold.ttf differ
diff --git a/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-SemiBoldItalic.ttf b/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-SemiBoldItalic.ttf
new file mode 100755
index 0000000..990cf91
Binary files /dev/null and b/LabelStoreMax/assets/fonts/Source_Sans_Pro/SourceSansPro-SemiBoldItalic.ttf differ
diff --git a/LabelStoreMax/assets/icon/appicon.png b/LabelStoreMax/assets/icon/appicon.png
new file mode 100644
index 0000000..a5c257c
Binary files /dev/null and b/LabelStoreMax/assets/icon/appicon.png differ
diff --git a/LabelStoreMax/assets/images/camion.gif b/LabelStoreMax/assets/images/camion.gif
new file mode 100644
index 0000000..a71eb64
Binary files /dev/null and b/LabelStoreMax/assets/images/camion.gif differ
diff --git a/LabelStoreMax/assets/images/cart_empty.png b/LabelStoreMax/assets/images/cart_empty.png
new file mode 100644
index 0000000..7e9595d
Binary files /dev/null and b/LabelStoreMax/assets/images/cart_empty.png differ
diff --git a/LabelStoreMax/assets/images/credit_cards.png b/LabelStoreMax/assets/images/credit_cards.png
new file mode 100644
index 0000000..1904d25
Binary files /dev/null and b/LabelStoreMax/assets/images/credit_cards.png differ
diff --git a/LabelStoreMax/assets/images/dark_powered_by_stripe.png b/LabelStoreMax/assets/images/dark_powered_by_stripe.png
new file mode 100644
index 0000000..396dfd9
Binary files /dev/null and b/LabelStoreMax/assets/images/dark_powered_by_stripe.png differ
diff --git a/LabelStoreMax/assets/images/shipping_icon.png b/LabelStoreMax/assets/images/shipping_icon.png
new file mode 100644
index 0000000..17f1318
Binary files /dev/null and b/LabelStoreMax/assets/images/shipping_icon.png differ
diff --git a/LabelStoreMax/ios/Flutter/AppFrameworkInfo.plist b/LabelStoreMax/ios/Flutter/AppFrameworkInfo.plist
new file mode 100644
index 0000000..6b4c0f7
--- /dev/null
+++ b/LabelStoreMax/ios/Flutter/AppFrameworkInfo.plist
@@ -0,0 +1,26 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleExecutable
+ App
+ CFBundleIdentifier
+ io.flutter.flutter.app
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ App
+ CFBundlePackageType
+ FMWK
+ CFBundleShortVersionString
+ 1.0
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ 1.0
+ MinimumOSVersion
+ 8.0
+
+
diff --git a/LabelStoreMax/ios/Flutter/Debug.xcconfig b/LabelStoreMax/ios/Flutter/Debug.xcconfig
new file mode 100644
index 0000000..e8efba1
--- /dev/null
+++ b/LabelStoreMax/ios/Flutter/Debug.xcconfig
@@ -0,0 +1,2 @@
+#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
+#include "Generated.xcconfig"
diff --git a/LabelStoreMax/ios/Flutter/Release.xcconfig b/LabelStoreMax/ios/Flutter/Release.xcconfig
new file mode 100644
index 0000000..399e934
--- /dev/null
+++ b/LabelStoreMax/ios/Flutter/Release.xcconfig
@@ -0,0 +1,2 @@
+#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
+#include "Generated.xcconfig"
diff --git a/LabelStoreMax/ios/Podfile b/LabelStoreMax/ios/Podfile
new file mode 100644
index 0000000..8317100
--- /dev/null
+++ b/LabelStoreMax/ios/Podfile
@@ -0,0 +1,77 @@
+# Using a CDN with CocoaPods 1.7.2 or later can save a lot of time on pod installation, but it's experimental rather than the default.
+# source 'https://cdn.cocoapods.org/'
+
+# Uncomment this line to define a global platform for your project
+platform :ios, '11.0'
+
+# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
+ENV['COCOAPODS_DISABLE_STATS'] = 'true'
+
+project 'Runner', {
+ 'Debug' => :debug,
+ 'Profile' => :release,
+ 'Release' => :release,
+}
+
+def parse_KV_file(file, separator='=')
+ file_abs_path = File.expand_path(file)
+ if !File.exists? file_abs_path
+ return [];
+ end
+ pods_ary = []
+ skip_line_start_symbols = ["#", "/"]
+ File.foreach(file_abs_path) { |line|
+ next if skip_line_start_symbols.any? { |symbol| line =~ /^\s*#{symbol}/ }
+ plugin = line.split(pattern=separator)
+ if plugin.length == 2
+ podname = plugin[0].strip()
+ path = plugin[1].strip()
+ podpath = File.expand_path("#{path}", file_abs_path)
+ pods_ary.push({:name => podname, :path => podpath});
+ else
+ puts "Invalid plugin specification: #{line}"
+ end
+ }
+ return pods_ary
+end
+
+target 'Runner' do
+ use_frameworks!
+
+ # Prepare symlinks folder. We use symlinks to avoid having Podfile.lock
+ # referring to absolute paths on developers' machines.
+ system('rm -rf .symlinks')
+ system('mkdir -p .symlinks/plugins')
+
+ # Flutter Pods
+ generated_xcode_build_settings = parse_KV_file('./Flutter/Generated.xcconfig')
+ if generated_xcode_build_settings.empty?
+ puts "Generated.xcconfig must exist. If you're running pod install manually, make sure flutter pub get is executed first."
+ end
+ generated_xcode_build_settings.map { |p|
+ if p[:name] == 'FLUTTER_FRAMEWORK_DIR'
+ symlink = File.join('.symlinks', 'flutter')
+ File.symlink(File.dirname(p[:path]), symlink)
+ pod 'Flutter', :path => File.join(symlink, File.basename(p[:path]))
+ end
+ }
+
+ # Plugin Pods
+ plugin_pods = parse_KV_file('../.flutter-plugins')
+ plugin_pods.map { |p|
+ symlink = File.join('.symlinks', 'plugins', p[:name])
+ File.symlink(p[:path], symlink)
+ pod p[:name], :path => File.join(symlink, 'ios')
+ }
+end
+
+# Prevent Cocoapods from embedding a second Flutter framework and causing an error with the new Xcode build system.
+install! 'cocoapods', :disable_input_output_paths => true
+
+post_install do |installer|
+ installer.pods_project.targets.each do |target|
+ target.build_configurations.each do |config|
+ config.build_settings['ENABLE_BITCODE'] = 'NO'
+ end
+ end
+end
diff --git a/LabelStoreMax/ios/Podfile.lock b/LabelStoreMax/ios/Podfile.lock
new file mode 100644
index 0000000..d5dab93
--- /dev/null
+++ b/LabelStoreMax/ios/Podfile.lock
@@ -0,0 +1,93 @@
+PODS:
+ - connectivity (0.0.1):
+ - Flutter
+ - Reachability
+ - device_info (0.0.1):
+ - Flutter
+ - Flutter (1.0.0)
+ - flutter_money_formatter (0.0.1):
+ - Flutter
+ - flutter_web_browser (0.11.0):
+ - Flutter
+ - fluttertoast (0.0.2):
+ - Flutter
+ - FMDB (2.7.5):
+ - FMDB/standard (= 2.7.5)
+ - FMDB/standard (2.7.5)
+ - package_info (0.0.1):
+ - Flutter
+ - path_provider (0.0.1):
+ - Flutter
+ - Reachability (3.2)
+ - shared_preferences (0.0.1):
+ - Flutter
+ - sqflite (0.0.1):
+ - Flutter
+ - FMDB (~> 2.7.2)
+ - Stripe (17.0.1)
+ - woosignal_stripe (0.0.1):
+ - Flutter
+ - Stripe (= 17.0.1)
+
+DEPENDENCIES:
+ - connectivity (from `.symlinks/plugins/connectivity/ios`)
+ - device_info (from `.symlinks/plugins/device_info/ios`)
+ - Flutter (from `.symlinks/flutter/ios`)
+ - flutter_money_formatter (from `.symlinks/plugins/flutter_money_formatter/ios`)
+ - flutter_web_browser (from `.symlinks/plugins/flutter_web_browser/ios`)
+ - fluttertoast (from `.symlinks/plugins/fluttertoast/ios`)
+ - package_info (from `.symlinks/plugins/package_info/ios`)
+ - path_provider (from `.symlinks/plugins/path_provider/ios`)
+ - shared_preferences (from `.symlinks/plugins/shared_preferences/ios`)
+ - sqflite (from `.symlinks/plugins/sqflite/ios`)
+ - woosignal_stripe (from `.symlinks/plugins/woosignal_stripe/ios`)
+
+SPEC REPOS:
+ https://github.com/cocoapods/specs.git:
+ - FMDB
+ - Reachability
+ - Stripe
+
+EXTERNAL SOURCES:
+ connectivity:
+ :path: ".symlinks/plugins/connectivity/ios"
+ device_info:
+ :path: ".symlinks/plugins/device_info/ios"
+ Flutter:
+ :path: ".symlinks/flutter/ios"
+ flutter_money_formatter:
+ :path: ".symlinks/plugins/flutter_money_formatter/ios"
+ flutter_web_browser:
+ :path: ".symlinks/plugins/flutter_web_browser/ios"
+ fluttertoast:
+ :path: ".symlinks/plugins/fluttertoast/ios"
+ package_info:
+ :path: ".symlinks/plugins/package_info/ios"
+ path_provider:
+ :path: ".symlinks/plugins/path_provider/ios"
+ shared_preferences:
+ :path: ".symlinks/plugins/shared_preferences/ios"
+ sqflite:
+ :path: ".symlinks/plugins/sqflite/ios"
+ woosignal_stripe:
+ :path: ".symlinks/plugins/woosignal_stripe/ios"
+
+SPEC CHECKSUMS:
+ connectivity: c72716e202a1225ec4810740d5cb56b8ae3bf4cc
+ device_info: cbf09d2ec12aa7110e0b09fabe54b5bd6c8efe74
+ Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
+ flutter_money_formatter: d0d18ddc5be333fad8d09964d741b59fa11a91dc
+ flutter_web_browser: bdea232160dec44dec86540bee05168cc844ef7c
+ fluttertoast: b644586ef3b16f67fae9a1f8754cef6b2d6b634b
+ FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
+ package_info: 78cabb3c322943c55d39676f4a5bfc748c01d055
+ path_provider: f96fff6166a8867510d2c25fdcc346327cc4b259
+ Reachability: 33e18b67625424e47b6cde6d202dce689ad7af96
+ shared_preferences: 430726339841afefe5142b9c1f50cb6bd7793e01
+ sqflite: ff1d9da63c06588cc8d1faf7256d741f16989d5a
+ Stripe: b8e845e12fd6dbc9cb010422b3b6b212e803d308
+ woosignal_stripe: 90b61ac1aff30eb7ac10e00c2a96224a9d252175
+
+PODFILE CHECKSUM: fb3ad6b1acd0fbd619b8375ed808d3ee1f62f340
+
+COCOAPODS: 1.6.0
diff --git a/LabelStoreMax/ios/Runner.xcodeproj/project.pbxproj b/LabelStoreMax/ios/Runner.xcodeproj/project.pbxproj
new file mode 100644
index 0000000..54f6cf1
--- /dev/null
+++ b/LabelStoreMax/ios/Runner.xcodeproj/project.pbxproj
@@ -0,0 +1,592 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
+ 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
+ 3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; };
+ 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
+ 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
+ 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; };
+ 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
+ 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; };
+ 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
+ 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
+ 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
+ D86A9FCC0FDE40E749D2F6CC /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 41358261A3745FB464B72CE9 /* Pods_Runner.framework */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 10;
+ files = (
+ 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */,
+ 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */,
+ );
+ name = "Embed Frameworks";
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
+ 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
+ 1BA921103C32B79944361E71 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; };
+ 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
+ 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; };
+ 41358261A3745FB464B72CE9 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+ 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
+ 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
+ 87F77F819B61E54C61672D11 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; };
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
+ 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
+ 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; };
+ 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
+ 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
+ 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
+ 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
+ E107F71D46A779B424A08899 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 97C146EB1CF9000F007C117D /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */,
+ 3B80C3941E831B6300D905FE /* App.framework in Frameworks */,
+ D86A9FCC0FDE40E749D2F6CC /* Pods_Runner.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 3E3E1C811B47477CF4A9A315 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 41358261A3745FB464B72CE9 /* Pods_Runner.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "";
+ };
+ 9740EEB11CF90186004384FC /* Flutter */ = {
+ isa = PBXGroup;
+ children = (
+ 3B80C3931E831B6300D905FE /* App.framework */,
+ 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
+ 9740EEBA1CF902C7004384FC /* Flutter.framework */,
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */,
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
+ 9740EEB31CF90195004384FC /* Generated.xcconfig */,
+ );
+ name = Flutter;
+ sourceTree = "";
+ };
+ 97C146E51CF9000F007C117D = {
+ isa = PBXGroup;
+ children = (
+ 9740EEB11CF90186004384FC /* Flutter */,
+ 97C146F01CF9000F007C117D /* Runner */,
+ 97C146EF1CF9000F007C117D /* Products */,
+ A759088B62C60268D25F841F /* Pods */,
+ 3E3E1C811B47477CF4A9A315 /* Frameworks */,
+ );
+ sourceTree = "";
+ };
+ 97C146EF1CF9000F007C117D /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 97C146EE1CF9000F007C117D /* Runner.app */,
+ );
+ name = Products;
+ sourceTree = "";
+ };
+ 97C146F01CF9000F007C117D /* Runner */ = {
+ isa = PBXGroup;
+ children = (
+ 97C146FA1CF9000F007C117D /* Main.storyboard */,
+ 97C146FD1CF9000F007C117D /* Assets.xcassets */,
+ 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
+ 97C147021CF9000F007C117D /* Info.plist */,
+ 97C146F11CF9000F007C117D /* Supporting Files */,
+ 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
+ 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
+ 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
+ 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
+ );
+ path = Runner;
+ sourceTree = "";
+ };
+ 97C146F11CF9000F007C117D /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ );
+ name = "Supporting Files";
+ sourceTree = "";
+ };
+ A759088B62C60268D25F841F /* Pods */ = {
+ isa = PBXGroup;
+ children = (
+ E107F71D46A779B424A08899 /* Pods-Runner.debug.xcconfig */,
+ 87F77F819B61E54C61672D11 /* Pods-Runner.release.xcconfig */,
+ 1BA921103C32B79944361E71 /* Pods-Runner.profile.xcconfig */,
+ );
+ path = Pods;
+ sourceTree = "";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 97C146ED1CF9000F007C117D /* Runner */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
+ buildPhases = (
+ 7A4371A0EF7EDBC9E03FB2D7 /* [CP] Check Pods Manifest.lock */,
+ 9740EEB61CF901F6004384FC /* Run Script */,
+ 97C146EA1CF9000F007C117D /* Sources */,
+ 97C146EB1CF9000F007C117D /* Frameworks */,
+ 97C146EC1CF9000F007C117D /* Resources */,
+ 9705A1C41CF9048500538489 /* Embed Frameworks */,
+ 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
+ C10A9485E174060F4694B3D0 /* [CP] Embed Pods Frameworks */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = Runner;
+ productName = Runner;
+ productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 97C146E61CF9000F007C117D /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 1020;
+ ORGANIZATIONNAME = "The Chromium Authors";
+ TargetAttributes = {
+ 97C146ED1CF9000F007C117D = {
+ CreatedOnToolsVersion = 7.3.1;
+ LastSwiftMigration = 0910;
+ };
+ };
+ };
+ buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = en;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ Base,
+ );
+ mainGroup = 97C146E51CF9000F007C117D;
+ productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 97C146ED1CF9000F007C117D /* Runner */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 97C146EC1CF9000F007C117D /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
+ 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
+ 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */,
+ 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
+ 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Thin Binary";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin";
+ };
+ 7A4371A0EF7EDBC9E03FB2D7 /* [CP] Check Pods Manifest.lock */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
+ "${PODS_ROOT}/Manifest.lock",
+ );
+ name = "[CP] Check Pods Manifest.lock";
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
+ showEnvVarsInLog = 0;
+ };
+ 9740EEB61CF901F6004384FC /* Run Script */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Run Script";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
+ };
+ C10A9485E174060F4694B3D0 /* [CP] Embed Pods Frameworks */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "[CP] Embed Pods Frameworks";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 97C146EA1CF9000F007C117D /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
+ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 97C146FB1CF9000F007C117D /* Base */,
+ );
+ name = Main.storyboard;
+ sourceTree = "";
+ };
+ 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 97C147001CF9000F007C117D /* Base */,
+ );
+ name = LaunchScreen.storyboard;
+ sourceTree = "";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 249021D3217E4FDB00AE95B9 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 11.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Profile;
+ };
+ 249021D4217E4FDB00AE95B9 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ DEVELOPMENT_TEAM = "";
+ ENABLE_BITCODE = NO;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PROJECT_DIR)/Flutter",
+ );
+ INFOPLIST_FILE = Runner/Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 11.0;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ LIBRARY_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PROJECT_DIR)/Flutter",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = "com.woosignal.label-StoreMax";
+ PRODUCT_NAME = Runner;
+ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
+ SWIFT_VERSION = 4.0;
+ TARGETED_DEVICE_FAMILY = 1;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Profile;
+ };
+ 97C147031CF9000F007C117D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 11.0;
+ MTL_ENABLE_DEBUG_INFO = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ };
+ name = Debug;
+ };
+ 97C147041CF9000F007C117D /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 11.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = iphoneos;
+ SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ 97C147061CF9000F007C117D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ DEVELOPMENT_TEAM = "";
+ ENABLE_BITCODE = NO;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PROJECT_DIR)/Flutter",
+ );
+ INFOPLIST_FILE = Runner/Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 11.0;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ LIBRARY_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PROJECT_DIR)/Flutter",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = "com.woosignal.label-StoreMax";
+ PRODUCT_NAME = Runner;
+ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ SWIFT_VERSION = 4.0;
+ TARGETED_DEVICE_FAMILY = 1;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Debug;
+ };
+ 97C147071CF9000F007C117D /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ DEVELOPMENT_TEAM = "";
+ ENABLE_BITCODE = NO;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PROJECT_DIR)/Flutter",
+ );
+ INFOPLIST_FILE = Runner/Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 11.0;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ LIBRARY_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PROJECT_DIR)/Flutter",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = "com.woosignal.label-StoreMax";
+ PRODUCT_NAME = Runner;
+ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
+ SWIFT_VERSION = 4.0;
+ TARGETED_DEVICE_FAMILY = 1;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 97C147031CF9000F007C117D /* Debug */,
+ 97C147041CF9000F007C117D /* Release */,
+ 249021D3217E4FDB00AE95B9 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 97C147061CF9000F007C117D /* Debug */,
+ 97C147071CF9000F007C117D /* Release */,
+ 249021D4217E4FDB00AE95B9 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 97C146E61CF9000F007C117D /* Project object */;
+}
diff --git a/LabelStoreMax/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/LabelStoreMax/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000..1d526a1
--- /dev/null
+++ b/LabelStoreMax/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/LabelStoreMax/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/LabelStoreMax/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
new file mode 100644
index 0000000..fb2dffc
--- /dev/null
+++ b/LabelStoreMax/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/LabelStoreMax/ios/Runner.xcworkspace/contents.xcworkspacedata b/LabelStoreMax/ios/Runner.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000..21a3cc1
--- /dev/null
+++ b/LabelStoreMax/ios/Runner.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
diff --git a/LabelStoreMax/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/LabelStoreMax/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000..18d9810
--- /dev/null
+++ b/LabelStoreMax/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/LabelStoreMax/ios/Runner/AppDelegate.swift b/LabelStoreMax/ios/Runner/AppDelegate.swift
new file mode 100644
index 0000000..70693e4
--- /dev/null
+++ b/LabelStoreMax/ios/Runner/AppDelegate.swift
@@ -0,0 +1,13 @@
+import UIKit
+import Flutter
+
+@UIApplicationMain
+@objc class AppDelegate: FlutterAppDelegate {
+ override func application(
+ _ application: UIApplication,
+ didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
+ ) -> Bool {
+ GeneratedPluginRegistrant.register(with: self)
+ return super.application(application, didFinishLaunchingWithOptions: launchOptions)
+ }
+}
diff --git a/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
new file mode 100644
index 0000000..d36b1fa
--- /dev/null
+++ b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,122 @@
+{
+ "images" : [
+ {
+ "size" : "20x20",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-20x20@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-20x20@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-40x40@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-40x40@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-60x60@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-60x60@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-20x20@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-20x20@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-29x29@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-29x29@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-40x40@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-40x40@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-76x76@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-76x76@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "83.5x83.5",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-83.5x83.5@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "1024x1024",
+ "idiom" : "ios-marketing",
+ "filename" : "Icon-App-1024x1024@1x.png",
+ "scale" : "1x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
diff --git a/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
new file mode 100644
index 0000000..7b1e87e
Binary files /dev/null and b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png differ
diff --git a/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
new file mode 100644
index 0000000..de26486
Binary files /dev/null and b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png differ
diff --git a/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
new file mode 100644
index 0000000..d187375
Binary files /dev/null and b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png differ
diff --git a/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
new file mode 100644
index 0000000..c7675b1
Binary files /dev/null and b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png differ
diff --git a/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
new file mode 100644
index 0000000..4ff2ce4
Binary files /dev/null and b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png differ
diff --git a/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
new file mode 100644
index 0000000..96a26cd
Binary files /dev/null and b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png differ
diff --git a/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
new file mode 100644
index 0000000..69425ef
Binary files /dev/null and b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png differ
diff --git a/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
new file mode 100644
index 0000000..d187375
Binary files /dev/null and b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png differ
diff --git a/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
new file mode 100644
index 0000000..073e5ab
Binary files /dev/null and b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png differ
diff --git a/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
new file mode 100644
index 0000000..65dca33
Binary files /dev/null and b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png differ
diff --git a/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
new file mode 100644
index 0000000..65dca33
Binary files /dev/null and b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png differ
diff --git a/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
new file mode 100644
index 0000000..8c442e1
Binary files /dev/null and b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png differ
diff --git a/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
new file mode 100644
index 0000000..f8a0515
Binary files /dev/null and b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png differ
diff --git a/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
new file mode 100644
index 0000000..1720f00
Binary files /dev/null and b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png differ
diff --git a/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
new file mode 100644
index 0000000..98b06fb
Binary files /dev/null and b/LabelStoreMax/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png differ
diff --git a/LabelStoreMax/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/LabelStoreMax/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
new file mode 100644
index 0000000..0bedcf2
--- /dev/null
+++ b/LabelStoreMax/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
@@ -0,0 +1,23 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchImage.png",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchImage@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchImage@3x.png",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
diff --git a/LabelStoreMax/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/LabelStoreMax/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
new file mode 100644
index 0000000..9da19ea
Binary files /dev/null and b/LabelStoreMax/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png differ
diff --git a/LabelStoreMax/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/LabelStoreMax/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
new file mode 100644
index 0000000..9da19ea
Binary files /dev/null and b/LabelStoreMax/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png differ
diff --git a/LabelStoreMax/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/LabelStoreMax/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
new file mode 100644
index 0000000..9da19ea
Binary files /dev/null and b/LabelStoreMax/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png differ
diff --git a/LabelStoreMax/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/LabelStoreMax/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
new file mode 100644
index 0000000..89c2725
--- /dev/null
+++ b/LabelStoreMax/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
@@ -0,0 +1,5 @@
+# Launch Screen Assets
+
+You can customize the launch screen with your own desired assets by replacing the image files in this directory.
+
+You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
\ No newline at end of file
diff --git a/LabelStoreMax/ios/Runner/Base.lproj/LaunchScreen.storyboard b/LabelStoreMax/ios/Runner/Base.lproj/LaunchScreen.storyboard
new file mode 100644
index 0000000..f2e259c
--- /dev/null
+++ b/LabelStoreMax/ios/Runner/Base.lproj/LaunchScreen.storyboard
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/LabelStoreMax/ios/Runner/Base.lproj/Main.storyboard b/LabelStoreMax/ios/Runner/Base.lproj/Main.storyboard
new file mode 100644
index 0000000..f3c2851
--- /dev/null
+++ b/LabelStoreMax/ios/Runner/Base.lproj/Main.storyboard
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/LabelStoreMax/ios/Runner/Info.plist b/LabelStoreMax/ios/Runner/Info.plist
new file mode 100644
index 0000000..30a62dd
--- /dev/null
+++ b/LabelStoreMax/ios/Runner/Info.plist
@@ -0,0 +1,61 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleExecutable
+ $(EXECUTABLE_NAME)
+ CFBundleIdentifier
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ label_storemax
+ CFBundlePackageType
+ APPL
+ CFBundleShortVersionString
+ $(FLUTTER_BUILD_NAME)
+ CFBundleSignature
+ ????
+ CFBundleURLTypes
+
+
+ CFBundleTypeRole
+ Editor
+ CFBundleURLName
+ 3ds.stripesdk.io
+ CFBundleURLSchemes
+
+ stripesdk
+
+
+
+ CFBundleVersion
+ $(FLUTTER_BUILD_NUMBER)
+ LSRequiresIPhoneOS
+
+ NSAppTransportSecurity
+
+ NSAllowsArbitraryLoads
+
+
+ UILaunchStoryboardName
+ LaunchScreen
+ UIMainStoryboardFile
+ Main
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UIViewControllerBasedStatusBarAppearance
+
+
+
diff --git a/LabelStoreMax/ios/Runner/Runner-Bridging-Header.h b/LabelStoreMax/ios/Runner/Runner-Bridging-Header.h
new file mode 100644
index 0000000..7335fdf
--- /dev/null
+++ b/LabelStoreMax/ios/Runner/Runner-Bridging-Header.h
@@ -0,0 +1 @@
+#import "GeneratedPluginRegistrant.h"
\ No newline at end of file
diff --git a/LabelStoreMax/lang/en.json b/LabelStoreMax/lang/en.json
new file mode 100644
index 0000000..ddb4a1e
--- /dev/null
+++ b/LabelStoreMax/lang/en.json
@@ -0,0 +1,94 @@
+{
+ "Categories": "Categories",
+ "Shop": "Shop",
+ "Newest": "Newest",
+ "Browse categories": "Browse categories",
+ "Cart": "Cart",
+ "You need items in your cart to checkout": "You need items in your cart to checkout",
+ "Updated": "Updated",
+ "Item removed": "Item removed",
+ "Success": "Success",
+ "Cart cleared": "Cart cleared",
+ "Shopping Cart": "Shopping Cart",
+ "Clear Cart": "Clear Cart",
+ "Empty Basket": "Empty Basket",
+ "PROCEED TO CHECKOUT": "PROCEED TO CHECKOUT",
+ "Browse": "Browse",
+ "Search results for": "Search results for",
+ "Select a": "Select a",
+ "Added to cart": "Added to cart",
+ "Options": "Options",
+ "Price": "Price",
+ "Choose your options": "Choose your options",
+ "Out of stock": "Out of stock",
+ "In Stock": "In Stock",
+ "Add to cart": "Add to cart",
+ "Oops": "Oops",
+ "Please select valid options first": "Please select valid options first",
+ "Sorry": "Sorry",
+ "This item is not in stock": "This item is not in stock",
+ "Description": "Description",
+ "Full description": "Full description",
+ "ADD TO CART": "ADD TO CART",
+ "This item is out of stock": "This item is out of stock",
+ "Add your shipping details first": "Add your shipping details first",
+ "Checkout": "Checkout",
+ "Billing/shipping details": "Billing/shipping details",
+ "Add billing & shipping details": "Add billing & shipping details",
+ "Payment method": "Payment method",
+ "Pay with": "Pay with",
+ "Select a payment method": "Select a payment method",
+ "Shipping selected": "Shipping selected",
+ "Select shipping": "Select shipping",
+ "Select a shipping option": "Select a shipping option",
+ "Shipping fee": "Shipping fee",
+ "Subtotal": "Subtotal",
+ "Total": "Total",
+ "CHECKOUT": "CHECKOUT",
+ "One moment": "One moment",
+ "Please select add your billing/shipping address to proceed": "Please select add your billing/shipping address to proceed",
+ "Your billing/shipping details are incomplete": "Your billing/shipping details are incomplete",
+ "Please select a shipping method to proceed": "Please select a shipping method to proceed",
+ "Please select a payment method to proceed": "Please select a payment method to proceed",
+ "Something went wrong, please contact our store": "Something went wrong, please contact our store",
+ "Error": "Error",
+ "Order Status": "Order Status",
+ "Thank You!": "Thank You!",
+ "Your transaction details": "Your transaction details",
+ "Order Ref": "Order Ref",
+ "Items": "Items",
+ "Back to Home": "Back to Home",
+ "Orders": "Orders",
+ "Billing & Shipping Details": "Billing & Shipping Details",
+ "First Name": "First Name",
+ "Last Name": "Last Name",
+ "Address Line": "Address Line",
+ "City": "City",
+ "Postal code": "Postal code",
+ "Email address": "Email address",
+ "Selected": "Selected",
+ "Select country": "Select country",
+ "Remember my details": "Remember my details",
+ "USE SHIPPING ADDRESS": "USE SHIPPING ADDRESS",
+ "About": "About",
+ "Privacy policy": "Privacy policy",
+ "Terms and conditions": "Terms and conditions",
+ "Version": "Version",
+ "Payment Method": "Payment Method",
+ "CANCEL": "CANCEL",
+ "Shipping Methods": "Shipping Methods",
+ "Shipping is not supported for your country, sorry": "Shipping is not supported for your country, sorry",
+ "Search": "Search",
+ "Debit or Credit Card": "Debit or Credit Card",
+ "Oops, something went wrong": "Oops, something went wrong",
+ "Tax": "Tax",
+ "No results": "No results",
+ "There is an item out of stock": "There is an item out of stock",
+ "Maximum stock reached": "Maximum stock reached",
+ "Select a country": "Select a country",
+ "Menu": "Menu",
+ "About Us": "About Us",
+ "Something went wrong": "Something went wrong",
+ "Product variation does not exist": "Product variation does not exist",
+ "This variation is unavailable": "This variation is unavailable"
+}
\ No newline at end of file
diff --git a/LabelStoreMax/lib/app_country_options.dart b/LabelStoreMax/lib/app_country_options.dart
new file mode 100644
index 0000000..a953468
--- /dev/null
+++ b/LabelStoreMax/lib/app_country_options.dart
@@ -0,0 +1,257 @@
+// Label StoreMAX
+//
+// Created by Anthony Gordon.
+// Copyright © 2019 WooSignal. All rights reserved.
+//
+
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+
+// COUNTRY OPTIONS
+
+var appCountryOptions = [
+ {"name": "United Kingdom", "code": "GB"},
+ {"name": "United States", "code": "US"},
+ {"name": "Afghanistan", "code": "AF"},
+ {"name": "Åland Islands", "code": "AX"},
+ {"name": "Albania", "code": "AL"},
+ {"name": "Algeria", "code": "DZ"},
+ {"name": "American Samoa", "code": "AS"},
+ {"name": "AndorrA", "code": "AD"},
+ {"name": "Angola", "code": "AO"},
+ {"name": "Anguilla", "code": "AI"},
+ {"name": "Antarctica", "code": "AQ"},
+ {"name": "Antigua and Barbuda", "code": "AG"},
+ {"name": "Argentina", "code": "AR"},
+ {"name": "Armenia", "code": "AM"},
+ {"name": "Aruba", "code": "AW"},
+ {"name": "Australia", "code": "AU"},
+ {"name": "Austria", "code": "AT"},
+ {"name": "Azerbaijan", "code": "AZ"},
+ {"name": "Bahamas", "code": "BS"},
+ {"name": "Bahrain", "code": "BH"},
+ {"name": "Bangladesh", "code": "BD"},
+ {"name": "Barbados", "code": "BB"},
+ {"name": "Belarus", "code": "BY"},
+ {"name": "Belgium", "code": "BE"},
+ {"name": "Belize", "code": "BZ"},
+ {"name": "Benin", "code": "BJ"},
+ {"name": "Bermuda", "code": "BM"},
+ {"name": "Bhutan", "code": "BT"},
+ {"name": "Bolivia", "code": "BO"},
+ {"name": "Bosnia and Herzegovina", "code": "BA"},
+ {"name": "Botswana", "code": "BW"},
+ {"name": "Bouvet Island", "code": "BV"},
+ {"name": "Brazil", "code": "BR"},
+ {"name": "British Indian Ocean Territory", "code": "IO"},
+ {"name": "Brunei Darussalam", "code": "BN"},
+ {"name": "Bulgaria", "code": "BG"},
+ {"name": "Burkina Faso", "code": "BF"},
+ {"name": "Burundi", "code": "BI"},
+ {"name": "Cambodia", "code": "KH"},
+ {"name": "Cameroon", "code": "CM"},
+ {"name": "Canada", "code": "CA"},
+ {"name": "Cape Verde", "code": "CV"},
+ {"name": "Cayman Islands", "code": "KY"},
+ {"name": "Central African Republic", "code": "CF"},
+ {"name": "Chad", "code": "TD"},
+ {"name": "Chile", "code": "CL"},
+ {"name": "China", "code": "CN"},
+ {"name": "Christmas Island", "code": "CX"},
+ {"name": "Cocos (Keeling) Islands", "code": "CC"},
+ {"name": "Colombia", "code": "CO"},
+ {"name": "Comoros", "code": "KM"},
+ {"name": "Congo", "code": "CG"},
+ {"name": "Congo, The Democratic Republic of the", "code": "CD"},
+ {"name": "Cook Islands", "code": "CK"},
+ {"name": "Costa Rica", "code": "CR"},
+ {"name": "Cote D\"Ivoire", "code": "CI"},
+ {"name": "Croatia", "code": "HR"},
+ {"name": "Cuba", "code": "CU"},
+ {"name": "Cyprus", "code": "CY"},
+ {"name": "Czech Republic", "code": "CZ"},
+ {"name": "Denmark", "code": "DK"},
+ {"name": "Djibouti", "code": "DJ"},
+ {"name": "Dominica", "code": "DM"},
+ {"name": "Dominican Republic", "code": "DO"},
+ {"name": "Ecuador", "code": "EC"},
+ {"name": "Egypt", "code": "EG"},
+ {"name": "El Salvador", "code": "SV"},
+ {"name": "Equatorial Guinea", "code": "GQ"},
+ {"name": "Eritrea", "code": "ER"},
+ {"name": "Estonia", "code": "EE"},
+ {"name": "Ethiopia", "code": "ET"},
+ {"name": "Falkland Islands (Malvinas)", "code": "FK"},
+ {"name": "Faroe Islands", "code": "FO"},
+ {"name": "Fiji", "code": "FJ"},
+ {"name": "Finland", "code": "FI"},
+ {"name": "France", "code": "FR"},
+ {"name": "French Guiana", "code": "GF"},
+ {"name": "French Polynesia", "code": "PF"},
+ {"name": "French Southern Territories", "code": "TF"},
+ {"name": "Gabon", "code": "GA"},
+ {"name": "Gambia", "code": "GM"},
+ {"name": "Georgia", "code": "GE"},
+ {"name": "Germany", "code": "DE"},
+ {"name": "Ghana", "code": "GH"},
+ {"name": "Gibraltar", "code": "GI"},
+ {"name": "Greece", "code": "GR"},
+ {"name": "Greenland", "code": "GL"},
+ {"name": "Grenada", "code": "GD"},
+ {"name": "Guadeloupe", "code": "GP"},
+ {"name": "Guam", "code": "GU"},
+ {"name": "Guatemala", "code": "GT"},
+ {"name": "Guernsey", "code": "GG"},
+ {"name": "Guinea", "code": "GN"},
+ {"name": "Guinea-Bissau", "code": "GW"},
+ {"name": "Guyana", "code": "GY"},
+ {"name": "Haiti", "code": "HT"},
+ {"name": "Heard Island and Mcdonald Islands", "code": "HM"},
+ {"name": "Holy See (Vatican City State)", "code": "VA"},
+ {"name": "Honduras", "code": "HN"},
+ {"name": "Hong Kong", "code": "HK"},
+ {"name": "Hungary", "code": "HU"},
+ {"name": "Iceland", "code": "IS"},
+ {"name": "India", "code": "IN"},
+ {"name": "Indonesia", "code": "ID"},
+ {"name": "Iran, Islamic Republic Of", "code": "IR"},
+ {"name": "Iraq", "code": "IQ"},
+ {"name": "Ireland", "code": "IE"},
+ {"name": "Isle of Man", "code": "IM"},
+ {"name": "Israel", "code": "IL"},
+ {"name": "Italy", "code": "IT"},
+ {"name": "Jamaica", "code": "JM"},
+ {"name": "Japan", "code": "JP"},
+ {"name": "Jersey", "code": "JE"},
+ {"name": "Jordan", "code": "JO"},
+ {"name": "Kazakhstan", "code": "KZ"},
+ {"name": "Kenya", "code": "KE"},
+ {"name": "Kiribati", "code": "KI"},
+ {"name": "Korea, Democratic People\"S Republic of", "code": "KP"},
+ {"name": "Korea, Republic of", "code": "KR"},
+ {"name": "Kuwait", "code": "KW"},
+ {"name": "Kyrgyzstan", "code": "KG"},
+ {"name": "Lao People\"S Democratic Republic", "code": "LA"},
+ {"name": "Latvia", "code": "LV"},
+ {"name": "Lebanon", "code": "LB"},
+ {"name": "Lesotho", "code": "LS"},
+ {"name": "Liberia", "code": "LR"},
+ {"name": "Libyan Arab Jamahiriya", "code": "LY"},
+ {"name": "Liechtenstein", "code": "LI"},
+ {"name": "Lithuania", "code": "LT"},
+ {"name": "Luxembourg", "code": "LU"},
+ {"name": "Macao", "code": "MO"},
+ {"name": "Macedonia, The Former Yugoslav Republic of", "code": "MK"},
+ {"name": "Madagascar", "code": "MG"},
+ {"name": "Malawi", "code": "MW"},
+ {"name": "Malaysia", "code": "MY"},
+ {"name": "Maldives", "code": "MV"},
+ {"name": "Mali", "code": "ML"},
+ {"name": "Malta", "code": "MT"},
+ {"name": "Marshall Islands", "code": "MH"},
+ {"name": "Martinique", "code": "MQ"},
+ {"name": "Mauritania", "code": "MR"},
+ {"name": "Mauritius", "code": "MU"},
+ {"name": "Mayotte", "code": "YT"},
+ {"name": "Mexico", "code": "MX"},
+ {"name": "Micronesia, Federated States of", "code": "FM"},
+ {"name": "Moldova, Republic of", "code": "MD"},
+ {"name": "Monaco", "code": "MC"},
+ {"name": "Mongolia", "code": "MN"},
+ {"name": "Montserrat", "code": "MS"},
+ {"name": "Morocco", "code": "MA"},
+ {"name": "Mozambique", "code": "MZ"},
+ {"name": "Myanmar", "code": "MM"},
+ {"name": "Namibia", "code": "NA"},
+ {"name": "Nauru", "code": "NR"},
+ {"name": "Nepal", "code": "NP"},
+ {"name": "Netherlands", "code": "NL"},
+ {"name": "Netherlands Antilles", "code": "AN"},
+ {"name": "New Caledonia", "code": "NC"},
+ {"name": "New Zealand", "code": "NZ"},
+ {"name": "Nicaragua", "code": "NI"},
+ {"name": "Niger", "code": "NE"},
+ {"name": "Nigeria", "code": "NG"},
+ {"name": "Niue", "code": "NU"},
+ {"name": "Norfolk Island", "code": "NF"},
+ {"name": "Northern Mariana Islands", "code": "MP"},
+ {"name": "Norway", "code": "NO"},
+ {"name": "Oman", "code": "OM"},
+ {"name": "Pakistan", "code": "PK"},
+ {"name": "Palau", "code": "PW"},
+ {"name": "Palestinian Territory, Occupied", "code": "PS"},
+ {"name": "Panama", "code": "PA"},
+ {"name": "Papua New Guinea", "code": "PG"},
+ {"name": "Paraguay", "code": "PY"},
+ {"name": "Peru", "code": "PE"},
+ {"name": "Philippines", "code": "PH"},
+ {"name": "Pitcairn", "code": "PN"},
+ {"name": "Poland", "code": "PL"},
+ {"name": "Portugal", "code": "PT"},
+ {"name": "Puerto Rico", "code": "PR"},
+ {"name": "Qatar", "code": "QA"},
+ {"name": "Reunion", "code": "RE"},
+ {"name": "Romania", "code": "RO"},
+ {"name": "Russian Federation", "code": "RU"},
+ {"name": "RWANDA", "code": "RW"},
+ {"name": "Saint Helena", "code": "SH"},
+ {"name": "Saint Kitts and Nevis", "code": "KN"},
+ {"name": "Saint Lucia", "code": "LC"},
+ {"name": "Saint Pierre and Miquelon", "code": "PM"},
+ {"name": "Saint Vincent and the Grenadines", "code": "VC"},
+ {"name": "Samoa", "code": "WS"},
+ {"name": "San Marino", "code": "SM"},
+ {"name": "Sao Tome and Principe", "code": "ST"},
+ {"name": "Saudi Arabia", "code": "SA"},
+ {"name": "Senegal", "code": "SN"},
+ {"name": "Serbia and Montenegro", "code": "CS"},
+ {"name": "Seychelles", "code": "SC"},
+ {"name": "Sierra Leone", "code": "SL"},
+ {"name": "Singapore", "code": "SG"},
+ {"name": "Slovakia", "code": "SK"},
+ {"name": "Slovenia", "code": "SI"},
+ {"name": "Solomon Islands", "code": "SB"},
+ {"name": "Somalia", "code": "SO"},
+ {"name": "South Africa", "code": "ZA"},
+ {"name": "South Georgia and the South Sandwich Islands", "code": "GS"},
+ {"name": "Spain", "code": "ES"},
+ {"name": "Sri Lanka", "code": "LK"},
+ {"name": "Sudan", "code": "SD"},
+ {"name": "Suriname", "code": "SR"},
+ {"name": "Svalbard and Jan Mayen", "code": "SJ"},
+ {"name": "Swaziland", "code": "SZ"},
+ {"name": "Sweden", "code": "SE"},
+ {"name": "Switzerland", "code": "CH"},
+ {"name": "Syrian Arab Republic", "code": "SY"},
+ {"name": "Taiwan, Province of China", "code": "TW"},
+ {"name": "Tajikistan", "code": "TJ"},
+ {"name": "Tanzania, United Republic of", "code": "TZ"},
+ {"name": "Thailand", "code": "TH"},
+ {"name": "Timor-Leste", "code": "TL"},
+ {"name": "Togo", "code": "TG"},
+ {"name": "Tokelau", "code": "TK"},
+ {"name": "Tonga", "code": "TO"},
+ {"name": "Trinidad and Tobago", "code": "TT"},
+ {"name": "Tunisia", "code": "TN"},
+ {"name": "Turkey", "code": "TR"},
+ {"name": "Turkmenistan", "code": "TM"},
+ {"name": "Turks and Caicos Islands", "code": "TC"},
+ {"name": "Tuvalu", "code": "TV"},
+ {"name": "Uganda", "code": "UG"},
+ {"name": "Ukraine", "code": "UA"},
+ {"name": "United Arab Emirates", "code": "AE"},
+ {"name": "United States Minor Outlying Islands", "code": "UM"},
+ {"name": "Uruguay", "code": "UY"},
+ {"name": "Uzbekistan", "code": "UZ"},
+ {"name": "Vanuatu", "code": "VU"},
+ {"name": "Venezuela", "code": "VE"},
+ {"name": "Viet Nam", "code": "VN"},
+ {"name": "Virgin Islands, British", "code": "VG"},
+ {"name": "Virgin Islands, U.S.", "code": "VI"},
+ {"name": "Wallis and Futuna", "code": "WF"},
+ {"name": "Western Sahara", "code": "EH"},
+ {"name": "Yemen", "code": "YE"},
+ {"name": "Zambia", "code": "ZM"},
+ {"name": "Zimbabwe", "code": "ZW"}
+];
diff --git a/LabelStoreMax/lib/app_tax_states_options.dart b/LabelStoreMax/lib/app_tax_states_options.dart
new file mode 100644
index 0000000..36eb7b0
--- /dev/null
+++ b/LabelStoreMax/lib/app_tax_states_options.dart
@@ -0,0 +1,72 @@
+// Label StoreMAX
+//
+// Created by Anthony Gordon.
+// Copyright © 2019 WooSignal. All rights reserved.
+//
+
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+
+var appCountryOptions = [
+ {"code": "*", "title": "Match all states"},
+ {"code": "AL", "title": "Alabama"},
+ {"code": "AK", "title": "Alaska"},
+ {"code": "AS", "title": "American Samoa"},
+ {"code": "AZ", "title": "Arizona"},
+ {"code": "AR", "title": "Arkansas"},
+ {"code": "CA", "title": "California"},
+ {"code": "CO", "title": "Colorado"},
+ {"code": "CT", "title": "Connecticut"},
+ {"code": "DE", "title": "Delaware"},
+ {"code": "DC", "title": "District Of Columbia"},
+ {"code": "FM", "title": "Federated States Of Micronesia"},
+ {"code": "FL", "title": "Florida"},
+ {"code": "GA", "title": "Georgia"},
+ {"code": "GU", "title": "Guam"},
+ {"code": "HI", "title": "Hawaii"},
+ {"code": "ID", "title": "Idaho"},
+ {"code": "IL", "title": "Illinois"},
+ {"code": "IN", "title": "Indiana"},
+ {"code": "IA", "title": "Iowa"},
+ {"code": "KS", "title": "Kansas"},
+ {"code": "KY", "title": "Kentucky"},
+ {"code": "LA", "title": "Louisiana"},
+ {"code": "ME", "title": "Maine"},
+ {"code": "MH", "title": "Marshall Islands"},
+ {"code": "MD", "title": "Maryland"},
+ {"code": "MA", "title": "Massachusetts"},
+ {"code": "MI", "title": "Michigan"},
+ {"code": "MN", "title": "Minnesota"},
+ {"code": "MS", "title": "Mississippi"},
+ {"code": "MO", "title": "Missouri"},
+ {"code": "MT", "title": "Montana"},
+ {"code": "NE", "title": "Nebraska"},
+ {"code": "NV", "title": "Nevada"},
+ {"code": "NH", "title": "New Hampshire"},
+ {"code": "NJ", "title": "New Jersey"},
+ {"code": "NM", "title": "New Mexico"},
+ {"code": "NY", "title": "New York"},
+ {"code": "NC", "title": "North Carolina"},
+ {"code": "ND", "title": "North Dakota"},
+ {"code": "MP", "title": "Northern Mariana Islands"},
+ {"code": "OH", "title": "Ohio"},
+ {"code": "OK", "title": "Oklahoma"},
+ {"code": "OR", "title": "Oregon"},
+ {"code": "PW", "title": "Palau"},
+ {"code": "PA", "title": "Pennsylvania"},
+ {"code": "PR", "title": "Puerto Rico"},
+ {"code": "RI", "title": "Rhode Island"},
+ {"code": "SC", "title": "South Carolina"},
+ {"code": "SD", "title": "South Dakota"},
+ {"code": "TN", "title": "Tennessee"},
+ {"code": "TX", "title": "Texas"},
+ {"code": "UT", "title": "Utah"},
+ {"code": "VT", "title": "Vermont"},
+ {"code": "VI", "title": "Virgin Islands"},
+ {"code": "VA", "title": "Virginia"},
+ {"code": "WA", "title": "Washington"},
+ {"code": "WV", "title": "West Virginia"},
+ {"code": "WI", "title": "Wisconsin"},
+ {"code": "WY", "title": "Wyoming"}
+];
diff --git a/LabelStoreMax/lib/helpers/app_localizations.dart b/LabelStoreMax/lib/helpers/app_localizations.dart
new file mode 100644
index 0000000..c320ca5
--- /dev/null
+++ b/LabelStoreMax/lib/helpers/app_localizations.dart
@@ -0,0 +1,61 @@
+// Label StoreMAX
+//
+// Created by Anthony Gordon.
+// Copyright © 2019 WooSignal. All rights reserved.
+//
+
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+
+import 'dart:async';
+import 'dart:convert';
+
+import 'package:flutter/material.dart';
+import 'package:flutter/services.dart';
+
+class AppLocalizations {
+ final Locale locale;
+
+ AppLocalizations(this.locale);
+
+ static AppLocalizations of(BuildContext context) {
+ return Localizations.of(context, AppLocalizations);
+ }
+
+ static const LocalizationsDelegate delegate =
+ _AppLocalizationsDelegate();
+
+ Map _localizedStrings;
+
+ Future load() async {
+ String jsonString =
+ await rootBundle.loadString('lang/${locale.languageCode}.json');
+ Map jsonMap = json.decode(jsonString);
+
+ _localizedStrings = jsonMap.map((k, v) {
+ return MapEntry(k, v.toString());
+ });
+ }
+
+ String trans(String key) {
+ return _localizedStrings[key];
+ }
+}
+
+class _AppLocalizationsDelegate
+ extends LocalizationsDelegate {
+ const _AppLocalizationsDelegate();
+
+ @override
+ bool isSupported(Locale locale) => ['en', 'es'].contains(locale.languageCode);
+
+ @override
+ bool shouldReload(_AppLocalizationsDelegate old) => false;
+
+ Future load(Locale locale) async {
+ AppLocalizations localizations = new AppLocalizations(locale);
+ await localizations.load();
+ return localizations;
+ }
+}
diff --git a/LabelStoreMax/lib/helpers/app_themes.dart b/LabelStoreMax/lib/helpers/app_themes.dart
new file mode 100644
index 0000000..5b0e78d
--- /dev/null
+++ b/LabelStoreMax/lib/helpers/app_themes.dart
@@ -0,0 +1,167 @@
+// Label StoreMAX
+//
+// Created by Anthony Gordon.
+// Copyright © 2019 WooSignal. All rights reserved.
+//
+
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+
+import 'package:flutter/material.dart';
+import 'package:label_storemax/widgets/woosignal_ui.dart';
+import 'package:label_storemax/helpers/tools.dart';
+
+TextTheme textThemeAccent() {
+ return TextTheme(
+ display1: new TextStyle(
+ color: Colors.black,
+ fontFamily: appFontFamily,
+ fontWeight: FontWeight.w800,
+ fontSize: 26),
+ display2: new TextStyle(
+ color: Colors.black,
+ fontFamily: appFontFamily,
+ fontWeight: FontWeight.w600),
+ display3: new TextStyle(
+ color: Colors.black,
+ fontFamily: appFontFamily,
+ fontWeight: FontWeight.w600),
+ display4: new TextStyle(
+ color: Colors.black,
+ fontFamily: appFontFamily,
+ fontWeight: FontWeight.w600),
+ headline: new TextStyle(color: Colors.black, fontFamily: appFontFamily),
+ title: new TextStyle(
+ color: Colors.black,
+ fontFamily: appFontFamily,
+ ),
+ subhead: new TextStyle(
+ color: Colors.black,
+ fontFamily: appFontFamily,
+ fontWeight: FontWeight.w800),
+ body2: new TextStyle(
+ color: HexColor("#606060"),
+ fontFamily: appFontFamily,
+ fontWeight: FontWeight.w700),
+ body1: new TextStyle(
+ color: HexColor("#a8a8a8"),
+ fontFamily: appFontFamily,
+ fontWeight: FontWeight.w700,
+ fontSize: 18),
+ caption: new TextStyle(
+ color: HexColor("#2a5080"),
+ fontFamily: appFontFamily,
+ fontWeight: FontWeight.w700,
+ fontSize: 14),
+ button: new TextStyle(
+ color: Colors.white,
+ fontFamily: appFontFamily,
+ fontWeight: FontWeight.w700),
+ );
+}
+
+TextTheme textThemePrimary() {
+ return TextTheme(
+ display1: new TextStyle(
+ color: Colors.black,
+ fontFamily: appFontFamily,
+ fontWeight: FontWeight.w800,
+ fontSize: 26),
+ display2: new TextStyle(
+ color: Colors.black,
+ fontFamily: appFontFamily,
+ fontWeight: FontWeight.w600),
+ display3: new TextStyle(
+ color: Colors.black,
+ fontFamily: appFontFamily,
+ fontWeight: FontWeight.w600),
+ display4: new TextStyle(
+ color: Colors.black,
+ fontFamily: appFontFamily,
+ fontWeight: FontWeight.w600),
+ headline: new TextStyle(color: Colors.black, fontFamily: appFontFamily),
+ title: new TextStyle(
+ color: Colors.black,
+ fontFamily: appFontFamily,
+ ),
+ subhead: new TextStyle(
+ color: Colors.black,
+ fontFamily: appFontFamily,
+ fontWeight: FontWeight.w800),
+ body2: new TextStyle(
+ color: HexColor("#606060"),
+ fontFamily: appFontFamily,
+ fontWeight: FontWeight.w700),
+ body1: new TextStyle(
+ color: HexColor("#a8a8a8"),
+ fontFamily: appFontFamily,
+ fontWeight: FontWeight.w700,
+ fontSize: 18),
+ caption: new TextStyle(
+ color: HexColor("#2a5080"),
+ fontFamily: appFontFamily,
+ fontWeight: FontWeight.w700,
+ fontSize: 14),
+ button: new TextStyle(
+ color: Colors.white,
+ fontFamily: appFontFamily,
+ fontWeight: FontWeight.w700),
+ );
+}
+
+TextTheme textThemeMain() {
+ return TextTheme(
+ display1: new TextStyle(
+ color: Colors.black,
+ fontFamily: appFontFamily,
+ ),
+ display2: new TextStyle(color: Colors.black, fontFamily: appFontFamily),
+ display3: new TextStyle(color: Colors.black, fontFamily: appFontFamily),
+ display4: new TextStyle(color: Colors.black, fontFamily: appFontFamily),
+ headline: new TextStyle(color: Colors.black, fontFamily: appFontFamily),
+ title: new TextStyle(color: Colors.black, fontFamily: appFontFamily),
+ subhead: new TextStyle(color: Colors.black, fontFamily: appFontFamily),
+ body2: new TextStyle(color: Colors.black, fontFamily: appFontFamily),
+ body1: new TextStyle(color: Colors.black, fontFamily: appFontFamily),
+ caption: new TextStyle(
+ color: Colors.redAccent, fontSize: 16, fontFamily: appFontFamily),
+ button: new TextStyle(color: Colors.black, fontFamily: appFontFamily),
+ );
+}
+
+TextTheme textThemeAppBar() {
+ return TextTheme(
+ display1: new TextStyle(color: Colors.black, fontFamily: appFontFamily),
+ display2: new TextStyle(color: Colors.black, fontFamily: appFontFamily),
+ display3: new TextStyle(color: Colors.black, fontFamily: appFontFamily),
+ display4: new TextStyle(color: Colors.black, fontFamily: appFontFamily),
+ headline: new TextStyle(color: Colors.black, fontFamily: appFontFamily),
+ title: new TextStyle(
+ color: Colors.black,
+ fontFamily: appFontFamily,
+ fontWeight: FontWeight.w900),
+ subhead: new TextStyle(color: Colors.black, fontFamily: appFontFamily),
+ body2: new TextStyle(color: Colors.black, fontFamily: appFontFamily),
+ body1: new TextStyle(color: Colors.black, fontFamily: appFontFamily),
+ caption: new TextStyle(color: Colors.black, fontFamily: appFontFamily),
+ button: new TextStyle(color: Colors.black, fontFamily: appFontFamily),
+ );
+}
+
+ColorScheme colorSchemeButton() {
+ return ColorScheme.light(
+ primary: const Color(0xff6200ee),
+ primaryVariant: const Color(0xff3700b3),
+ secondary: const Color(0xff03dac6),
+ secondaryVariant: const Color(0xff018786),
+ surface: Colors.white,
+ background: Colors.white,
+ error: const Color(0xffb00020),
+ onPrimary: Colors.white,
+ onSecondary: Colors.black,
+ onSurface: Colors.black,
+ onBackground: Colors.black,
+ onError: Colors.white,
+ brightness: Brightness.light);
+}
diff --git a/LabelStoreMax/lib/helpers/tools.dart b/LabelStoreMax/lib/helpers/tools.dart
new file mode 100644
index 0000000..1b158f0
--- /dev/null
+++ b/LabelStoreMax/lib/helpers/tools.dart
@@ -0,0 +1,764 @@
+// Label StoreMAX
+//
+// Created by Anthony Gordon.
+// Copyright © 2019 WooSignal. All rights reserved.
+//
+
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+
+import 'package:label_storemax/helpers/app_localizations.dart';
+import 'package:flutter/material.dart';
+import 'package:fluttertoast/fluttertoast.dart';
+import 'package:label_storemax/labelconfig.dart';
+import 'package:edge_alert/edge_alert.dart';
+import 'package:flutter_spinkit/flutter_spinkit.dart';
+import 'package:shared_preferences/shared_preferences.dart';
+import 'package:html/parser.dart';
+import 'package:flutter_web_browser/flutter_web_browser.dart';
+import 'dart:convert';
+import 'package:flutter_money_formatter/flutter_money_formatter.dart';
+import 'package:woosignal/models/response/shipping_method.dart';
+import 'package:woosignal/models/response/tax_rate.dart';
+
+// CONFIG FOR WOOSIGNAL API
+var wsConfig = {"appKey": app_key, "debugMode": app_debug};
+
+// MARK: PaymentMethodType
+class PaymentType {
+ int id;
+ String name;
+ String assetImage;
+
+ PaymentType({this.id, this.name, this.assetImage});
+}
+
+List arrPaymentMethods = [
+ (paymentMethods.contains("Stripe")
+ ? (PaymentType(
+ id: 1,
+ name: "Debit or Credit Card",
+ assetImage: "dark_powered_by_stripe.png"))
+ : null)
+];
+
+List getPaymentTypes() {
+ return arrPaymentMethods;
+}
+
+class HexColor extends Color {
+ static int _getColorFromHex(String hexColor) {
+ hexColor = hexColor.toUpperCase().replaceAll("#", "");
+ if (hexColor.length == 6) {
+ hexColor = "FF" + hexColor;
+ }
+ return int.parse(hexColor, radix: 16);
+ }
+
+ HexColor(final String hexColor) : super(_getColorFromHex(hexColor));
+}
+
+String truncateWithEllipsis(int cutoff, String myString) {
+ return (myString.length <= cutoff)
+ ? myString
+ : '${myString.substring(0, cutoff)}...';
+}
+
+class TextFieldMaker extends TextField {
+ static TextField makeWith(labelTitle) {
+ return TextField(
+ decoration: InputDecoration(
+ labelText: labelTitle,
+ labelStyle: TextStyle(
+ fontFamily: 'Overpass',
+ fontWeight: FontWeight.bold,
+ color: Colors.grey),
+ focusedBorder: UnderlineInputBorder(
+ borderSide: BorderSide(color: Colors.green))),
+ keyboardAppearance: Brightness.light,
+ keyboardType: TextInputType.emailAddress,
+ );
+ }
+}
+
+void showToastWith({String message, String statusType}) {
+ Fluttertoast.showToast(
+ msg: message,
+ toastLength: Toast.LENGTH_SHORT,
+ gravity: ToastGravity.CENTER,
+ timeInSecForIos: 3,
+ backgroundColor:
+ (statusType == "error" ? HexColor("#b5123a") : Colors.grey),
+ textColor: (statusType == "error" ? Colors.white : Colors.black),
+ fontSize: 16.0);
+}
+
+void showToastNetworkError() {
+ showToastWith(message: "Oops, something went wrong");
+}
+
+bool isEmail(String em) {
+ String p =
+ r'^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$';
+ RegExp regExp = new RegExp(p);
+ return regExp.hasMatch(em);
+}
+
+// 6 LENGTH, 1 DIGIT
+bool validPassword(String pw) {
+ String p = r'^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,}$';
+ RegExp regExp = new RegExp(p);
+ return regExp.hasMatch(pw);
+}
+
+Widget showAppLoader() {
+ return SpinKitDoubleBounce(color: HexColor("#393318"));
+}
+
+Future delayFunction(void Function() action) {
+ return Future.delayed(const Duration(milliseconds: 300), action);
+}
+
+class PaymentMethodType {
+ static final int STRIPE = 1;
+ static final int APPLEPAY = 2;
+}
+
+class EdgeAlertStyle {
+ static final int SUCCESS = 1;
+ static final int WARNING = 2;
+ static final int INFO = 3;
+ static final int DANGER = 4;
+}
+
+void showEdgeAlertWith(context,
+ {title = "", desc = "", int gravity = 1, int style = 1, IconData icon}) {
+ switch (style) {
+ case 1: // SUCCESS
+ EdgeAlert.show(context,
+ title: title,
+ description: desc,
+ gravity: gravity,
+ backgroundColor: Colors.green,
+ icon: icon ?? Icons.check,
+ duration: EdgeAlert.LENGTH_LONG);
+ break;
+ case 2: // WARNING
+ EdgeAlert.show(context,
+ title: title,
+ description: desc,
+ gravity: gravity,
+ backgroundColor: Colors.orange,
+ icon: icon ?? Icons.error_outline,
+ duration: EdgeAlert.LENGTH_LONG);
+ break;
+ case 3: // INFO
+ EdgeAlert.show(context,
+ title: title,
+ description: desc,
+ gravity: gravity,
+ backgroundColor: Colors.teal,
+ icon: icon ?? Icons.info,
+ duration: EdgeAlert.LENGTH_LONG);
+ break;
+ case 4: // DANGER
+ EdgeAlert.show(context,
+ title: title,
+ description: desc,
+ gravity: gravity,
+ backgroundColor: Colors.redAccent,
+ icon: icon ?? Icons.warning,
+ duration: EdgeAlert.LENGTH_LONG);
+ break;
+ default:
+ break;
+ }
+}
+
+void errorWithNetworkDefault(BuildContext context) {
+ showEdgeAlertWith(context,
+ title: trans(context, "Oops"),
+ desc: trans(context, "Something went wrong"),
+ style: EdgeAlertStyle.DANGER);
+}
+
+String parseHtmlString(String htmlString) {
+ var document = parse(htmlString);
+ String parsedString = parse(document.body.text).documentElement.text;
+ return parsedString;
+}
+
+class CartLineItem {
+ String name;
+ int productId;
+ int variationId;
+ int quantity;
+ bool isManagedStock;
+ int stockQuantity;
+ String shippingClassId;
+ String taxStatus;
+ String taxClass;
+ bool shippingIsTaxable;
+ String subtotal;
+ String total;
+ String imageSrc;
+ String variationOptions;
+ String stockStatus;
+ Object metaData = {};
+
+ CartLineItem(
+ {this.name,
+ this.productId,
+ this.variationId,
+ this.isManagedStock,
+ this.stockQuantity,
+ this.quantity,
+ this.stockStatus,
+ this.shippingClassId,
+ this.taxStatus,
+ this.taxClass,
+ this.shippingIsTaxable,
+ this.variationOptions,
+ this.imageSrc,
+ this.subtotal,
+ this.total,
+ this.metaData});
+
+ CartLineItem.fromJson(Map json)
+ : name = json['name'],
+ productId = json['product_id'],
+ variationId = json['variation_id'],
+ quantity = json['quantity'],
+ shippingClassId = json['shipping_class_id'].toString(),
+ taxStatus = json['tax_status'],
+ stockQuantity = json['stock_quantity'],
+ isManagedStock = json['is_managed_stock'],
+ shippingIsTaxable = json['shipping_is_taxable'],
+ subtotal = json['subtotal'],
+ total = json['total'],
+ taxClass = json['tax_class'],
+ stockStatus = json['stock_status'],
+ imageSrc = json['image_src'],
+ variationOptions = json['variation_options'],
+ metaData = json['metaData'];
+
+ Map toJson() => {
+ 'name': name,
+ 'product_id': productId,
+ 'variation_id': variationId,
+ 'quantity': quantity,
+ 'shipping_class_id': shippingClassId,
+ 'tax_status': taxStatus,
+ 'tax_class': taxClass,
+ 'stock_status': stockStatus,
+ 'is_managed_stock': isManagedStock,
+ 'stock_quantity': stockQuantity,
+ 'shipping_is_taxable': shippingIsTaxable,
+ 'image_src': imageSrc,
+ 'variation_options': variationOptions,
+ 'subtotal': subtotal,
+ 'total': total,
+ 'meta_data': metaData,
+ };
+}
+
+class SharedPref {
+ read(String key) async {
+ final prefs = await SharedPreferences.getInstance();
+ return prefs.getString(key);
+ }
+
+ save(String key, value) async {
+ final prefs = await SharedPreferences.getInstance();
+ prefs.setString(key, value);
+ }
+
+ remove(String key) async {
+ final prefs = await SharedPreferences.getInstance();
+ prefs.remove(key);
+ }
+}
+
+class CustomerAddress {
+ String firstName;
+ String lastName;
+ String addressLine;
+ String city;
+ String postalCode;
+ String country;
+ String emailAddress;
+
+ CustomerAddress(
+ {this.firstName,
+ this.lastName,
+ this.addressLine,
+ this.city,
+ this.postalCode,
+ this.country,
+ this.emailAddress});
+
+ void initAddress() {
+ firstName = "";
+ lastName = "";
+ addressLine = "";
+ city = "";
+ postalCode = "";
+ country = "";
+ emailAddress = "";
+ }
+
+ bool hasMissingFields() {
+ return (this.firstName.isEmpty ||
+ this.lastName.isEmpty ||
+ this.addressLine.isEmpty ||
+ this.city.isEmpty ||
+ this.postalCode.isEmpty);
+ }
+
+ String addressFull() {
+ List tmpArrAddress = new List();
+ if (addressLine != "") {
+ tmpArrAddress.add(addressLine);
+ }
+ if (city != "") {
+ tmpArrAddress.add(city);
+ }
+ if (postalCode != "") {
+ tmpArrAddress.add(postalCode);
+ }
+ if (country != "") {
+ tmpArrAddress.add(country);
+ }
+ return tmpArrAddress.join(", ");
+ }
+
+ String nameFull() {
+ List tmpArrName = new List();
+ if (firstName != "") {
+ tmpArrName.add(firstName);
+ }
+ if (lastName != "") {
+ tmpArrName.add(lastName);
+ }
+ return tmpArrName.join(", ");
+ }
+
+ CustomerAddress.fromJson(Map json) {
+ firstName = json['first_name'];
+ lastName = json['last_name'];
+ addressLine = json['address_line'];
+ city = json['city'];
+ postalCode = json['postal_code'];
+ country = json['country'];
+ emailAddress = json['email_address'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['first_name'] = this.firstName;
+ data['last_name'] = this.lastName;
+ data['address_line'] = this.addressLine;
+ data['city'] = this.city;
+ data['postal_code'] = this.postalCode;
+ data['country'] = this.country;
+ data['email_address'] = this.emailAddress;
+ return data;
+ }
+}
+
+class BillingDetails {
+ CustomerAddress billingAddress;
+ CustomerAddress shippingAddress;
+ bool rememberDetails;
+
+ void initSession() {
+ billingAddress = CustomerAddress();
+ shippingAddress = CustomerAddress();
+ }
+}
+
+class PaymentDetails {
+ String method;
+}
+
+String formatDoubleCurrency({double total}) {
+ FlutterMoneyFormatter fmf = FlutterMoneyFormatter(
+ amount: total,
+ settings: MoneyFormatterSettings(
+ symbol: app_currency_symbol,
+ ));
+ return fmf.output.symbolOnLeft;
+}
+
+String formatStringCurrency({String total}) {
+ double tmpVal;
+ if (total == null || total == "") {
+ tmpVal = 0;
+ } else {
+ tmpVal = double.parse(total);
+ }
+ FlutterMoneyFormatter fmf = FlutterMoneyFormatter(
+ amount: tmpVal,
+ settings: MoneyFormatterSettings(
+ symbol: app_currency_symbol,
+ ));
+ return fmf.output.symbolOnLeft;
+}
+
+class ShippingType {
+ String methodId;
+ String cost;
+ dynamic object;
+
+ ShippingType({this.methodId, this.object, this.cost});
+
+ Map toJson() =>
+ {'methodId': methodId, 'object': object, 'cost': cost};
+
+ String getTotal({bool withFormatting}) {
+ if (this.methodId != null && this.object != null) {
+ switch (this.methodId) {
+ case "flat_rate":
+ FlatRate flatRate = (this.object as FlatRate);
+ return (withFormatting == true
+ ? formatStringCurrency(total: cost)
+ : flatRate.cost);
+ case "free_shipping":
+ FreeShipping freeShipping = (this.object as FreeShipping);
+ return (withFormatting == true
+ ? formatStringCurrency(total: cost)
+ : freeShipping.cost);
+ case "local_pickup":
+ LocalPickup localPickup = (this.object as LocalPickup);
+ return (withFormatting == true
+ ? formatStringCurrency(total: cost)
+ : localPickup.cost);
+ default:
+ return "0";
+ break;
+ }
+ }
+ return "0";
+ }
+
+ String getTitle() {
+ if (this.methodId != null && this.object != null) {
+ switch (this.methodId) {
+ case "flat_rate":
+ FlatRate flatRate = (this.object as FlatRate);
+ return flatRate.title;
+ case "free_shipping":
+ FreeShipping freeShipping = (this.object as FreeShipping);
+ return freeShipping.title;
+ case "local_pickup":
+ LocalPickup localPickup = (this.object as LocalPickup);
+ return localPickup.title;
+ default:
+ return "";
+ break;
+ }
+ }
+ return "";
+ }
+
+ Map toShippingLineFee() {
+ if (this.methodId != null && this.object != null) {
+ Map tmpShippingLinesObj = {};
+
+ switch (this.methodId) {
+ case "flat_rate":
+ FlatRate flatRate = (this.object as FlatRate);
+ tmpShippingLinesObj["method_title"] = flatRate.title;
+ tmpShippingLinesObj["method_id"] = flatRate.methodId;
+ tmpShippingLinesObj["total"] = this.cost;
+ break;
+ case "free_shipping":
+ FreeShipping freeShipping = (this.object as FreeShipping);
+ tmpShippingLinesObj["method_title"] = freeShipping.title;
+ tmpShippingLinesObj["method_id"] = freeShipping.methodId;
+ tmpShippingLinesObj["total"] = this.cost;
+ break;
+ case "local_pickup":
+ LocalPickup localPickup = (this.object as LocalPickup);
+ tmpShippingLinesObj["method_title"] = localPickup.title;
+ tmpShippingLinesObj["method_id"] = localPickup.methodId;
+ tmpShippingLinesObj["total"] = this.cost;
+ break;
+ default:
+ return null;
+ break;
+ }
+ return tmpShippingLinesObj;
+ }
+
+ return null;
+ }
+}
+
+class CheckoutSession {
+ String sfKeyCheckout = "CS_BILLING_DETAILS";
+ CheckoutSession._privateConstructor();
+ static final CheckoutSession getInstance =
+ CheckoutSession._privateConstructor();
+
+ BillingDetails billingDetails;
+ ShippingType shippingType;
+ PaymentType paymentType;
+
+ void initSession() {
+ billingDetails = BillingDetails();
+ shippingType = null;
+ }
+
+ void saveBillingAddress() {
+ SharedPref sharedPref = SharedPref();
+ CustomerAddress customerAddress =
+ CheckoutSession.getInstance.billingDetails.billingAddress;
+
+ String billingAddress = jsonEncode(customerAddress.toJson());
+ sharedPref.save(sfKeyCheckout, billingAddress);
+ }
+
+ Future getBillingAddress() async {
+ SharedPref sharedPref = SharedPref();
+
+ String strCheckoutDetails = await sharedPref.read(sfKeyCheckout);
+
+ if (strCheckoutDetails != null && strCheckoutDetails != "") {
+ return CustomerAddress.fromJson(jsonDecode(strCheckoutDetails));
+ }
+ return null;
+ }
+
+ void clearBillingAddress() {
+ SharedPref sharedPref = SharedPref();
+ sharedPref.remove(sfKeyCheckout);
+ }
+
+ Future total({bool withFormat, TaxRate taxRate}) async {
+ double totalCart = double.parse(await Cart.getInstance.getTotal());
+ double totalShipping = 0;
+ if (shippingType != null && shippingType.object != null) {
+ switch (shippingType.methodId) {
+ case "flat_rate":
+ totalShipping = double.parse(shippingType.cost);
+ break;
+ case "free_shipping":
+ totalShipping = double.parse(shippingType.cost);
+ break;
+ case "local_pickup":
+ totalShipping = double.parse(shippingType.cost);
+ break;
+ default:
+ break;
+ }
+ }
+
+ double total = totalCart + totalShipping;
+
+ if (taxRate != null) {
+ String taxAmount = await Cart.getInstance.taxAmount(taxRate);
+ total += double.parse(taxAmount);
+ }
+
+ if (withFormat != null && withFormat == true) {
+ return formatDoubleCurrency(total: total);
+ }
+ return total.toString();
+ }
+}
+
+class Cart {
+ String _keyCart = "CART_SESSION";
+
+ Cart._privateConstructor();
+ static final Cart getInstance = Cart._privateConstructor();
+
+ Future> getCart() async {
+ List cartLineItems = [];
+ SharedPref sharedPref = SharedPref();
+ String currentCartArrJSON = (await sharedPref.read(_keyCart) as String);
+ if (currentCartArrJSON == null) {
+ cartLineItems = List();
+ } else {
+ cartLineItems = (jsonDecode(currentCartArrJSON) as List)
+ .map((i) => CartLineItem.fromJson(i))
+ .toList();
+ }
+ return cartLineItems;
+ }
+
+ void addToCart({CartLineItem cartLineItem}) async {
+ List cartLineItems = await getCart();
+ var firstCartItem = cartLineItems.firstWhere(
+ (i) =>
+ i.productId == cartLineItem.productId ||
+ i.productId == cartLineItem.productId &&
+ i.variationId == cartLineItem.variationId, orElse: () {
+ return null;
+ });
+ if (firstCartItem != null) {
+ return;
+ }
+ cartLineItems.add(cartLineItem);
+
+ saveCartToPref(cartLineItems: cartLineItems);
+ }
+
+ Future getTotal({bool withFormat}) async {
+ List cartLineItems = await getCart();
+ double total = 0;
+ cartLineItems.forEach((cartItem) {
+ total += (double.parse(cartItem.total) * cartItem.quantity);
+ });
+
+ if (withFormat != null && withFormat == true) {
+ return formatDoubleCurrency(total: total);
+ }
+ return total.toString();
+ }
+
+ Future getSubtotal({bool withFormat}) async {
+ List cartLineItems = await getCart();
+ double subtotal = 0;
+ cartLineItems.forEach((cartItem) {
+ subtotal += (double.parse(cartItem.subtotal) * cartItem.quantity);
+ });
+ if (withFormat != null && withFormat == true) {
+ return formatDoubleCurrency(total: subtotal);
+ }
+ return subtotal.toString();
+ }
+
+ void updateQuantity(
+ {CartLineItem cartLineItem, int incrementQuantity}) async {
+ List cartLineItems = await getCart();
+ List tmpCartItem = new List();
+ cartLineItems.forEach((cartItem) {
+ if (cartItem.variationId == cartLineItem.variationId &&
+ cartItem.productId == cartLineItem.productId) {
+ if ((cartItem.quantity + incrementQuantity) > 0) {
+ cartItem.quantity += incrementQuantity;
+ }
+ }
+ tmpCartItem.add(cartItem);
+ });
+ saveCartToPref(cartLineItems: tmpCartItem);
+ }
+
+ Future cartShortDesc() async {
+ List cartLineItems = await getCart();
+ var tmpShortItemDesc = [];
+ cartLineItems.forEach((cartItem) {
+ tmpShortItemDesc
+ .add(cartItem.quantity.toString() + " x | " + cartItem.name);
+ });
+ return tmpShortItemDesc.join(",");
+ }
+
+ void removeCartItemForIndex({int index}) async {
+ List cartLineItems = await getCart();
+ cartLineItems.removeAt(index);
+ saveCartToPref(cartLineItems: cartLineItems);
+ }
+
+ void clear() {
+ SharedPref sharedPref = SharedPref();
+ List cartLineItems = new List();
+ String jsonArrCartItems =
+ jsonEncode(cartLineItems.map((i) => i.toJson()).toList());
+ sharedPref.save(_keyCart, jsonArrCartItems);
+ }
+
+ void saveCartToPref({List cartLineItems}) {
+ SharedPref sharedPref = SharedPref();
+ String jsonArrCartItems =
+ jsonEncode(cartLineItems.map((i) => i.toJson()).toList());
+ sharedPref.save(_keyCart, jsonArrCartItems);
+ }
+
+ Future taxAmount(TaxRate taxRate) async {
+ double subtotal = 0;
+ double shippingTotal = 0;
+
+ List cartItems = await Cart.getInstance.getCart();
+ if (cartItems.every((c) => c.taxStatus == 'none')) {
+ return "0";
+ }
+ List taxableCartLines =
+ cartItems.where((c) => c.taxStatus == 'taxable').toList();
+ double cartSubtotal = 0;
+
+ if (taxableCartLines.length > 0) {
+ cartSubtotal = taxableCartLines
+ .map((m) => double.parse(m.subtotal))
+ .reduce((a, b) => a + b);
+ }
+
+ subtotal = cartSubtotal;
+
+ ShippingType shippingType = CheckoutSession.getInstance.shippingType;
+
+ if (shippingType != null) {
+ switch (shippingType.methodId) {
+ case "flat_rate":
+ FlatRate flatRate = (shippingType.object as FlatRate);
+ if (flatRate.taxable) {
+ shippingTotal += double.parse(shippingType.cost);
+ }
+ break;
+ case "local_pickup":
+ LocalPickup localPickup = (shippingType.object as LocalPickup);
+ if (localPickup.taxable) {
+ shippingTotal += double.parse(localPickup.cost);
+ }
+ break;
+ default:
+ break;
+ }
+ }
+
+ double total = 0;
+ if (subtotal != 0) {
+ total += ((double.parse(taxRate.rate) * subtotal) / 100);
+ }
+ if (shippingTotal != 0) {
+ total += ((double.parse(taxRate.rate) * shippingTotal) / 100);
+ }
+ return (total).toString();
+ }
+}
+
+openBrowserTab({String url}) async {
+ await FlutterWebBrowser.openWebPage(
+ url: url, androidToolbarColor: Colors.white70);
+}
+
+EdgeInsets safeAreaDefault() {
+ return EdgeInsets.only(left: 16, right: 16, bottom: 8);
+}
+
+class SlideRightRoute extends PageRouteBuilder {
+ final Widget widget;
+ SlideRightRoute({this.widget})
+ : super(pageBuilder: (BuildContext context, Animation animation,
+ Animation secondaryAnimation) {
+ return widget;
+ }, transitionsBuilder: (BuildContext context,
+ Animation animation,
+ Animation secondaryAnimation,
+ Widget child) {
+ return new SlideTransition(
+ position: new Tween(
+ begin: const Offset(-1.0, 0.0),
+ end: Offset.zero,
+ ).animate(animation),
+ child: child,
+ );
+ });
+}
+
+String trans(BuildContext context, String key) {
+ return AppLocalizations.of(context).trans(key);
+}
diff --git a/LabelStoreMax/lib/labelconfig.dart b/LabelStoreMax/lib/labelconfig.dart
new file mode 100644
index 0000000..1792eb4
--- /dev/null
+++ b/LabelStoreMax/lib/labelconfig.dart
@@ -0,0 +1,47 @@
+//
+// LabelCore
+// Label StoreMAX
+//
+// Created by Anthony Gordon.
+// Copyright © 2019 WooSignal. All rights reserved.
+//
+
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+
+/*
+ Developer Notes
+
+ SUPPORT EMAIL - support@woosignal.com
+ VERSION - 1.0
+ https://woosignal.com
+ */
+
+/**/
+
+const app_name = "MyApp";
+
+const app_key = "your app key";
+
+const app_logo_url = "https://woosignal.com/images/120x120_woosignal.png";
+
+const app_terms_url = "https://yourdomain.com/terms";
+const app_privacy_url = "https://yourdomain.com/privacy";
+
+/**/
+
+const app_stripe_account = "your StripeAccount key"; // Your StripeAccount key from WooSignal
+const app_stripe_live_mode = false; // SET true for live payments
+
+/**/
+
+const app_currency_symbol = "\£";
+const app_currency_iso = "gbp";
+const app_locales_supported = ['en'];
+
+const paymentMethods = ["Stripe"];
+
+/**/
+
+const app_debug = true;
diff --git a/LabelStoreMax/lib/main.dart b/LabelStoreMax/lib/main.dart
new file mode 100644
index 0000000..2bbcece
--- /dev/null
+++ b/LabelStoreMax/lib/main.dart
@@ -0,0 +1,131 @@
+// Label StoreMAX
+//
+// Created by Anthony Gordon.
+// Copyright © 2019 WooSignal. All rights reserved.
+//
+
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+
+import 'package:flutter/material.dart';
+import 'package:flutter_localizations/flutter_localizations.dart';
+import 'labelconfig.dart';
+import 'package:label_storemax/pages/checkout_details.dart';
+import 'package:label_storemax/pages/home.dart';
+import 'package:label_storemax/pages/about.dart';
+import 'package:label_storemax/pages/checkout_confirmation.dart';
+import 'package:label_storemax/pages/cart.dart';
+import 'package:label_storemax/pages/checkout_status.dart';
+import 'package:label_storemax/pages/checkout_payment_type.dart';
+import 'package:label_storemax/pages/checkout_shipping_type.dart';
+import 'package:label_storemax/pages/product_detail.dart';
+import 'package:label_storemax/pages/browse_search.dart';
+import 'package:label_storemax/pages/home_menu.dart';
+import 'package:label_storemax/pages/home_search.dart';
+import 'package:label_storemax/pages/browse_category.dart';
+import 'package:flutter/services.dart';
+import 'package:label_storemax/helpers/tools.dart';
+import 'package:page_transition/page_transition.dart';
+import 'package:label_storemax/helpers/app_themes.dart';
+import 'package:label_storemax/helpers/app_localizations.dart';
+
+void main() async {
+ Widget _defaultHome = new HomePage();
+
+ SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]).then(
+ (_) {
+ _defaultHome = HomePage();
+
+ runApp(
+ new MaterialApp(
+ title: app_name,
+ color: Colors.white,
+ debugShowCheckedModeBanner: false,
+ routes: {
+ '/home': (BuildContext context) => new HomePage(),
+ '/cart': (BuildContext context) => new CartPage(),
+ '/browse-category': (BuildContext context) =>
+ new BrowseCategoryPage(),
+ '/product-search': (BuildContext context) =>
+ new BrowseSearchPage(),
+ '/product-detail': (BuildContext context) =>
+ new ProductDetailPage(),
+ '/checkout': (BuildContext context) =>
+ new CheckoutConfirmationPage(),
+ '/checkout-status': (BuildContext context) =>
+ new CheckoutStatusPage(),
+ },
+ onGenerateRoute: (settings) {
+ switch (settings.name) {
+ case '/home-menu':
+ return PageTransition(
+ child: HomeMenuPage(),
+ type: PageTransitionType.leftToRight);
+ case '/checkout-details':
+ return PageTransition(
+ child: CheckoutDetailsPage(),
+ type: PageTransitionType.downToUp);
+ case '/about':
+ return PageTransition(
+ child: AboutPage(), type: PageTransitionType.leftToRight);
+
+ case '/checkout-payment-type':
+ return PageTransition(
+ child: CheckoutPaymentTypePage(),
+ type: PageTransitionType.downToUp);
+
+ case '/checkout-shipping-type':
+ return PageTransition(
+ child: CheckoutShippingTypePage(),
+ type: PageTransitionType.downToUp);
+
+ case '/home-search':
+ return PageTransition(
+ child: HomeSearchPage(),
+ type: PageTransitionType.downToUp);
+ default:
+ return null;
+ }
+ },
+ supportedLocales: [Locale('en')],
+ localizationsDelegates: [
+ AppLocalizations.delegate,
+ GlobalWidgetsLocalizations.delegate,
+ GlobalMaterialLocalizations.delegate
+ ],
+ localeResolutionCallback:
+ (Locale locale, Iterable supportedLocales) {
+ return locale;
+ },
+ theme: ThemeData(
+ primaryColor: HexColor("#2f4ffe"),
+ backgroundColor: Colors.white,
+ buttonTheme: ButtonThemeData(
+ hoverColor: Colors.transparent,
+ buttonColor: HexColor("#529cda"),
+ colorScheme: colorSchemeButton(),
+ minWidth: double.infinity,
+ height: 70,
+ shape: RoundedRectangleBorder(
+ borderRadius: new BorderRadius.circular(5.0),
+ ),
+ ),
+ appBarTheme: AppBarTheme(
+ color: Colors.white,
+ textTheme: textThemeAppBar(),
+ elevation: 0.0,
+ brightness: Brightness.light,
+ iconTheme: IconThemeData(color: Colors.black),
+ actionsIconTheme: IconThemeData(
+ color: Colors.black,
+ )),
+ accentColor: Colors.black,
+ accentTextTheme: textThemeAccent(),
+ textTheme: textThemeMain(),
+ primaryTextTheme: textThemePrimary()),
+ home: _defaultHome),
+ );
+ },
+ );
+}
diff --git a/LabelStoreMax/lib/pages/about.dart b/LabelStoreMax/lib/pages/about.dart
new file mode 100644
index 0000000..92aee13
--- /dev/null
+++ b/LabelStoreMax/lib/pages/about.dart
@@ -0,0 +1,112 @@
+// Label StoreMAX
+//
+// Created by Anthony Gordon.
+// Copyright © 2019 WooSignal. All rights reserved.
+//
+
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+
+import 'package:flutter/material.dart';
+import 'package:label_storemax/helpers/tools.dart';
+import 'package:label_storemax/labelconfig.dart';
+import 'package:label_storemax/widgets/woosignal_ui.dart';
+import 'package:package_info/package_info.dart';
+
+class AboutPage extends StatefulWidget {
+ AboutPage();
+
+ @override
+ _AboutPageState createState() => _AboutPageState();
+}
+
+class _AboutPageState extends State {
+ _AboutPageState();
+
+ @override
+ void initState() {
+ super.initState();
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ appBar: AppBar(
+ backgroundColor: Colors.transparent,
+ leading: IconButton(
+ icon: Icon(Icons.close),
+ onPressed: () {
+ Navigator.pop(context);
+ },
+ ),
+ title: Text(trans(context, "About"),
+ style: Theme.of(context).primaryTextTheme.subhead),
+ centerTitle: true,
+ ),
+ body: SafeArea(
+ minimum: safeAreaDefault(),
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children: [
+ Flexible(
+ child: storeLogo(),
+ flex: 2,
+ ),
+ Flexible(
+ child: Column(
+ crossAxisAlignment: CrossAxisAlignment.center,
+ mainAxisAlignment: MainAxisAlignment.spaceAround,
+ children: [
+ wsMenuItem(context,
+ title: trans(context, "Privacy policy"),
+ leading: Icon(Icons.people),
+ action: _actionPrivacy),
+ wsMenuItem(context,
+ title: trans(context, "Terms and conditions"),
+ leading: Icon(Icons.description),
+ action: _actionTerms),
+ FutureBuilder(
+ future: PackageInfo.fromPlatform(),
+ builder: (BuildContext context,
+ AsyncSnapshot snapshot) {
+ switch (snapshot.connectionState) {
+ case ConnectionState.none:
+ return Text("");
+ case ConnectionState.active:
+ case ConnectionState.waiting:
+ return Text("");
+ case ConnectionState.done:
+ if (snapshot.hasError) return Text("");
+ return Padding(
+ child: Text(
+ trans(context, "Version") +
+ ": " +
+ snapshot.data.version,
+ style:
+ Theme.of(context).primaryTextTheme.body2),
+ padding: EdgeInsets.only(top: 15, bottom: 15),
+ );
+ }
+ return null; // unreachable
+ },
+ )
+ ],
+ ),
+ flex: 2,
+ ),
+ ],
+ ),
+ ),
+ );
+ }
+
+ void _actionTerms() {
+ openBrowserTab(url: app_terms_url);
+ }
+
+ void _actionPrivacy() {
+ openBrowserTab(url: app_privacy_url);
+ }
+}
diff --git a/LabelStoreMax/lib/pages/browse_category.dart b/LabelStoreMax/lib/pages/browse_category.dart
new file mode 100644
index 0000000..887ef22
--- /dev/null
+++ b/LabelStoreMax/lib/pages/browse_category.dart
@@ -0,0 +1,146 @@
+// Label StoreMAX
+//
+// Created by Anthony Gordon.
+// Copyright © 2019 WooSignal. All rights reserved.
+//
+
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+
+import 'package:flutter/material.dart';
+import 'package:label_storemax/helpers/tools.dart';
+import 'package:woosignal/models/response/product_category.dart';
+import 'package:woosignal/models/response/products.dart' as WS;
+import 'package:woosignal/woosignal.dart';
+import 'package:label_storemax/widgets/woosignal_ui.dart';
+
+class BrowseCategoryPage extends StatefulWidget {
+ BrowseCategoryPage();
+
+ @override
+ _BrowseCategoryPageState createState() => _BrowseCategoryPageState();
+}
+
+class _BrowseCategoryPageState extends State {
+ _BrowseCategoryPageState();
+
+ List _products = [];
+ var _productsController = ScrollController();
+
+ ProductCategory _selectedCategory;
+ bool _isLoading;
+ int _page;
+ bool _shouldStopRequests;
+ bool waitForNextRequest;
+
+ @override
+ void initState() {
+ super.initState();
+
+ _isLoading = true;
+
+ _page = 1;
+ _shouldStopRequests = false;
+ waitForNextRequest = false;
+
+ _productsController.addListener(() {
+ double maxScroll = _productsController.position.maxScrollExtent;
+ double currentScroll = _productsController.position.pixels;
+ double delta = 50.0;
+ if (maxScroll - currentScroll <= delta) {
+ if (_shouldStopRequests) {
+ return;
+ }
+ if (waitForNextRequest) {
+ return;
+ }
+ WooSignal.getInstance(config: wsConfig).then((wcStore) {
+ waitForNextRequest = true;
+ _page = _page + 1;
+ wcStore
+ .getProducts(perPage: 50, page: _page, status: "publish")
+ .then((products) {
+ waitForNextRequest = false;
+ if (products.length == 0) {
+ _shouldStopRequests = true;
+ }
+ _products.addAll(products.toList());
+ setState(() {});
+ });
+ });
+ }
+ });
+ }
+
+ _fetchProductsForCategory() {
+ WooSignal.getInstance(config: wsConfig).then((wcStore) {
+ wcStore
+ .getProducts(category: _selectedCategory.id.toString(), perPage: 50)
+ .then((products) {
+ _products = products;
+ setState(() {
+ _isLoading = false;
+ });
+ });
+ });
+ }
+
+ @override
+ void didChangeDependencies() {
+ super.didChangeDependencies();
+ if (_isLoading) {
+ _selectedCategory = ModalRoute.of(context).settings.arguments;
+ _fetchProductsForCategory();
+ }
+ }
+
+ @override
+ void dispose() {
+ super.dispose();
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ appBar: AppBar(
+ backgroundColor: Colors.transparent,
+ title: Column(
+ crossAxisAlignment: CrossAxisAlignment.center,
+ mainAxisAlignment: MainAxisAlignment.center,
+ children: [
+ Text(trans(context, "Browse"),
+ style: Theme.of(context).primaryTextTheme.subhead),
+ Text(_selectedCategory.name,
+ style: Theme.of(context).primaryTextTheme.title)
+ ],
+ ),
+ ),
+ body: SafeArea(
+ minimum: safeAreaDefault(),
+ child: _isLoading
+ ? Center(
+ child: showAppLoader(),
+ )
+ : Column(
+ mainAxisAlignment: MainAxisAlignment.spaceEvenly,
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ Expanded(
+ child: (_products.length != null && _products.length > 0
+ ? GridView.count(
+ crossAxisCount: 2,
+ controller: _productsController,
+ children: List.generate(_products.length, (index) {
+ return wsCardProductItem(context,
+ index: index, product: _products[index]);
+ }))
+ : wsNoResults(context)),
+ flex: 1,
+ ),
+ ],
+ ),
+ ),
+ );
+ }
+}
diff --git a/LabelStoreMax/lib/pages/browse_search.dart b/LabelStoreMax/lib/pages/browse_search.dart
new file mode 100644
index 0000000..5803524
--- /dev/null
+++ b/LabelStoreMax/lib/pages/browse_search.dart
@@ -0,0 +1,137 @@
+// Label StoreMAX
+//
+// Created by Anthony Gordon.
+// Copyright © 2019 WooSignal. All rights reserved.
+//
+
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+
+import 'package:flutter/material.dart';
+import 'package:label_storemax/helpers/tools.dart';
+import 'package:woosignal/models/response/products.dart' as WS;
+import 'package:woosignal/woosignal.dart';
+import 'package:label_storemax/widgets/woosignal_ui.dart';
+
+class BrowseSearchPage extends StatefulWidget {
+ BrowseSearchPage();
+
+ @override
+ _BrowseSearchState createState() => _BrowseSearchState();
+}
+
+class _BrowseSearchState extends State {
+ _BrowseSearchState();
+
+ var _productsController = ScrollController();
+ List _products = [];
+ String _search;
+ bool _isLoading;
+ int _page;
+ bool _shouldStopRequests;
+ bool waitForNextRequest;
+
+ @override
+ void initState() {
+ super.initState();
+
+ _isLoading = true;
+ _page = 1;
+ _shouldStopRequests = false;
+ waitForNextRequest = false;
+
+ _productsController.addListener(() {
+ double maxScroll = _productsController.position.maxScrollExtent;
+ double currentScroll = _productsController.position.pixels;
+ double delta = 50.0;
+ if (maxScroll - currentScroll <= delta) {
+ if (_shouldStopRequests) {
+ return;
+ }
+ if (waitForNextRequest) {
+ return;
+ }
+ _fetchProductsForSearch(_page);
+ }
+ });
+ }
+
+ _fetchProductsForSearch(int page) {
+ WooSignal.getInstance(config: wsConfig).then((wcStore) {
+ waitForNextRequest = true;
+ _page = _page + 1;
+ wcStore
+ .getProducts(
+ search: _search, perPage: 100, page: page, status: "publish")
+ .then((products) {
+ waitForNextRequest = false;
+ if (products.length == 0) {
+ _shouldStopRequests = true;
+ }
+ _products.addAll(products.toList());
+ setState(() {
+ _isLoading = false;
+ });
+ });
+ });
+ }
+
+ @override
+ void didChangeDependencies() {
+ super.didChangeDependencies();
+ if (_isLoading) {
+ _search = ModalRoute.of(context).settings.arguments;
+ _fetchProductsForSearch(_page);
+ }
+ }
+
+ @override
+ void dispose() {
+ super.dispose();
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ appBar: AppBar(
+ backgroundColor: Colors.transparent,
+ title: Column(
+ crossAxisAlignment: CrossAxisAlignment.center,
+ mainAxisAlignment: MainAxisAlignment.center,
+ children: [
+ Text(trans(context, "Search results for"),
+ style: Theme.of(context).primaryTextTheme.subhead),
+ Text("\"" + _search + "\"",
+ style: Theme.of(context).primaryTextTheme.title)
+ ],
+ ),
+ ),
+ body: SafeArea(
+ minimum: safeAreaDefault(),
+ child: _isLoading
+ ? Center(
+ child: showAppLoader(),
+ )
+ : Column(
+ mainAxisAlignment: MainAxisAlignment.spaceEvenly,
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ Expanded(
+ child: (_products.length != null && _products.length > 0
+ ? GridView.count(
+ crossAxisCount: 2,
+ controller: _productsController,
+ children: List.generate(_products.length, (index) {
+ return wsCardProductItem(context,
+ index: index, product: _products[index]);
+ }))
+ : wsNoResults(context)),
+ flex: 1,
+ ),
+ ],
+ ),
+ ),
+ );
+ }
+}
diff --git a/LabelStoreMax/lib/pages/cart.dart b/LabelStoreMax/lib/pages/cart.dart
new file mode 100644
index 0000000..ba3cb14
--- /dev/null
+++ b/LabelStoreMax/lib/pages/cart.dart
@@ -0,0 +1,245 @@
+// Label StoreMAX
+//
+// Created by Anthony Gordon.
+// Copyright © 2019 WooSignal. All rights reserved.
+//
+
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+
+import 'package:flutter/cupertino.dart';
+import 'package:flutter/material.dart';
+import 'package:label_storemax/helpers/tools.dart';
+import 'package:label_storemax/widgets/woosignal_ui.dart';
+import 'package:woosignal/woosignal.dart';
+
+class CartPage extends StatefulWidget {
+ CartPage();
+
+ @override
+ _CartPageState createState() => _CartPageState();
+}
+
+class _CartPageState extends State {
+ _CartPageState();
+
+ bool _isLoading = false;
+ bool _isCartEmpty = false;
+ List _cartLines;
+
+ @override
+ void initState() {
+ super.initState();
+ _cartLines = [];
+ _isLoading = true;
+ _cartCheck();
+ }
+
+ _cartCheck() async {
+ List cart = await Cart.getInstance.getCart();
+ if (cart.length <= 0) {
+ setState(() {
+ _isLoading = false;
+ _isCartEmpty = (cart.length <= 0) ? true : false;
+ });
+ return [];
+ }
+ WooSignal wooSignal = await WooSignal.getInstance(config: wsConfig);
+ List