├── .gitattributes
├── .gitignore
├── README.md
├── Screenshots
├── add_to_cart.png
├── cart.png
├── categories.png
├── checkout.png
├── home.png
├── login.png
├── orders.png
├── orders_detail.png
├── product_detail.png
├── profile.png
└── store_info.png
├── ankii_shopii
├── .gitignore
├── .metadata
├── README.md
├── android
│ ├── .gitignore
│ ├── app
│ │ ├── build.gradle
│ │ ├── google-services.json
│ │ └── src
│ │ │ ├── debug
│ │ │ └── AndroidManifest.xml
│ │ │ ├── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── kotlin
│ │ │ │ └── com
│ │ │ │ │ └── ankii
│ │ │ │ │ └── ankiishopii
│ │ │ │ │ └── MainActivity.kt
│ │ │ └── res
│ │ │ │ ├── drawable
│ │ │ │ └── launch_background.xml
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ │ └── values
│ │ │ │ └── styles.xml
│ │ │ └── profile
│ │ │ └── AndroidManifest.xml
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ └── gradle-wrapper.properties
│ └── settings.gradle
├── assets
│ ├── cliparts
│ │ └── cart_empty.png
│ └── fonts
│ │ ├── IconFont.ttf
│ │ └── Jura.ttf
├── ios
│ ├── .gitignore
│ ├── Flutter
│ │ ├── AppFrameworkInfo.plist
│ │ ├── Debug.xcconfig
│ │ └── Release.xcconfig
│ ├── Runner.xcodeproj
│ │ ├── project.pbxproj
│ │ ├── project.xcworkspace
│ │ │ ├── contents.xcworkspacedata
│ │ │ └── xcshareddata
│ │ │ │ ├── IDEWorkspaceChecks.plist
│ │ │ │ └── WorkspaceSettings.xcsettings
│ │ └── xcshareddata
│ │ │ └── xcschemes
│ │ │ └── Runner.xcscheme
│ ├── Runner.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ ├── IDEWorkspaceChecks.plist
│ │ │ └── WorkspaceSettings.xcsettings
│ └── Runner
│ │ ├── AppDelegate.swift
│ │ ├── Assets.xcassets
│ │ ├── AppIcon.appiconset
│ │ │ ├── Contents.json
│ │ │ ├── Icon-App-1024x1024@1x.png
│ │ │ ├── Icon-App-20x20@1x.png
│ │ │ ├── Icon-App-20x20@2x.png
│ │ │ ├── Icon-App-20x20@3x.png
│ │ │ ├── Icon-App-29x29@1x.png
│ │ │ ├── Icon-App-29x29@2x.png
│ │ │ ├── Icon-App-29x29@3x.png
│ │ │ ├── Icon-App-40x40@1x.png
│ │ │ ├── Icon-App-40x40@2x.png
│ │ │ ├── Icon-App-40x40@3x.png
│ │ │ ├── Icon-App-60x60@2x.png
│ │ │ ├── Icon-App-60x60@3x.png
│ │ │ ├── Icon-App-76x76@1x.png
│ │ │ ├── Icon-App-76x76@2x.png
│ │ │ └── Icon-App-83.5x83.5@2x.png
│ │ └── LaunchImage.imageset
│ │ │ ├── Contents.json
│ │ │ ├── LaunchImage.png
│ │ │ ├── LaunchImage@2x.png
│ │ │ ├── LaunchImage@3x.png
│ │ │ └── README.md
│ │ ├── Base.lproj
│ │ ├── LaunchScreen.storyboard
│ │ └── Main.storyboard
│ │ ├── Info.plist
│ │ └── Runner-Bridging-Header.h
├── lib
│ ├── blocs
│ │ ├── account_bloc
│ │ │ ├── bloc.dart
│ │ │ ├── event.dart
│ │ │ ├── service.dart
│ │ │ └── state.dart
│ │ ├── bloc_service.dart
│ │ ├── cart_bloc
│ │ │ ├── bloc.dart
│ │ │ ├── event.dart
│ │ │ ├── service.dart
│ │ │ └── state.dart
│ │ ├── category_bloc
│ │ │ ├── bloc.dart
│ │ │ ├── event.dart
│ │ │ ├── service.dart
│ │ │ └── state.dart
│ │ ├── checkout_bloc
│ │ │ ├── bloc.dart
│ │ │ ├── event.dart
│ │ │ ├── service.dart
│ │ │ └── state.dart
│ │ ├── delivery_address_bloc
│ │ │ ├── bloc.dart
│ │ │ ├── event.dart
│ │ │ ├── service.dart
│ │ │ └── state.dart
│ │ ├── favorite_bloc
│ │ │ ├── bloc.dart
│ │ │ ├── event.dart
│ │ │ ├── service.dart
│ │ │ └── state.dart
│ │ ├── login_bloc
│ │ │ ├── bloc.dart
│ │ │ ├── event.dart
│ │ │ ├── service.dart
│ │ │ └── state.dart
│ │ ├── ordering_bloc
│ │ │ ├── bloc.dart
│ │ │ ├── event.dart
│ │ │ ├── service.dart
│ │ │ └── state.dart
│ │ ├── product_bloc
│ │ │ ├── bloc.dart
│ │ │ ├── event.dart
│ │ │ ├── service.dart
│ │ │ └── state.dart
│ │ └── shop_bloc
│ │ │ ├── bloc.dart
│ │ │ ├── event.dart
│ │ │ ├── service.dart
│ │ │ └── state.dart
│ ├── global
│ │ ├── global_function.dart
│ │ └── global_variable.dart
│ ├── helpers
│ │ ├── http_helper.dart
│ │ ├── media_query_helper.dart
│ │ ├── shared_preferences_helper.dart
│ │ └── string_helper.dart
│ ├── main.dart
│ ├── models
│ │ ├── account_model.dart
│ │ ├── category_model.dart
│ │ ├── favorite_model.dart
│ │ ├── login_model.dart
│ │ ├── ordering_model.dart
│ │ ├── product_model.dart
│ │ └── shop_account_model.dart
│ ├── pages
│ │ ├── account
│ │ │ ├── account_page.dart
│ │ │ └── login_page.dart
│ │ ├── cart
│ │ │ └── cart_page.dart
│ │ ├── categories
│ │ │ └── categories_page.dart
│ │ ├── checkout
│ │ │ └── check_out_page.dart
│ │ ├── delivery_address
│ │ │ ├── add_delivery_address_page.dart
│ │ │ └── delivery_address_page.dart
│ │ ├── favorite
│ │ │ └── favorite_page.dart
│ │ ├── home
│ │ │ └── home_page.dart
│ │ ├── navigator
│ │ │ └── navigator_page.dart
│ │ ├── notification
│ │ │ └── notification_page.dart
│ │ ├── ordering
│ │ │ ├── ordering_detail_page.dart
│ │ │ └── ordering_page.dart
│ │ ├── product
│ │ │ ├── product_detail_page.dart
│ │ │ └── product_page.dart
│ │ ├── search
│ │ │ └── search_page.dart
│ │ └── shop_account
│ │ │ └── shop_account_detail_page.dart
│ ├── routes.dart
│ ├── themes
│ │ ├── app_icon.dart
│ │ └── constant.dart
│ └── widgets
│ │ ├── add_to_cart_effect.dart
│ │ ├── app_bar.dart
│ │ ├── base
│ │ ├── animated_button.dart
│ │ └── custom_ontap_widget.dart
│ │ ├── bottom_navigation_bar.dart
│ │ ├── custom_sliver_appbar.dart
│ │ ├── debug_widget.dart
│ │ ├── google_map
│ │ └── custom_google_map.dart
│ │ ├── graphic_widget.dart
│ │ ├── image_viewer.dart
│ │ ├── loading_dialog.dart
│ │ ├── notification_item.dart
│ │ ├── product_item.dart
│ │ └── tab_view.dart
├── pubspec.lock
├── pubspec.yaml
└── test
│ └── widget_test.dart
├── api_SHOPii
├── .vs
│ └── SHOPii
│ │ ├── DesignTimeBuild
│ │ ├── .dtbcache
│ │ └── .dtbcache.v2
│ │ ├── config
│ │ └── applicationhost.config
│ │ └── v16
│ │ ├── .suo
│ │ └── Server
│ │ └── sqlite3
│ │ ├── db.lock
│ │ └── storage.ide
├── SHOPii.sln
└── SHOPii
│ ├── .config
│ └── dotnet-tools.json
│ ├── .vscode
│ ├── launch.json
│ └── tasks.json
│ ├── Controllers
│ └── API
│ │ ├── AccountsController.cs
│ │ ├── CategoriesController.cs
│ │ ├── DeliveryAddressesController.cs
│ │ ├── FavoritesController.cs
│ │ ├── OrderingDetailsController.cs
│ │ ├── OrderingsController.cs
│ │ ├── ProductImagesController.cs
│ │ ├── ProductsController.cs
│ │ └── ShopAccountsController.cs
│ ├── Helpers
│ └── QueryHelper.cs
│ ├── Models
│ ├── Account.cs
│ ├── Category.cs
│ ├── DeliveryAddress.cs
│ ├── Favorite.cs
│ ├── Ordering.cs
│ ├── OrderingDetail.cs
│ ├── Product.cs
│ ├── ProductImage.cs
│ ├── SHOPIIContext.cs
│ └── ShopAccount.cs
│ ├── Program.cs
│ ├── Properties
│ ├── PublishProfiles
│ │ ├── IISProfile.pubxml
│ │ └── IISProfile.pubxml.user
│ └── launchSettings.json
│ ├── SHOPii.csproj
│ ├── SHOPii.csproj.user
│ ├── Services
│ └── UserService.cs
│ ├── Startup.cs
│ ├── appsettings.Development.json
│ ├── appsettings.json
│ └── obj
│ └── Debug
│ └── netcoreapp3.1
│ ├── .NETCoreApp,Version=v3.1.AssemblyAttributes.cs
│ ├── SHOPii.AssemblyInfo.cs
│ ├── SHOPii.AssemblyInfoInputs.cache
│ └── SHOPii.csprojAssemblyReference.cache
├── sql_SHOPii
└── sqlserver_backup
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | api_SHOPii/.vs/SHOPii/DesignTimeBuild/.dtbcache.v2
3 | api_SHOPii/.vs/SHOPii/v16/.suo
4 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # flutter_SHOPii - Ecommerce App with Flutter and ASP .NET Core
2 |
3 | ## Example Account to Login:
4 | ```bash
5 | ankiimation - 123456
6 | ```
7 |
8 | ## Usage
9 | - If you dont care about ASP .net Core, just play with Flutter, the API was deployed ^^
10 | - If you play with ASP .net Core or wanna use this project offline (for faster loading):
11 | + Open the API Project and run it with Visual Studio
12 | + Change the DOMAIN in http_helper.dart
13 |
14 | ## Images
15 | 
16 | 
17 | 
18 | 
19 |
20 |
21 |
--------------------------------------------------------------------------------
/Screenshots/add_to_cart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/Screenshots/add_to_cart.png
--------------------------------------------------------------------------------
/Screenshots/cart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/Screenshots/cart.png
--------------------------------------------------------------------------------
/Screenshots/categories.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/Screenshots/categories.png
--------------------------------------------------------------------------------
/Screenshots/checkout.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/Screenshots/checkout.png
--------------------------------------------------------------------------------
/Screenshots/home.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/Screenshots/home.png
--------------------------------------------------------------------------------
/Screenshots/login.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/Screenshots/login.png
--------------------------------------------------------------------------------
/Screenshots/orders.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/Screenshots/orders.png
--------------------------------------------------------------------------------
/Screenshots/orders_detail.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/Screenshots/orders_detail.png
--------------------------------------------------------------------------------
/Screenshots/product_detail.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/Screenshots/product_detail.png
--------------------------------------------------------------------------------
/Screenshots/profile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/Screenshots/profile.png
--------------------------------------------------------------------------------
/Screenshots/store_info.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/Screenshots/store_info.png
--------------------------------------------------------------------------------
/ankii_shopii/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 |
12 | # IntelliJ related
13 | *.iml
14 | *.ipr
15 | *.iws
16 | .idea/
17 |
18 | # The .vscode folder contains launch configuration and tasks you configure in
19 | # VS Code which you may wish to be included in version control, so this line
20 | # is commented out by default.
21 | #.vscode/
22 |
23 | # Flutter/Dart/Pub related
24 | **/doc/api/
25 | .dart_tool/
26 | .flutter-plugins
27 | .flutter-plugins-dependencies
28 | .packages
29 | .pub-cache/
30 | .pub/
31 | /build/
32 |
33 | # Web related
34 | lib/generated_plugin_registrant.dart
35 |
36 | # Symbolication related
37 | app.*.symbols
38 |
39 | # Obfuscation related
40 | app.*.map.json
41 |
42 | # Exceptions to above rules.
43 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
44 |
--------------------------------------------------------------------------------
/ankii_shopii/.metadata:
--------------------------------------------------------------------------------
1 | # This file tracks properties of this Flutter project.
2 | # Used by Flutter tool to assess capabilities and perform upgrades etc.
3 | #
4 | # This file should be version controlled and should not be manually edited.
5 |
6 | version:
7 | revision: 1ad9baa8b99a2897c20f9e6e54d3b9b359ade314
8 | channel: stable
9 |
10 | project_type: app
11 |
--------------------------------------------------------------------------------
/ankii_shopii/README.md:
--------------------------------------------------------------------------------
1 | # ankiishopii
2 |
3 | Simple Ecommerce App
4 |
5 | ## Getting Started
6 |
7 | This project is a starting point for a Flutter application.
8 |
9 | A few resources to get you started if this is your first Flutter project:
10 |
11 | - [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
12 | - [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
13 |
14 | For help getting started with Flutter, view our
15 | [online documentation](https://flutter.dev/docs), which offers tutorials,
16 | samples, guidance on mobile development, and a full API reference.
17 |
--------------------------------------------------------------------------------
/ankii_shopii/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
--------------------------------------------------------------------------------
/ankii_shopii/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | def localProperties = new Properties()
2 | def localPropertiesFile = rootProject.file('local.properties')
3 | if (localPropertiesFile.exists()) {
4 | localPropertiesFile.withReader('UTF-8') { reader ->
5 | localProperties.load(reader)
6 | }
7 | }
8 |
9 | def flutterRoot = localProperties.getProperty('flutter.sdk')
10 | if (flutterRoot == null) {
11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 | }
13 |
14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15 | if (flutterVersionCode == null) {
16 | flutterVersionCode = '1'
17 | }
18 |
19 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
20 | if (flutterVersionName == null) {
21 | flutterVersionName = '1.0'
22 | }
23 |
24 | apply plugin: 'com.android.application'
25 | apply plugin: 'kotlin-android'
26 | apply plugin: 'com.google.gms.google-services'
27 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
28 |
29 | android {
30 | compileSdkVersion 29
31 |
32 | sourceSets {
33 | main.java.srcDirs += 'src/main/kotlin'
34 | }
35 |
36 | lintOptions {
37 | disable 'InvalidPackage'
38 | }
39 |
40 | defaultConfig {
41 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
42 | applicationId "com.ankii.shopii"
43 | minSdkVersion 21
44 | targetSdkVersion 29
45 | versionCode flutterVersionCode.toInteger()
46 | versionName flutterVersionName
47 | }
48 |
49 | buildTypes {
50 | release {
51 | // TODO: Add your own signing config for the release build.
52 | // Signing with the debug keys for now, so `flutter run --release` works.
53 | signingConfig signingConfigs.debug
54 | }
55 | }
56 | }
57 |
58 | flutter {
59 | source '../..'
60 | }
61 |
62 | dependencies {
63 |
64 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
65 | }
66 |
--------------------------------------------------------------------------------
/ankii_shopii/android/app/google-services.json:
--------------------------------------------------------------------------------
1 | {
2 | "project_info": {
3 | "project_number": "203210645878",
4 | "firebase_url": "https://shopii-c06aa.firebaseio.com",
5 | "project_id": "shopii-c06aa",
6 | "storage_bucket": "shopii-c06aa.appspot.com"
7 | },
8 | "client": [
9 | {
10 | "client_info": {
11 | "mobilesdk_app_id": "1:203210645878:android:7479e5bd34303b28ad9a57",
12 | "android_client_info": {
13 | "package_name": "com.ankii.shopii"
14 | }
15 | },
16 | "oauth_client": [
17 | {
18 | "client_id": "203210645878-rn430dfeiugpn0d5a2iei1314jvjq7kl.apps.googleusercontent.com",
19 | "client_type": 3
20 | }
21 | ],
22 | "api_key": [
23 | {
24 | "current_key": "AIzaSyBztRkdhFSUrQRjpr3E7SwyBpEC-9xKqa4"
25 | }
26 | ],
27 | "services": {
28 | "appinvite_service": {
29 | "other_platform_oauth_client": [
30 | {
31 | "client_id": "203210645878-rn430dfeiugpn0d5a2iei1314jvjq7kl.apps.googleusercontent.com",
32 | "client_type": 3
33 | }
34 | ]
35 | }
36 | }
37 | }
38 | ],
39 | "configuration_version": "1"
40 | }
--------------------------------------------------------------------------------
/ankii_shopii/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ankii_shopii/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
8 |
12 |
14 |
15 |
16 |
23 |
27 |
31 |
32 |
37 |
41 |
42 |
43 |
44 |
45 |
46 |
48 |
51 |
52 |
53 |
54 |
--------------------------------------------------------------------------------
/ankii_shopii/android/app/src/main/kotlin/com/ankii/ankiishopii/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.ankii.shopii
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity() {
6 | }
7 |
--------------------------------------------------------------------------------
/ankii_shopii/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/ankii_shopii/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/ankii_shopii/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/ankii_shopii/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/ankii_shopii/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/ankii_shopii/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/ankii_shopii/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/ankii_shopii/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ankii_shopii/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.3.50'
3 | repositories {
4 | google()
5 | jcenter()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:3.5.0'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | classpath 'com.google.gms:google-services:4.3.3'
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | google()
18 | jcenter()
19 | }
20 | }
21 |
22 | rootProject.buildDir = '../build'
23 | subprojects {
24 | project.buildDir = "${rootProject.buildDir}/${project.name}"
25 | }
26 | subprojects {
27 | project.evaluationDependsOn(':app')
28 | }
29 |
30 | task clean(type: Delete) {
31 | delete rootProject.buildDir
32 | }
33 |
--------------------------------------------------------------------------------
/ankii_shopii/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.enableR8=true
3 | android.useAndroidX=true
4 | android.enableJetifier=true
5 |
--------------------------------------------------------------------------------
/ankii_shopii/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Jun 23 08:50:38 CEST 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip
7 |
--------------------------------------------------------------------------------
/ankii_shopii/android/settings.gradle:
--------------------------------------------------------------------------------
1 | // Copyright 2014 The Flutter Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | include ':app'
6 |
7 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
8 | def properties = new Properties()
9 |
10 | assert localPropertiesFile.exists()
11 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
12 |
13 | def flutterSdkPath = properties.getProperty("flutter.sdk")
14 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
15 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
16 |
--------------------------------------------------------------------------------
/ankii_shopii/assets/cliparts/cart_empty.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/assets/cliparts/cart_empty.png
--------------------------------------------------------------------------------
/ankii_shopii/assets/fonts/IconFont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/assets/fonts/IconFont.ttf
--------------------------------------------------------------------------------
/ankii_shopii/assets/fonts/Jura.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/assets/fonts/Jura.ttf
--------------------------------------------------------------------------------
/ankii_shopii/ios/.gitignore:
--------------------------------------------------------------------------------
1 | *.mode1v3
2 | *.mode2v3
3 | *.moved-aside
4 | *.pbxuser
5 | *.perspectivev3
6 | **/*sync/
7 | .sconsign.dblite
8 | .tags*
9 | **/.vagrant/
10 | **/DerivedData/
11 | Icon?
12 | **/Pods/
13 | **/.symlinks/
14 | profile
15 | xcuserdata
16 | **/.generated/
17 | Flutter/App.framework
18 | Flutter/Flutter.framework
19 | Flutter/Flutter.podspec
20 | Flutter/Generated.xcconfig
21 | Flutter/app.flx
22 | Flutter/app.zip
23 | Flutter/flutter_assets/
24 | Flutter/flutter_export_environment.sh
25 | ServiceDefinitions.json
26 | Runner/GeneratedPluginRegistrant.*
27 |
28 | # Exceptions to above rules.
29 | !default.mode1v3
30 | !default.mode2v3
31 | !default.pbxuser
32 | !default.perspectivev3
33 |
--------------------------------------------------------------------------------
/ankii_shopii/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 8.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ankii_shopii/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ankii_shopii/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
39 |
40 |
41 |
42 |
43 |
44 |
54 |
56 |
62 |
63 |
64 |
65 |
66 |
67 |
73 |
75 |
81 |
82 |
83 |
84 |
86 |
87 |
90 |
91 |
92 |
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-App-20x20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-App-20x20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-App-29x29@1x.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-App-29x29@2x.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-App-29x29@3x.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-App-40x40@2x.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-App-40x40@3x.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-App-60x60@2x.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "60x60",
53 | "idiom" : "iphone",
54 | "filename" : "Icon-App-60x60@3x.png",
55 | "scale" : "3x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "Icon-App-20x20@1x.png",
61 | "scale" : "1x"
62 | },
63 | {
64 | "size" : "20x20",
65 | "idiom" : "ipad",
66 | "filename" : "Icon-App-20x20@2x.png",
67 | "scale" : "2x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "Icon-App-29x29@1x.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "29x29",
77 | "idiom" : "ipad",
78 | "filename" : "Icon-App-29x29@2x.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "Icon-App-40x40@1x.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "40x40",
89 | "idiom" : "ipad",
90 | "filename" : "Icon-App-40x40@2x.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "Icon-App-76x76@1x.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "76x76",
101 | "idiom" : "ipad",
102 | "filename" : "Icon-App-76x76@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "83.5x83.5",
107 | "idiom" : "ipad",
108 | "filename" : "Icon-App-83.5x83.5@2x.png",
109 | "scale" : "2x"
110 | },
111 | {
112 | "size" : "1024x1024",
113 | "idiom" : "ios-marketing",
114 | "filename" : "Icon-App-1024x1024@1x.png",
115 | "scale" : "1x"
116 | }
117 | ],
118 | "info" : {
119 | "version" : 1,
120 | "author" : "xcode"
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchImage.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchImage@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "LaunchImage@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ankiimation/flutter_SHOPii/2c2a45bbcade33ea97f13302092b044b62a09fc6/ankii_shopii/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | ankiishopii
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | $(FLUTTER_BUILD_NAME)
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | $(FLUTTER_BUILD_NUMBER)
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UISupportedInterfaceOrientations
30 |
31 | UIInterfaceOrientationPortrait
32 | UIInterfaceOrientationLandscapeLeft
33 | UIInterfaceOrientationLandscapeRight
34 |
35 | UISupportedInterfaceOrientations~ipad
36 |
37 | UIInterfaceOrientationPortrait
38 | UIInterfaceOrientationPortraitUpsideDown
39 | UIInterfaceOrientationLandscapeLeft
40 | UIInterfaceOrientationLandscapeRight
41 |
42 | UIViewControllerBasedStatusBarAppearance
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/ankii_shopii/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/ankii_shopii/lib/blocs/account_bloc/bloc.dart:
--------------------------------------------------------------------------------
1 | import 'package:ankiishopii/blocs/account_bloc/event.dart';
2 | import 'package:ankiishopii/blocs/account_bloc/service.dart';
3 | import 'package:ankiishopii/blocs/account_bloc/state.dart';
4 | import 'package:flutter_bloc/flutter_bloc.dart';
5 |
6 | class AccountBloc extends Bloc {
7 | AccountBloc(AccountState initialState) : super(initialState);
8 |
9 | @override
10 | Stream mapEventToState(AccountEvent event) async* {
11 | // TODO: implement mapEventToState
12 | if (event is GetLocalAccount) {
13 | yield* mapLoginEventToState(event);
14 | }
15 | }
16 |
17 | Stream mapLoginEventToState(GetLocalAccount event) async* {
18 | var rs = await AccountService().getAccountFromLocal();
19 | if (rs != null) {
20 | yield AccountLoaded(rs);
21 | } else {
22 | yield AccountLoadingFailed();
23 | }
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/ankii_shopii/lib/blocs/account_bloc/event.dart:
--------------------------------------------------------------------------------
1 | import 'package:equatable/equatable.dart';
2 |
3 | class AccountEvent extends Equatable {
4 | @override
5 | // TODO: implement props
6 | List