├── .github
└── FUNDING.yml
├── .gitignore
├── .metadata
├── README.md
├── android
├── .gitignore
├── .project
├── .settings
│ └── org.eclipse.buildship.core.prefs
├── app
│ ├── .classpath
│ ├── .project
│ ├── .settings
│ │ └── org.eclipse.buildship.core.prefs
│ ├── build.gradle
│ ├── proguard-rules.pro
│ ├── release
│ │ ├── app-release.apk
│ │ └── output.json
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── ic_launcher-web.png
│ │ ├── java
│ │ └── com
│ │ │ └── example
│ │ │ └── flutteruikit
│ │ │ └── MainActivity.java
│ │ └── res
│ │ ├── drawable
│ │ ├── ic_launcher_background.xml
│ │ ├── launch_background.xml
│ │ └── ui_kit.png
│ │ ├── mipmap-anydpi-v26
│ │ ├── ic_launcher.xml
│ │ └── ic_launcher_round.xml
│ │ ├── mipmap-hdpi
│ │ ├── ic_launcher.png
│ │ ├── ic_launcher_foreground.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-mdpi
│ │ ├── ic_launcher.png
│ │ ├── ic_launcher_foreground.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xhdpi
│ │ ├── ic_launcher.png
│ │ ├── ic_launcher_foreground.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xxhdpi
│ │ ├── ic_launcher.png
│ │ ├── ic_launcher_foreground.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xxxhdpi
│ │ ├── ic_launcher.png
│ │ ├── ic_launcher_foreground.png
│ │ └── ic_launcher_round.png
│ │ └── values
│ │ ├── ic_launcher_background.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── release
│ ├── app-release.apk
│ └── output.json
└── settings.gradle
├── assets
├── fonts
│ ├── Quicksand-Medium.ttf
│ ├── Quicksand_Bold.otf
│ ├── Quicksand_Book.otf
│ ├── Quicksand_Light.otf
│ ├── Raleway-Medium.ttf
│ └── Raleway-Regular.ttf
└── images
│ ├── blank.jpg
│ ├── dashboard.jpg
│ ├── login.jpg
│ ├── map.png
│ ├── payment.jpg
│ ├── pk.jpg
│ ├── profile.jpg
│ ├── setting.jpeg
│ ├── shopping.jpeg
│ ├── timeline.jpeg
│ └── verification.jpg
├── changelog.md
├── flutter_01.log
├── flutter_uikit.iml
├── flutter_uikit_android.iml
├── ios
├── .gitignore
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Podfile
├── Podfile.lock
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ └── IDEWorkspaceChecks.plist
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ ├── IDEWorkspaceChecks.plist
│ │ └── WorkspaceSettings.xcsettings
└── Runner
│ ├── AppDelegate.h
│ ├── AppDelegate.m
│ ├── 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
│ └── main.m
├── lib
├── di
│ └── dependency_injection.dart
├── inherited
│ ├── login_provider.dart
│ └── product_provider.dart
├── logic
│ ├── bloc
│ │ ├── cart_bloc.dart
│ │ ├── credit_card_bloc.dart
│ │ ├── login_bloc.dart
│ │ ├── menu_bloc.dart
│ │ ├── post_bloc.dart
│ │ └── product_bloc.dart
│ └── viewmodel
│ │ ├── cart_view_model.dart
│ │ ├── menu_view_model.dart
│ │ ├── post_view_model.dart
│ │ ├── product_view_model.dart
│ │ └── user_login_view_model.dart
├── main.dart
├── model
│ ├── fetch_process.dart
│ ├── login.dart
│ ├── menu.dart
│ ├── otp.dart
│ ├── post.dart
│ └── product.dart
├── myapp.dart
├── services
│ ├── abstract
│ │ └── i_otp_service.dart
│ ├── fetch_exception.dart
│ ├── mock
│ │ └── mock_otp_service.dart
│ ├── network_service.dart
│ ├── network_service_response.dart
│ ├── real
│ │ └── real_otp_service.dart
│ └── restclient.dart
├── ui
│ ├── page
│ │ ├── dashboard
│ │ │ ├── dashboard_one.page.dart
│ │ │ ├── dashboard_one
│ │ │ │ └── dashboard_menu_row.dart
│ │ │ ├── dashboard_two
│ │ │ │ └── dashboard_menu_row_two.dart
│ │ │ └── dashboard_two_page.dart
│ │ ├── home_page.dart
│ │ ├── login
│ │ │ ├── login_one
│ │ │ │ ├── login_card.dart
│ │ │ │ └── login_widget.dart
│ │ │ ├── login_page.dart
│ │ │ └── login_two_page.dart
│ │ ├── notfound
│ │ │ └── notfound_page.dart
│ │ ├── payment
│ │ │ ├── credit_card_page.dart
│ │ │ └── payment_success_page.dart
│ │ ├── profile
│ │ │ ├── profile_one_page.dart
│ │ │ └── profile_two_page.dart
│ │ ├── settings
│ │ │ └── settings_one_page.dart
│ │ ├── shopping
│ │ │ ├── product_detail_page.dart
│ │ │ ├── shopping_details
│ │ │ │ ├── shopping_action.dart
│ │ │ │ └── shopping_widget.dart
│ │ │ ├── shopping_details_page.dart
│ │ │ ├── shopping_one_page.dart
│ │ │ └── shopping_two
│ │ │ │ ├── product_card.dart
│ │ │ │ ├── product_desc.dart
│ │ │ │ └── product_detail_widgets.dart
│ │ └── timeline
│ │ │ ├── timeline_one_page.dart
│ │ │ └── timeline_two_page.dart
│ ├── tools
│ │ └── arc_clipper.dart
│ └── widgets
│ │ ├── about_tile.dart
│ │ ├── api_subscription.dart
│ │ ├── common_dialogs.dart
│ │ ├── common_divider.dart
│ │ ├── common_drawer.dart
│ │ ├── common_scaffold.dart
│ │ ├── common_switch.dart
│ │ ├── custom_float.dart
│ │ ├── gradient_button.dart
│ │ ├── label_below_icon.dart
│ │ ├── label_icon.dart
│ │ ├── login_background.dart
│ │ └── profile_tile.dart
└── utils
│ ├── translations.dart
│ └── uidata.dart
├── licence.txt
├── locale
├── i18n_en.json
└── i18n_hi.json
├── pubspec.lock
├── pubspec.yaml
├── raw
├── flutter_uikit_top.png
├── fu1.png
├── fu10.png
├── fu11.png
├── fu12.png
├── fu2.png
├── fu3.png
├── fu4.png
├── fu5.png
├── fu6.png
├── fu7.png
├── fu8.png
└── fu9.png
└── test
└── widget_test.dart
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4 | patreon: # Replace with a single Patreon username
5 | open_collective: # Replace with a single Open Collective username
6 | ko_fi: # Replace with a single Ko-fi username
7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9 | liberapay: # Replace with a single Liberapay username
10 | issuehunt: # Replace with a single IssueHunt username
11 | otechie: # Replace with a single Otechie username
12 | custom: ['https://www.paypal.me/imthepk/']
13 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | .dart_tool/
3 |
4 | .packages
5 | .pub/
6 |
7 | build/
8 |
9 | .flutter-plugins
10 |
11 | .properties
12 | key.properties
13 | .idea
14 | .vscode
--------------------------------------------------------------------------------
/.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: a18f5e84a1045551774a6c12fd40fa4997356931
8 | channel: master
9 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | *.class
3 | .gradle
4 | /local.properties
5 | /.idea/workspace.xml
6 | /.idea/libraries
7 | .DS_Store
8 | /build
9 | /captures
10 | GeneratedPluginRegistrant.java
11 |
--------------------------------------------------------------------------------
/android/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | android
4 | Project android created by Buildship.
5 |
6 |
7 |
8 |
9 | org.eclipse.buildship.core.gradleprojectbuilder
10 |
11 |
12 |
13 |
14 |
15 | org.eclipse.buildship.core.gradleprojectnature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/android/.settings/org.eclipse.buildship.core.prefs:
--------------------------------------------------------------------------------
1 | connection.project.dir=
2 | eclipse.preferences.version=1
3 |
--------------------------------------------------------------------------------
/android/app/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/android/app/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | app
4 | Project app created by Buildship.
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.buildship.core.gradleprojectbuilder
15 |
16 |
17 |
18 |
19 |
20 | org.eclipse.jdt.core.javanature
21 | org.eclipse.buildship.core.gradleprojectnature
22 |
23 |
24 |
--------------------------------------------------------------------------------
/android/app/.settings/org.eclipse.buildship.core.prefs:
--------------------------------------------------------------------------------
1 | connection.project.dir=..
2 | eclipse.preferences.version=1
3 |
--------------------------------------------------------------------------------
/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 | throw new GradleException("versionCode not found. Define flutter.versionCode in the local.properties file.")
17 | }
18 |
19 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
20 | if (flutterVersionName == null) {
21 | throw new GradleException("versionName not found. Define flutter.versionName in the local.properties file.")
22 | }
23 |
24 | apply plugin: 'com.android.application'
25 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
26 |
27 | def keystorePropertiesFile = rootProject.file("key.properties")
28 | def keystoreProperties = new Properties()
29 | keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
30 |
31 | android {
32 | compileSdkVersion 28
33 |
34 | lintOptions {
35 | disable 'InvalidPackage'
36 | }
37 |
38 | defaultConfig {
39 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
40 | applicationId "com.mtechviral.flutteruikit"
41 | minSdkVersion 16
42 | targetSdkVersion 28
43 | versionCode flutterVersionCode.toInteger()
44 | versionName flutterVersionName
45 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
46 |
47 | }
48 | signingConfigs {
49 | release {
50 | keyAlias keystoreProperties['keyAlias']
51 | keyPassword keystoreProperties['keyPassword']
52 | storeFile file(keystoreProperties['storeFile'])
53 | storePassword keystoreProperties['storePassword']
54 | }
55 | }
56 |
57 | buildTypes {
58 | release {
59 | // TODO: Add your own signing config for the release build.
60 | // Signing with the debug keys for now, so `flutter run --release` works.
61 | signingConfig signingConfigs.release
62 | minifyEnabled true
63 | useProguard true
64 |
65 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
66 | }
67 |
68 | }
69 |
70 | }
71 |
72 | flutter {
73 | source '../..'
74 | }
75 |
76 | dependencies {
77 | testImplementation 'junit:junit:4.12'
78 | androidTestImplementation 'com.android.support.test:runner:1.0.2'
79 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
80 | }
81 |
--------------------------------------------------------------------------------
/android/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | #Flutter Wrapper
2 | -keep class io.flutter.app.** { *; }
3 | -keep class io.flutter.plugin.** { *; }
4 | -keep class io.flutter.util.** { *; }
5 | -keep class io.flutter.view.** { *; }
6 | -keep class io.flutter.** { *; }
7 | -keep class io.flutter.plugins.** { *; }
--------------------------------------------------------------------------------
/android/app/release/app-release.apk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/android/app/release/app-release.apk
--------------------------------------------------------------------------------
/android/app/release/output.json:
--------------------------------------------------------------------------------
1 | [{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1,"versionName":"1.0.0","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
8 |
9 |
10 |
15 |
19 |
26 |
30 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/android/app/src/main/ic_launcher-web.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/android/app/src/main/ic_launcher-web.png
--------------------------------------------------------------------------------
/android/app/src/main/java/com/example/flutteruikit/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.example.flutteruikit;
2 |
3 | import android.os.Bundle;
4 | import io.flutter.app.FlutterActivity;
5 | import io.flutter.plugins.GeneratedPluginRegistrant;
6 | import android.view.WindowManager.LayoutParams;
7 |
8 | public class MainActivity extends FlutterActivity {
9 | @Override
10 | protected void onCreate(Bundle savedInstanceState) {
11 | super.onCreate(savedInstanceState);
12 | GeneratedPluginRegistrant.registerWith(this);
13 | getWindow().addFlags(LayoutParams.FLAG_SECURE);
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/ic_launcher_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
10 |
12 |
14 |
16 |
18 |
20 |
22 |
24 |
26 |
28 |
30 |
32 |
34 |
36 |
38 |
40 |
42 |
44 |
46 |
48 |
50 |
52 |
54 |
56 |
58 |
60 |
62 |
64 |
66 |
68 |
70 |
72 |
74 |
75 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | -
8 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/ui_kit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/android/app/src/main/res/drawable/ui_kit.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values/ic_launcher_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #1C1C1C
4 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | repositories {
3 | google()
4 | jcenter()
5 | }
6 |
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:3.1.2'
9 | }
10 | }
11 |
12 | allprojects {
13 | repositories {
14 | google()
15 | jcenter()
16 | }
17 | }
18 |
19 | rootProject.buildDir = '../build'
20 | subprojects {
21 | project.buildDir = "${rootProject.buildDir}/${project.name}"
22 | }
23 | subprojects {
24 | project.evaluationDependsOn(':app')
25 | }
26 |
27 | task clean(type: Delete) {
28 | delete rootProject.buildDir
29 | }
30 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/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-4.4-all.zip
7 |
--------------------------------------------------------------------------------
/android/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
10 | DEFAULT_JVM_OPTS=""
11 |
12 | APP_NAME="Gradle"
13 | APP_BASE_NAME=`basename "$0"`
14 |
15 | # Use the maximum available, or set MAX_FD != -1 to use that value.
16 | MAX_FD="maximum"
17 |
18 | warn ( ) {
19 | echo "$*"
20 | }
21 |
22 | die ( ) {
23 | echo
24 | echo "$*"
25 | echo
26 | exit 1
27 | }
28 |
29 | # OS specific support (must be 'true' or 'false').
30 | cygwin=false
31 | msys=false
32 | darwin=false
33 | case "`uname`" in
34 | CYGWIN* )
35 | cygwin=true
36 | ;;
37 | Darwin* )
38 | darwin=true
39 | ;;
40 | MINGW* )
41 | msys=true
42 | ;;
43 | esac
44 |
45 | # Attempt to set APP_HOME
46 | # Resolve links: $0 may be a link
47 | PRG="$0"
48 | # Need this for relative symlinks.
49 | while [ -h "$PRG" ] ; do
50 | ls=`ls -ld "$PRG"`
51 | link=`expr "$ls" : '.*-> \(.*\)$'`
52 | if expr "$link" : '/.*' > /dev/null; then
53 | PRG="$link"
54 | else
55 | PRG=`dirname "$PRG"`"/$link"
56 | fi
57 | done
58 | SAVED="`pwd`"
59 | cd "`dirname \"$PRG\"`/" >/dev/null
60 | APP_HOME="`pwd -P`"
61 | cd "$SAVED" >/dev/null
62 |
63 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
64 |
65 | # Determine the Java command to use to start the JVM.
66 | if [ -n "$JAVA_HOME" ] ; then
67 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
68 | # IBM's JDK on AIX uses strange locations for the executables
69 | JAVACMD="$JAVA_HOME/jre/sh/java"
70 | else
71 | JAVACMD="$JAVA_HOME/bin/java"
72 | fi
73 | if [ ! -x "$JAVACMD" ] ; then
74 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
75 |
76 | Please set the JAVA_HOME variable in your environment to match the
77 | location of your Java installation."
78 | fi
79 | else
80 | JAVACMD="java"
81 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
82 |
83 | Please set the JAVA_HOME variable in your environment to match the
84 | location of your Java installation."
85 | fi
86 |
87 | # Increase the maximum file descriptors if we can.
88 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
89 | MAX_FD_LIMIT=`ulimit -H -n`
90 | if [ $? -eq 0 ] ; then
91 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
92 | MAX_FD="$MAX_FD_LIMIT"
93 | fi
94 | ulimit -n $MAX_FD
95 | if [ $? -ne 0 ] ; then
96 | warn "Could not set maximum file descriptor limit: $MAX_FD"
97 | fi
98 | else
99 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
100 | fi
101 | fi
102 |
103 | # For Darwin, add options to specify how the application appears in the dock
104 | if $darwin; then
105 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
106 | fi
107 |
108 | # For Cygwin, switch paths to Windows format before running java
109 | if $cygwin ; then
110 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
111 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
112 | JAVACMD=`cygpath --unix "$JAVACMD"`
113 |
114 | # We build the pattern for arguments to be converted via cygpath
115 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
116 | SEP=""
117 | for dir in $ROOTDIRSRAW ; do
118 | ROOTDIRS="$ROOTDIRS$SEP$dir"
119 | SEP="|"
120 | done
121 | OURCYGPATTERN="(^($ROOTDIRS))"
122 | # Add a user-defined pattern to the cygpath arguments
123 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
124 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
125 | fi
126 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
127 | i=0
128 | for arg in "$@" ; do
129 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
130 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
131 |
132 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
133 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
134 | else
135 | eval `echo args$i`="\"$arg\""
136 | fi
137 | i=$((i+1))
138 | done
139 | case $i in
140 | (0) set -- ;;
141 | (1) set -- "$args0" ;;
142 | (2) set -- "$args0" "$args1" ;;
143 | (3) set -- "$args0" "$args1" "$args2" ;;
144 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
145 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
146 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
147 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
148 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
149 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
150 | esac
151 | fi
152 |
153 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
154 | function splitJvmOpts() {
155 | JVM_OPTS=("$@")
156 | }
157 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
158 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
159 |
160 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
161 |
--------------------------------------------------------------------------------
/android/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12 | set DEFAULT_JVM_OPTS=
13 |
14 | set DIRNAME=%~dp0
15 | if "%DIRNAME%" == "" set DIRNAME=.
16 | set APP_BASE_NAME=%~n0
17 | set APP_HOME=%DIRNAME%
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windowz variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 | if "%@eval[2+2]" == "4" goto 4NT_args
53 |
54 | :win9xME_args
55 | @rem Slurp the command line arguments.
56 | set CMD_LINE_ARGS=
57 | set _SKIP=2
58 |
59 | :win9xME_args_slurp
60 | if "x%~1" == "x" goto execute
61 |
62 | set CMD_LINE_ARGS=%*
63 | goto execute
64 |
65 | :4NT_args
66 | @rem Get arguments from the 4NT Shell from JP Software
67 | set CMD_LINE_ARGS=%$
68 |
69 | :execute
70 | @rem Setup the command line
71 |
72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73 |
74 | @rem Execute Gradle
75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
76 |
77 | :end
78 | @rem End local scope for the variables with windows NT shell
79 | if "%ERRORLEVEL%"=="0" goto mainEnd
80 |
81 | :fail
82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83 | rem the _cmd.exe /c_ return code!
84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85 | exit /b 1
86 |
87 | :mainEnd
88 | if "%OS%"=="Windows_NT" endlocal
89 |
90 | :omega
91 |
--------------------------------------------------------------------------------
/android/release/app-release.apk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/android/release/app-release.apk
--------------------------------------------------------------------------------
/android/release/output.json:
--------------------------------------------------------------------------------
1 | [{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":2,"versionName":"1.0.1","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
4 |
5 | def plugins = new Properties()
6 | def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
7 | if (pluginsFile.exists()) {
8 | pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) }
9 | }
10 |
11 | plugins.each { name, path ->
12 | def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
13 | include ":$name"
14 | project(":$name").projectDir = pluginDirectory
15 | }
16 |
--------------------------------------------------------------------------------
/assets/fonts/Quicksand-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/assets/fonts/Quicksand-Medium.ttf
--------------------------------------------------------------------------------
/assets/fonts/Quicksand_Bold.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/assets/fonts/Quicksand_Bold.otf
--------------------------------------------------------------------------------
/assets/fonts/Quicksand_Book.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/assets/fonts/Quicksand_Book.otf
--------------------------------------------------------------------------------
/assets/fonts/Quicksand_Light.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/assets/fonts/Quicksand_Light.otf
--------------------------------------------------------------------------------
/assets/fonts/Raleway-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/assets/fonts/Raleway-Medium.ttf
--------------------------------------------------------------------------------
/assets/fonts/Raleway-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/assets/fonts/Raleway-Regular.ttf
--------------------------------------------------------------------------------
/assets/images/blank.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/assets/images/blank.jpg
--------------------------------------------------------------------------------
/assets/images/dashboard.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/assets/images/dashboard.jpg
--------------------------------------------------------------------------------
/assets/images/login.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/assets/images/login.jpg
--------------------------------------------------------------------------------
/assets/images/map.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/assets/images/map.png
--------------------------------------------------------------------------------
/assets/images/payment.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/assets/images/payment.jpg
--------------------------------------------------------------------------------
/assets/images/pk.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/assets/images/pk.jpg
--------------------------------------------------------------------------------
/assets/images/profile.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/assets/images/profile.jpg
--------------------------------------------------------------------------------
/assets/images/setting.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/assets/images/setting.jpeg
--------------------------------------------------------------------------------
/assets/images/shopping.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/assets/images/shopping.jpeg
--------------------------------------------------------------------------------
/assets/images/timeline.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/assets/images/timeline.jpeg
--------------------------------------------------------------------------------
/assets/images/verification.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/assets/images/verification.jpg
--------------------------------------------------------------------------------
/changelog.md:
--------------------------------------------------------------------------------
1 | ## 1.0.1
2 |
3 | - 3 New Screens Added
4 |
5 | - Profile 2
6 | - Login 2
7 | - Payment Success
8 |
9 | - Minor Bug Fixes
10 |
11 | ## 1.0.0
12 |
13 | - Initial(Early) Release
14 |
--------------------------------------------------------------------------------
/flutter_01.log:
--------------------------------------------------------------------------------
1 | Flutter crash report; please file at https://github.com/flutter/flutter/issues.
2 |
3 | ## command
4 |
5 | flutter packages get
6 |
7 | ## exception
8 |
9 | YamlException: Error on line 59, column 10: While parsing a block collection, expected '-'.
10 | style: normal
11 | ^
12 |
13 | ```
14 | #0 Parser._parseBlockSequenceEntry (package:yaml/src/parser.dart:376)
15 | #1 Parser._stateMachine (package:yaml/src/parser.dart:77)
16 | #2 Parser.parse (package:yaml/src/parser.dart:47)
17 | #3 Loader._loadSequence (package:yaml/src/loader.dart:142)
18 | #4 Loader._loadNode (package:yaml/src/loader.dart:84)
19 | #5 Loader._loadMapping (package:yaml/src/loader.dart:165)
20 | #6 Loader._loadNode (package:yaml/src/loader.dart:86)
21 | #7 Loader._loadSequence (package:yaml/src/loader.dart:141)
22 | #8 Loader._loadNode (package:yaml/src/loader.dart:84)
23 | #9 Loader._loadMapping (package:yaml/src/loader.dart:165)
24 | #10 Loader._loadNode (package:yaml/src/loader.dart:86)
25 | #11 Loader._loadMapping (package:yaml/src/loader.dart:165)
26 | #12 Loader._loadNode (package:yaml/src/loader.dart:86)
27 | #13 Loader._loadDocument (package:yaml/src/loader.dart:62)
28 | #14 Loader.load (package:yaml/src/loader.dart:54)
29 | #15 loadYamlDocument (package:yaml/yaml.dart:51)
30 | #16 loadYamlNode (package:yaml/yaml.dart:42)
31 | #17 loadYaml (package:yaml/yaml.dart:34)
32 | #18 _pluginFromPubspec (package:flutter_tools/src/plugins.dart:52)
33 | #19 _findPlugins. (package:flutter_tools/src/plugins.dart:75)
34 | #20 _HashVMBase&MapMixin&&_LinkedHashMapMixin.forEach (dart:collection-patch/dart:collection/compact_hash.dart:363)
35 | #21 _findPlugins (package:flutter_tools/src/plugins.dart:73)
36 | #22 injectPlugins (package:flutter_tools/src/plugins.dart:234)
37 | #23 FlutterProject.ensureReadyForPlatformSpecificTooling (package:flutter_tools/src/project.dart:62)
38 |
39 | #24 PackagesGetCommand.runCommand (package:flutter_tools/src/commands/packages.dart:85)
40 |
41 | #25 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:347)
42 | #26 _asyncThenWrapperHelper. (dart:async-patch/dart:async/async_patch.dart:77)
43 | #27 _rootRunUnary (dart:async/zone.dart:1134)
44 | #28 _CustomZone.runUnary (dart:async/zone.dart:1031)
45 | #29 _FutureListener.handleValue (dart:async/future_impl.dart:129)
46 | #30 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:638)
47 | #31 Future._propagateToListeners (dart:async/future_impl.dart:667)
48 | #32 Future._complete (dart:async/future_impl.dart:472)
49 | #33 _SyncCompleter.complete (dart:async/future_impl.dart:51)
50 | #34 _AsyncAwaitCompleter.complete. (dart:async-patch/dart:async/async_patch.dart:33)
51 | #35 _rootRun (dart:async/zone.dart:1126)
52 | #36 _CustomZone.run (dart:async/zone.dart:1023)
53 | #37 _CustomZone.bindCallback. (dart:async/zone.dart:949)
54 | #38 _microtaskLoop (dart:async/schedule_microtask.dart:41)
55 | #39 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
56 | #40 _runPendingImmediateCallback (dart:isolate-patch/dart:isolate/isolate_patch.dart:113)
57 | #41 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:166)
58 | ```
59 |
60 | ## flutter doctor
61 |
62 | ```
63 | [✓] Flutter (Channel master, v0.5.6-pre.39, on Mac OS X 10.13.5 17F77, locale en-IN)
64 | • Flutter version 0.5.6-pre.39 at /Users/pawankumar/Desktop/flutter/flutter
65 | • Framework revision a18f5e84a1 (2 days ago), 2018-06-20 20:23:51 -0400
66 | • Engine revision 549c855e89
67 | • Dart version 2.0.0-dev.63.0.flutter-4c9689c1d2
68 |
69 | [✓] Android toolchain - develop for Android devices (Android SDK 28.0.0-rc2)
70 | • Android SDK at /Users/pawankumar/Library/Android/sdk
71 | • Android NDK location not configured (optional; useful for native profiling support)
72 | • Platform android-28, build-tools 28.0.0-rc2
73 | • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
74 | • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
75 | • All Android licenses accepted.
76 |
77 | [✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
78 | • Xcode at /Applications/Xcode.app/Contents/Developer
79 | • Xcode 9.4.1, Build version 9F2000
80 | • ios-deploy 1.9.2
81 | • CocoaPods version 1.5.2
82 |
83 | [✓] Android Studio
84 | • Android Studio at /Applications/Android Studio 3.2 Preview.app/Contents
85 | ✗ Flutter plugin not installed; this adds Flutter specific functionality.
86 | ✗ Dart plugin not installed; this adds Dart specific functionality.
87 | • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b02)
88 |
89 | [✓] Android Studio (version 3.1)
90 | • Android Studio at /Applications/Android Studio.app/Contents
91 | • Flutter plugin version 25.0.1
92 | • Dart plugin version 173.4700
93 | • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
94 |
95 | [✓] IntelliJ IDEA Ultimate Edition (version 2018.1.5)
96 | • IntelliJ at /Applications/IntelliJ IDEA.app
97 | • Flutter plugin version 25.0.2
98 | • Dart plugin version 181.4892.1
99 |
100 | [✓] Connected devices (1 available)
101 | • PK iPhone • 582f750ea2e93342895f4ce99785ede563d5461c • ios • iOS 11.4
102 |
103 | • No issues found!
104 | ```
105 |
--------------------------------------------------------------------------------
/flutter_uikit.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/flutter_uikit_android.iml:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/
2 | .vagrant/
3 | .sconsign.dblite
4 | .svn/
5 |
6 | .DS_Store
7 | *.swp
8 | profile
9 |
10 | DerivedData/
11 | build/
12 | GeneratedPluginRegistrant.h
13 | GeneratedPluginRegistrant.m
14 |
15 | .generated/
16 |
17 | *.pbxuser
18 | *.mode1v3
19 | *.mode2v3
20 | *.perspectivev3
21 |
22 | !default.pbxuser
23 | !default.mode1v3
24 | !default.mode2v3
25 | !default.perspectivev3
26 |
27 | xcuserdata
28 |
29 | *.moved-aside
30 |
31 | *.pyc
32 | *sync/
33 | Icon?
34 | .tags*
35 |
36 | /Flutter/app.flx
37 | /Flutter/app.zip
38 | /Flutter/flutter_assets/
39 | /Flutter/App.framework
40 | /Flutter/Flutter.framework
41 | /Flutter/Generated.xcconfig
42 | /ServiceDefinitions.json
43 |
44 | Pods/
45 | .symlinks/
46 |
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 8.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/ios/Podfile:
--------------------------------------------------------------------------------
1 | # Uncomment this line to define a global platform for your project
2 | # platform :ios, '9.0'
3 |
4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true'
6 |
7 | def parse_KV_file(file, separator='=')
8 | file_abs_path = File.expand_path(file)
9 | if !File.exists? file_abs_path
10 | return [];
11 | end
12 | pods_ary = []
13 | skip_line_start_symbols = ["#", "/"]
14 | File.foreach(file_abs_path) { |line|
15 | next if skip_line_start_symbols.any? { |symbol| line =~ /^\s*#{symbol}/ }
16 | plugin = line.split(pattern=separator)
17 | if plugin.length == 2
18 | podname = plugin[0].strip()
19 | path = plugin[1].strip()
20 | podpath = File.expand_path("#{path}", file_abs_path)
21 | pods_ary.push({:name => podname, :path => podpath});
22 | else
23 | puts "Invalid plugin specification: #{line}"
24 | end
25 | }
26 | return pods_ary
27 | end
28 |
29 | target 'Runner' do
30 | # Prepare symlinks folder. We use symlinks to avoid having Podfile.lock
31 | # referring to absolute paths on developers' machines.
32 | system('rm -rf .symlinks')
33 | system('mkdir -p .symlinks/plugins')
34 |
35 | # Flutter Pods
36 | generated_xcode_build_settings = parse_KV_file('./Flutter/Generated.xcconfig')
37 | if generated_xcode_build_settings.empty?
38 | puts "Generated.xcconfig must exist. If you're running pod install manually, make sure flutter packages get is executed first."
39 | end
40 | generated_xcode_build_settings.map { |p|
41 | if p[:name] == 'FLUTTER_FRAMEWORK_DIR'
42 | symlink = File.join('.symlinks', 'flutter')
43 | File.symlink(File.dirname(p[:path]), symlink)
44 | pod 'Flutter', :path => File.join(symlink, File.basename(p[:path]))
45 | end
46 | }
47 |
48 | # Plugin Pods
49 | plugin_pods = parse_KV_file('../.flutter-plugins')
50 | plugin_pods.map { |p|
51 | symlink = File.join('.symlinks', 'plugins', p[:name])
52 | File.symlink(p[:path], symlink)
53 | pod p[:name], :path => File.join(symlink, 'ios')
54 | }
55 | end
56 |
57 | post_install do |installer|
58 | installer.pods_project.targets.each do |target|
59 | target.build_configurations.each do |config|
60 | config.build_settings['ENABLE_BITCODE'] = 'NO'
61 | end
62 | end
63 | end
64 |
--------------------------------------------------------------------------------
/ios/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - Flutter (1.0.0)
3 |
4 | DEPENDENCIES:
5 | - Flutter (from `.symlinks/flutter/ios`)
6 |
7 | EXTERNAL SOURCES:
8 | Flutter:
9 | :path: ".symlinks/flutter/ios"
10 |
11 | SPEC CHECKSUMS:
12 | Flutter: 58dd7d1b27887414a370fcccb9e645c08ffd7a6a
13 |
14 | PODFILE CHECKSUM: 1e5af4103afd21ca5ead147d7b81d06f494f51a2
15 |
16 | COCOAPODS: 1.6.1
17 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/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 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | BuildSystemType
6 | Original
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.h:
--------------------------------------------------------------------------------
1 | #import
2 | #import
3 |
4 | @interface AppDelegate : FlutterAppDelegate
5 |
6 | @end
7 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.m:
--------------------------------------------------------------------------------
1 | #include "AppDelegate.h"
2 | #include "GeneratedPluginRegistrant.h"
3 |
4 | @implementation AppDelegate
5 |
6 | - (BOOL)application:(UIApplication *)application
7 | didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
8 | [GeneratedPluginRegistrant registerWithRegistry:self];
9 | // Override point for customization after application launch.
10 | return [super application:application didFinishLaunchingWithOptions:launchOptions];
11 | }
12 |
13 | - (void)applicationWillResignActive:(UIApplication *)application{
14 | self.window.hidden = YES;
15 | }
16 |
17 | - (void)applicationDidBecomeActive:(UIApplication *)application{
18 | self.window.hidden = NO;
19 | }
20 |
21 | @end
22 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-App-20x20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-App-20x20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-App-29x29@1x.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-App-29x29@2x.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-App-29x29@3x.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-App-40x40@2x.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-App-40x40@3x.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-App-60x60@2x.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "60x60",
53 | "idiom" : "iphone",
54 | "filename" : "Icon-App-60x60@3x.png",
55 | "scale" : "3x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "Icon-App-20x20@1x.png",
61 | "scale" : "1x"
62 | },
63 | {
64 | "size" : "20x20",
65 | "idiom" : "ipad",
66 | "filename" : "Icon-App-20x20@2x.png",
67 | "scale" : "2x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "Icon-App-29x29@1x.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "29x29",
77 | "idiom" : "ipad",
78 | "filename" : "Icon-App-29x29@2x.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "Icon-App-40x40@1x.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "40x40",
89 | "idiom" : "ipad",
90 | "filename" : "Icon-App-40x40@2x.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "Icon-App-76x76@1x.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "76x76",
101 | "idiom" : "ipad",
102 | "filename" : "Icon-App-76x76@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "83.5x83.5",
107 | "idiom" : "ipad",
108 | "filename" : "Icon-App-83.5x83.5@2x.png",
109 | "scale" : "2x"
110 | },
111 | {
112 | "size" : "1024x1024",
113 | "idiom" : "ios-marketing",
114 | "filename" : "Icon-App-1024x1024@1x.png",
115 | "scale" : "1x"
116 | }
117 | ],
118 | "info" : {
119 | "version" : 1,
120 | "author" : "xcode"
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchImage.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchImage@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "LaunchImage@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/Flutter-UI-Kit/04dc321f7a6e909904cfeb7f9782ac9afbae0078/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | flutter_uikit
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 |
--------------------------------------------------------------------------------
/ios/Runner/main.m:
--------------------------------------------------------------------------------
1 | #import
2 | #import
3 | #import "AppDelegate.h"
4 |
5 | int main(int argc, char* argv[]) {
6 | @autoreleasepool {
7 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/lib/di/dependency_injection.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter_uikit/services/abstract/i_otp_service.dart';
2 | import 'package:flutter_uikit/services/mock/mock_otp_service.dart';
3 | import 'package:flutter_uikit/services/real/real_otp_service.dart';
4 | import 'package:flutter_uikit/services/restclient.dart';
5 |
6 | enum Flavor { MOCK, PRO }
7 |
8 | //Simple DI
9 | class Injector {
10 | static final Injector _singleton = new Injector._internal();
11 | static Flavor _flavor;
12 |
13 | static void configure(Flavor flavor) async {
14 | _flavor = flavor;
15 | }
16 |
17 | factory Injector() => _singleton;
18 |
19 | Injector._internal();
20 |
21 | IOTPService get otpService {
22 | switch (_flavor) {
23 | case Flavor.MOCK:
24 | return MockOTPService();
25 | default:
26 | return OTPService(new RestClient());
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/lib/inherited/login_provider.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class LoginProvider extends InheritedWidget {
4 | final Function validationErrorCallback;
5 | final Widget child;
6 |
7 | LoginProvider({this.validationErrorCallback, this.child})
8 | : super(child: child);
9 |
10 | static LoginProvider of(BuildContext context) =>
11 | context.inheritFromWidgetOfExactType(LoginProvider);
12 |
13 | @override
14 | bool updateShouldNotify(LoginProvider oldWidget) =>
15 | validationErrorCallback != oldWidget.validationErrorCallback;
16 | }
17 |
--------------------------------------------------------------------------------
/lib/inherited/product_provider.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_uikit/logic/bloc/product_bloc.dart';
3 |
4 | class ProductProvider extends InheritedWidget {
5 | final ProductBloc productBloc;
6 | final Widget child;
7 |
8 | ProductProvider({this.productBloc, this.child}) : super(child: child);
9 |
10 | static ProductProvider of(BuildContext context) =>
11 | context.inheritFromWidgetOfExactType(ProductProvider);
12 |
13 | @override
14 | bool updateShouldNotify(ProductProvider oldWidget) =>
15 | productBloc != oldWidget.productBloc;
16 | }
17 |
--------------------------------------------------------------------------------
/lib/logic/bloc/cart_bloc.dart:
--------------------------------------------------------------------------------
1 | import 'dart:async';
2 |
3 | import 'package:flutter_uikit/logic/viewmodel/cart_view_model.dart';
4 | import 'package:flutter_uikit/model/product.dart';
5 |
6 | class CartBloc {
7 | CartViewModel _cartViewModel;
8 | final additionalController = StreamController();
9 | final subtractionController = StreamController();
10 | final countController = StreamController();
11 | Sink get addItem => additionalController.sink;
12 | Sink get subtractItem => subtractionController.sink;
13 | Stream get getCount => countController.stream;
14 |
15 | CartBloc(Product p) {
16 | _cartViewModel = CartViewModel(product: p);
17 | additionalController.stream.listen(onAdd);
18 | subtractionController.stream.listen(onDelete);
19 | }
20 |
21 | void onAdd(bool done) {
22 | _cartViewModel.addQuantity();
23 | countController.add(_cartViewModel.totalQuantity);
24 | }
25 |
26 | void onDelete(bool done) {
27 | _cartViewModel.deleteQuantity();
28 | countController.add(_cartViewModel.totalQuantity);
29 | }
30 |
31 | void dispose() {
32 | additionalController?.close();
33 | subtractionController?.close();
34 | countController?.close();
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/lib/logic/bloc/credit_card_bloc.dart:
--------------------------------------------------------------------------------
1 | import 'dart:async';
2 |
3 | class CreditCardBloc {
4 | final ccInputController = StreamController();
5 | final expInputController = StreamController();
6 | final cvvInputController = StreamController();
7 | final nameInputController = StreamController();
8 |
9 | Sink get ccInputSink => ccInputController.sink;
10 | Sink get expInputSink => expInputController.sink;
11 | Sink get cvvInputSink => cvvInputController.sink;
12 | Sink get nameInputSink => nameInputController.sink;
13 |
14 | final ccOutputController = StreamController();
15 | final expOutputController = StreamController();
16 | final cvvOutputController = StreamController();
17 | final nameOutputController = StreamController();
18 |
19 | Stream get ccOutputStream => ccOutputController.stream;
20 | Stream get expOutputStream => expOutputController.stream;
21 | Stream get cvvOutputStream => cvvOutputController.stream;
22 | Stream get nameOutputStream => nameOutputController.stream;
23 |
24 | CreditCardBloc() {
25 | ccInputController.stream.listen(onCCInput);
26 | expInputController.stream.listen(onExpInput);
27 | cvvInputController.stream.listen(onCvvInput);
28 | nameInputController.stream.listen(onNameInput);
29 | }
30 |
31 | onCCInput(String input) {
32 | ccOutputController.add(input.toString());
33 | }
34 |
35 | onExpInput(String input) {
36 | expOutputController.add(input);
37 | }
38 |
39 | onCvvInput(String input) {
40 | cvvOutputController.add(input);
41 | }
42 |
43 | onNameInput(String input) {
44 | nameOutputController.add(input);
45 | }
46 |
47 | void ccFormat(String s) {
48 | print(s);
49 | ccInputSink.add(s);
50 | }
51 |
52 | void dispose() {
53 | ccInputController?.close();
54 | cvvInputController?.close();
55 | expInputController?.close();
56 | nameInputController?.close();
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/lib/logic/bloc/login_bloc.dart:
--------------------------------------------------------------------------------
1 | import 'dart:async';
2 | import 'package:flutter_uikit/logic/viewmodel/user_login_view_model.dart';
3 | import 'package:flutter_uikit/model/fetch_process.dart';
4 | import 'package:rxdart/rxdart.dart';
5 |
6 | class LoginBloc {
7 | final otpController = StreamController();
8 | final loginController = StreamController();
9 | final apiController = BehaviorSubject();
10 | final otpResendController = StreamController();
11 | final otpResultController = BehaviorSubject();
12 | Sink get otpSink => otpController.sink;
13 | Sink get loginSink => otpController.sink;
14 | Sink get resendOtpSink => otpResendController.sink;
15 | Stream get otpResult => otpResultController.stream;
16 | Stream get apiResult => apiController.stream;
17 |
18 | LoginBloc() {
19 | otpController.stream.listen(apiCall);
20 | otpResendController.stream.listen(resendOtp);
21 | loginController.stream.listen(apiCall);
22 | }
23 |
24 | void apiCall(UserLoginViewModel userLogin) async {
25 | FetchProcess process = new FetchProcess(loading: true);
26 | //for progress loading
27 | apiController.add(process);
28 | if (userLogin.otp == null) {
29 | process.type = ApiType.performOTP;
30 | await userLogin.getOtp(userLogin.phonenumber);
31 | otpResultController.add(userLogin.otpResult);
32 | } else {
33 | process.type = ApiType.performLogin;
34 | await userLogin.performLogin(userLogin);
35 | }
36 |
37 | process.loading = false;
38 | process.response = userLogin.apiResult;
39 | //for error dialog
40 | apiController.add(process);
41 | userLogin = null;
42 | }
43 |
44 | void resendOtp(bool flag) {
45 | otpResultController.add(false);
46 | }
47 |
48 | void dispose() {
49 | otpController.close();
50 | otpResendController.close();
51 | apiController.close();
52 | otpResultController.close();
53 | loginController.close();
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/lib/logic/bloc/menu_bloc.dart:
--------------------------------------------------------------------------------
1 | import 'dart:async';
2 |
3 | import 'package:flutter_uikit/logic/viewmodel/menu_view_model.dart';
4 | import 'package:flutter_uikit/model/menu.dart';
5 |
6 | class MenuBloc {
7 | final _menuVM = MenuViewModel();
8 | final menuController = StreamController>();
9 |
10 | Stream> get menuItems => menuController.stream;
11 |
12 | MenuBloc() {
13 | menuController.add(_menuVM.getMenuItems());
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/lib/logic/bloc/post_bloc.dart:
--------------------------------------------------------------------------------
1 | import 'dart:async';
2 |
3 | import 'package:flutter_uikit/logic/viewmodel/post_view_model.dart';
4 | import 'package:flutter_uikit/model/post.dart';
5 |
6 | class PostBloc {
7 | final PostViewModel postViewModel = PostViewModel();
8 | final postController = StreamController>();
9 | final fabController = StreamController();
10 | final fabVisibleController = StreamController();
11 | Sink get fabSink => fabController.sink;
12 | Stream> get postItems => postController.stream;
13 | Stream get fabVisible => fabVisibleController.stream;
14 |
15 | PostBloc() {
16 | postController.add(postViewModel.getPosts());
17 | fabController.stream.listen(onScroll);
18 | }
19 | onScroll(bool visible) {
20 | fabVisibleController.add(visible);
21 | }
22 |
23 | void dispose() {
24 | postController?.close();
25 | fabController?.close();
26 | fabVisibleController?.close();
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/lib/logic/bloc/product_bloc.dart:
--------------------------------------------------------------------------------
1 | import 'dart:async';
2 |
3 | import 'package:flutter_uikit/logic/viewmodel/product_view_model.dart';
4 | import 'package:flutter_uikit/model/product.dart';
5 |
6 | class ProductBloc {
7 | final ProductViewModel productViewModel = ProductViewModel();
8 | final productController = StreamController>();
9 | Stream> get productItems => productController.stream;
10 |
11 | ProductBloc() {
12 | productController.add(productViewModel.getProducts());
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/lib/logic/viewmodel/cart_view_model.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter_uikit/model/product.dart';
2 |
3 | class CartViewModel {
4 | final Product product;
5 | int get totalQuantity => product.quantity;
6 | void addQuantity() => product.quantity < 10 ? product.quantity++ : null;
7 | void deleteQuantity() => product.quantity > 0 ? product.quantity-- : null;
8 |
9 | CartViewModel({this.product});
10 | }
11 |
--------------------------------------------------------------------------------
/lib/logic/viewmodel/menu_view_model.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_uikit/model/menu.dart';
3 | import 'package:flutter_uikit/utils/uidata.dart';
4 |
5 | class MenuViewModel {
6 | List