├── .flutter-plugins
├── .flutter-plugins-dependencies
├── .gitignore
├── .idea
├── .gitignore
├── codeStyles
│ └── Project.xml
├── flutter-crm.iml
├── libraries
│ ├── Dart_Packages.xml
│ ├── Dart_SDK.xml
│ └── Flutter_Plugins.xml
├── modules.xml
└── vcs.xml
├── .metadata
├── README.md
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ ├── google-services.json
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── kotlin
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── bottle_crm
│ │ │ │ └── MainActivity.kt
│ │ └── res
│ │ │ ├── drawable-v21
│ │ │ └── launch_background.xml
│ │ │ ├── drawable
│ │ │ └── launch_background.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── launcher_icon.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── launcher_icon.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── launcher_icon.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── launcher_icon.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── launcher_icon.png
│ │ │ ├── values-night
│ │ │ └── styles.xml
│ │ │ └── values
│ │ │ └── styles.xml
│ │ └── profile
│ │ └── AndroidManifest.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
├── settings.gradle
└── settings_aar.gradle
├── assets
└── images
│ ├── Icon_edit_color.svg
│ ├── accounts.svg
│ ├── accounts_color.svg
│ ├── arrow_backward.svg
│ ├── arrow_forward.svg
│ ├── bg-image-blue.jpg
│ ├── bg-image.png
│ ├── cases.svg
│ ├── change_password.svg
│ ├── contacts.svg
│ ├── dashboard_icon.svg
│ ├── documents.svg
│ ├── download_icon.svg
│ ├── events.svg
│ ├── filter.svg
│ ├── flag.svg
│ ├── google-icon.png
│ ├── home.svg
│ ├── icon_close.svg
│ ├── icon_delete_color.svg
│ ├── identification.svg
│ ├── invoices.svg
│ ├── leads.svg
│ ├── logo.svg
│ ├── logo_google.svg
│ ├── logout.svg
│ ├── menu.svg
│ ├── more.svg
│ ├── new_logo.png
│ ├── opportunities.svg
│ ├── opportunities_color.svg
│ ├── pdf_icon.svg
│ ├── search.svg
│ ├── settings.svg
│ ├── skype.png
│ ├── tasks.svg
│ ├── teams.svg
│ └── users.svg
├── ios
├── .gitignore
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Podfile
├── Podfile.lock
├── 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
├── bloc
│ ├── account_bloc.dart
│ ├── auth_bloc.dart
│ ├── case_bloc.dart
│ ├── contact_bloc.dart
│ ├── dashboard_bloc.dart
│ ├── document_bloc.dart
│ ├── event_bloc.dart
│ ├── lead_bloc.dart
│ ├── opportunity_bloc.dart
│ ├── setting_bloc.dart
│ ├── task_bloc.dart
│ ├── team_bloc.dart
│ └── user_bloc.dart
├── main.dart
├── model
│ ├── account.dart
│ ├── case.dart
│ ├── company.dart
│ ├── contact.dart
│ ├── document.dart
│ ├── domain.dart
│ ├── email.dart
│ ├── events.dart
│ ├── lead.dart
│ ├── opportunities.dart
│ ├── organization.dart
│ ├── profile.dart
│ ├── settings.dart
│ ├── task.dart
│ ├── team.dart
│ └── user.dart
├── responsive.dart
├── services
│ ├── crm_services.dart
│ └── network_services.dart
├── splash_screen.dart
├── ui
│ ├── screens
│ │ ├── accounts
│ │ │ ├── account_create.dart
│ │ │ ├── account_details.dart
│ │ │ └── accounts_list.dart
│ │ ├── authentication
│ │ │ ├── change_password.dart
│ │ │ ├── companies_List.dart
│ │ │ ├── forgot_password.dart
│ │ │ ├── login.dart
│ │ │ ├── profile.dart
│ │ │ └── register.dart
│ │ ├── cases
│ │ │ ├── case_create.dart
│ │ │ ├── case_details.dart
│ │ │ └── cases_list.dart
│ │ ├── contacts
│ │ │ ├── contact_create.dart
│ │ │ ├── contact_details.dart
│ │ │ └── contacts_list.dart
│ │ ├── dashboard
│ │ │ └── dashboard.dart
│ │ ├── documents
│ │ │ ├── document_create.dart
│ │ │ ├── document_details.dart
│ │ │ └── documents_list.dart
│ │ ├── events
│ │ │ ├── event_create.dart
│ │ │ ├── event_details.dart
│ │ │ └── events_list.dart
│ │ ├── http_excepion.dart
│ │ ├── invoices
│ │ │ ├── invoice_create.dart
│ │ │ ├── invoice_details.dart
│ │ │ └── invoices_list.dart
│ │ ├── leads
│ │ │ ├── lead_create.dart
│ │ │ ├── lead_details.dart
│ │ │ └── leads_list.dart
│ │ ├── more_options_screen.dart
│ │ ├── opportunities
│ │ │ ├── opportunitie_create.dart
│ │ │ ├── opportunitie_details.dart
│ │ │ └── opportunities_list.dart
│ │ ├── settings
│ │ │ ├── settings.dart
│ │ │ ├── settings_details.dart
│ │ │ └── settings_userDetails.dart
│ │ ├── tasks
│ │ │ ├── task_create.dart
│ │ │ ├── task_details.dart
│ │ │ └── tasks_list.dart
│ │ ├── teams
│ │ │ ├── team_create.dart
│ │ │ ├── team_details.dart
│ │ │ └── teams_list.dart
│ │ └── users
│ │ │ ├── user_create.dart
│ │ │ ├── user_details.dart
│ │ │ └── users_list.dart
│ └── widgets
│ │ ├── bottom_navigation_bar.dart
│ │ ├── dashboard_count_card.dart
│ │ ├── loader.dart
│ │ ├── profile_pic_widget.dart
│ │ ├── recent_card_widget.dart
│ │ └── tags_widget.dart
└── utils
│ ├── utils.dart
│ └── validations.dart
├── pubspec.yaml
└── test
└── widget_test.dart
/.flutter-plugins:
--------------------------------------------------------------------------------
1 | # This is a generated file; do not edit or check into version control.
2 | connectivity=I:\\src\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\connectivity-0.4.9+5\\
3 | connectivity_for_web=I:\\src\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\connectivity_for_web-0.3.1+2\\
4 | connectivity_macos=I:\\src\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\connectivity_macos-0.1.0+5\\
5 | file_picker=I:\\src\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\file_picker-2.0.13\\
6 | flutter_plugin_android_lifecycle=I:\\src\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\flutter_plugin_android_lifecycle-1.0.11\\
7 | fluttertoast=I:\\src\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\fluttertoast-7.1.1\\
8 | path_provider=I:\\src\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\path_provider-1.6.24\\
9 | path_provider_linux=I:\\src\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\path_provider_linux-0.0.1+2\\
10 | path_provider_macos=I:\\src\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\path_provider_macos-0.0.4+6\\
11 | path_provider_windows=I:\\src\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\path_provider_windows-0.0.4+1\\
12 | shared_preferences=I:\\src\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\shared_preferences-0.5.12+2\\
13 | shared_preferences_linux=I:\\src\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\shared_preferences_linux-0.0.2+2\\
14 | shared_preferences_macos=I:\\src\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\shared_preferences_macos-0.0.1+10\\
15 | shared_preferences_web=I:\\src\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\shared_preferences_web-0.1.2+7\\
16 | shared_preferences_windows=I:\\src\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\shared_preferences_windows-0.0.1+1\\
17 |
--------------------------------------------------------------------------------
/.flutter-plugins-dependencies:
--------------------------------------------------------------------------------
1 | {"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"connectivity","path":"I:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\connectivity-0.4.9+5\\\\","dependencies":[]},{"name":"file_picker","path":"I:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\file_picker-2.0.13\\\\","dependencies":[]},{"name":"fluttertoast","path":"I:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\fluttertoast-7.1.1\\\\","dependencies":[]},{"name":"path_provider","path":"I:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider-1.6.24\\\\","dependencies":[]},{"name":"shared_preferences","path":"I:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences-0.5.12+2\\\\","dependencies":[]}],"android":[{"name":"connectivity","path":"I:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\connectivity-0.4.9+5\\\\","dependencies":[]},{"name":"file_picker","path":"I:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\file_picker-2.0.13\\\\","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"flutter_plugin_android_lifecycle","path":"I:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_plugin_android_lifecycle-1.0.11\\\\","dependencies":[]},{"name":"fluttertoast","path":"I:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\fluttertoast-7.1.1\\\\","dependencies":[]},{"name":"path_provider","path":"I:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider-1.6.24\\\\","dependencies":[]},{"name":"shared_preferences","path":"I:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences-0.5.12+2\\\\","dependencies":[]}],"macos":[{"name":"connectivity_macos","path":"I:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\connectivity_macos-0.1.0+5\\\\","dependencies":[]},{"name":"path_provider_macos","path":"I:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_macos-0.0.4+6\\\\","dependencies":[]},{"name":"shared_preferences_macos","path":"I:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_macos-0.0.1+10\\\\","dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"I:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_linux-0.0.1+2\\\\","dependencies":[]},{"name":"shared_preferences_linux","path":"I:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_linux-0.0.2+2\\\\","dependencies":["path_provider_linux"]}],"windows":[{"name":"path_provider_windows","path":"I:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_windows-0.0.4+1\\\\","dependencies":[]},{"name":"shared_preferences_windows","path":"I:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_windows-0.0.1+1\\\\","dependencies":["path_provider_windows"]}],"web":[{"name":"connectivity_for_web","path":"I:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\connectivity_for_web-0.3.1+2\\\\","dependencies":[]},{"name":"file_picker","path":"I:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\file_picker-2.0.13\\\\","dependencies":[]},{"name":"fluttertoast","path":"I:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\fluttertoast-7.1.1\\\\","dependencies":[]},{"name":"shared_preferences_web","path":"I:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_web-0.1.2+7\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"connectivity","dependencies":["connectivity_macos","connectivity_for_web"]},{"name":"connectivity_for_web","dependencies":[]},{"name":"connectivity_macos","dependencies":[]},{"name":"file_picker","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"fluttertoast","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_macos","path_provider_linux","path_provider_windows"]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_macos","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_linux","shared_preferences_macos","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_macos","dependencies":[]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]}],"date_created":"2020-11-26 15:37:27.406407","version":"1.22.2"}
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 |
12 | # IntelliJ related
13 | *.iml
14 | *.ipr
15 | *.iws
16 | .idea/
17 |
18 | # The .vscode folder contains launch configuration and tasks you configure in
19 | # VS Code which you may wish to be included in version control, so this line
20 | # is commented out by default.
21 | #.vscode/
22 |
23 | # Flutter/Dart/Pub related
24 | **/doc/api/
25 | **/ios/Flutter/.last_build_id
26 | .dart_tool/
27 | .flutter-plugins
28 | .flutter-plugins-dependencies
29 | .packages
30 | .pub-cache/
31 | .pub/
32 | /build/
33 | pubspec.lock
34 | .vscode
35 |
36 | # Web related
37 | lib/generated_plugin_registrant.dart
38 |
39 | # Symbolication related
40 | app.*.symbols
41 |
42 | # Obfuscation related
43 | app.*.map.json
44 |
45 | # Android Studio will place build artifacts here
46 | /android/app/debug
47 | /android/app/profile
48 | /android/app/release
49 |
--------------------------------------------------------------------------------
/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # Default ignored files
2 | /workspace.xml
--------------------------------------------------------------------------------
/.idea/codeStyles/Project.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | xmlns:android
14 |
15 | ^$
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 | xmlns:.*
25 |
26 | ^$
27 |
28 |
29 | BY_NAME
30 |
31 |
32 |
33 |
34 |
35 |
36 | .*:id
37 |
38 | http://schemas.android.com/apk/res/android
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 | .*:name
48 |
49 | http://schemas.android.com/apk/res/android
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 | name
59 |
60 | ^$
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 | style
70 |
71 | ^$
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 | .*
81 |
82 | ^$
83 |
84 |
85 | BY_NAME
86 |
87 |
88 |
89 |
90 |
91 |
92 | .*
93 |
94 | http://schemas.android.com/apk/res/android
95 |
96 |
97 | ANDROID_ATTRIBUTE_ORDER
98 |
99 |
100 |
101 |
102 |
103 |
104 | .*
105 |
106 | .*
107 |
108 |
109 | BY_NAME
110 |
111 |
112 |
113 |
114 |
115 |
116 |
--------------------------------------------------------------------------------
/.idea/flutter-crm.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/.idea/libraries/Dart_SDK.xml:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/.idea/libraries/Flutter_Plugins.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.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: c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
8 | channel: stable
9 |
10 | project_type: app
11 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # BottleCRM
2 |
3 | Free CRM for startups and enterprises.
4 |
5 |
6 | # build
7 | flutter clean
8 | flutter pub get
9 | flutter build appbundle
10 | flutter build apk
11 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11 | key.properties
12 |
--------------------------------------------------------------------------------
/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 31
31 |
32 | sourceSets {
33 | main.java.srcDirs += 'src/main/kotlin'
34 | }
35 |
36 | defaultConfig {
37 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
38 | applicationId "com.example.bottle_crm"
39 | minSdkVersion 21
40 | targetSdkVersion 31
41 | multiDexEnabled true
42 | versionCode flutterVersionCode.toInteger()
43 | versionName flutterVersionName
44 | }
45 |
46 | buildTypes {
47 | release {
48 | // TODO: Add your own signing config for the release build.
49 | // Signing with the debug keys for now, so `flutter run --release` works.
50 | signingConfig signingConfigs.debug
51 | }
52 | }
53 | }
54 |
55 | flutter {
56 | source '../..'
57 | }
58 |
59 | dependencies {
60 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
61 | implementation platform('com.google.firebase:firebase-bom:29.1.0')
62 | implementation 'com.google.firebase:firebase-analytics'
63 | }
64 |
--------------------------------------------------------------------------------
/android/app/google-services.json:
--------------------------------------------------------------------------------
1 | {
2 | "project_info": {
3 | "project_number": "74115878447",
4 | "project_id": "bottle-crm-10074",
5 | "storage_bucket": "bottle-crm-10074.appspot.com"
6 | },
7 | "client": [
8 | {
9 | "client_info": {
10 | "mobilesdk_app_id": "1:74115878447:android:858fb769df26bb2c5900da",
11 | "android_client_info": {
12 | "package_name": "com.example.bottle_crm"
13 | }
14 | },
15 | "oauth_client": [
16 | {
17 | "client_id": "74115878447-0r10i3hk3mma0u2vaenbsbtvvtud5sv5.apps.googleusercontent.com",
18 | "client_type": 3
19 | }
20 | ],
21 | "api_key": [
22 | {
23 | "current_key": "AIzaSyD8es-uwk_IlZsuHWlEwfiEZfsrENKXRgA"
24 | }
25 | ],
26 | "services": {
27 | "appinvite_service": {
28 | "other_platform_oauth_client": [
29 | {
30 | "client_id": "74115878447-0r10i3hk3mma0u2vaenbsbtvvtud5sv5.apps.googleusercontent.com",
31 | "client_type": 3
32 | }
33 | ]
34 | }
35 | }
36 | }
37 | ],
38 | "configuration_version": "1"
39 | }
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
10 |
18 |
22 |
26 |
31 |
35 |
36 |
37 |
38 |
39 |
40 |
42 |
45 |
46 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/com/example/bottle_crm/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.example.bottle_crm
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity() {
6 | }
7 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-v21/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/android/app/src/main/res/mipmap-hdpi/launcher_icon.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/android/app/src/main/res/mipmap-mdpi/launcher_icon.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/android/app/src/main/res/mipmap-xhdpi/launcher_icon.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values-night/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.6.10'
3 | repositories {
4 | google()
5 | jcenter()
6 | maven { url 'https://jitpack.io' }
7 | }
8 |
9 | dependencies {
10 | classpath 'com.android.tools.build:gradle:7.0.2'
11 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
12 | classpath 'com.google.gms:google-services:4.3.10'
13 | }
14 | }
15 |
16 | allprojects {
17 | repositories {
18 | google()
19 | jcenter()
20 | }
21 | }
22 |
23 | rootProject.buildDir = '../build'
24 | subprojects {
25 | project.buildDir = "${rootProject.buildDir}/${project.name}"
26 | project.evaluationDependsOn(':app')
27 | }
28 |
29 | task clean(type: Delete) {
30 | delete rootProject.buildDir
31 | }
32 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.useAndroidX=true
3 | android.enableJetifier=true
4 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Jun 23 08:50:38 CEST 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip
7 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
4 | def properties = new Properties()
5 |
6 | assert localPropertiesFile.exists()
7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
8 |
9 | def flutterSdkPath = properties.getProperty("flutter.sdk")
10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
12 |
--------------------------------------------------------------------------------
/android/settings_aar.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/assets/images/Icon_edit_color.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/images/accounts.svg:
--------------------------------------------------------------------------------
1 |
8 |
--------------------------------------------------------------------------------
/assets/images/accounts_color.svg:
--------------------------------------------------------------------------------
1 |
8 |
--------------------------------------------------------------------------------
/assets/images/arrow_backward.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/images/arrow_forward.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/images/bg-image-blue.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/assets/images/bg-image-blue.jpg
--------------------------------------------------------------------------------
/assets/images/bg-image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/assets/images/bg-image.png
--------------------------------------------------------------------------------
/assets/images/cases.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/images/change_password.svg:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/assets/images/contacts.svg:
--------------------------------------------------------------------------------
1 |
11 |
--------------------------------------------------------------------------------
/assets/images/dashboard_icon.svg:
--------------------------------------------------------------------------------
1 |
18 |
--------------------------------------------------------------------------------
/assets/images/documents.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/images/download_icon.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/assets/images/events.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/images/filter.svg:
--------------------------------------------------------------------------------
1 |
8 |
--------------------------------------------------------------------------------
/assets/images/flag.svg:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/assets/images/google-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/assets/images/google-icon.png
--------------------------------------------------------------------------------
/assets/images/home.svg:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/assets/images/icon_close.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/images/icon_delete_color.svg:
--------------------------------------------------------------------------------
1 |
9 |
--------------------------------------------------------------------------------
/assets/images/identification.svg:
--------------------------------------------------------------------------------
1 |
11 |
--------------------------------------------------------------------------------
/assets/images/invoices.svg:
--------------------------------------------------------------------------------
1 |
10 |
--------------------------------------------------------------------------------
/assets/images/leads.svg:
--------------------------------------------------------------------------------
1 |
11 |
--------------------------------------------------------------------------------
/assets/images/logo.svg:
--------------------------------------------------------------------------------
1 |
82 |
--------------------------------------------------------------------------------
/assets/images/logo_google.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/images/logout.svg:
--------------------------------------------------------------------------------
1 |
8 |
--------------------------------------------------------------------------------
/assets/images/menu.svg:
--------------------------------------------------------------------------------
1 |
10 |
--------------------------------------------------------------------------------
/assets/images/more.svg:
--------------------------------------------------------------------------------
1 |
10 |
--------------------------------------------------------------------------------
/assets/images/new_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/assets/images/new_logo.png
--------------------------------------------------------------------------------
/assets/images/opportunities.svg:
--------------------------------------------------------------------------------
1 |
16 |
--------------------------------------------------------------------------------
/assets/images/opportunities_color.svg:
--------------------------------------------------------------------------------
1 |
13 |
--------------------------------------------------------------------------------
/assets/images/pdf_icon.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
52 |
--------------------------------------------------------------------------------
/assets/images/search.svg:
--------------------------------------------------------------------------------
1 |
9 |
--------------------------------------------------------------------------------
/assets/images/settings.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/images/skype.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/assets/images/skype.png
--------------------------------------------------------------------------------
/assets/images/tasks.svg:
--------------------------------------------------------------------------------
1 |
14 |
--------------------------------------------------------------------------------
/assets/images/teams.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/images/users.svg:
--------------------------------------------------------------------------------
1 |
8 |
--------------------------------------------------------------------------------
/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/ephemeral/
22 | Flutter/app.flx
23 | Flutter/app.zip
24 | Flutter/flutter_assets/
25 | Flutter/flutter_export_environment.sh
26 | ServiceDefinitions.json
27 | Runner/GeneratedPluginRegistrant.*
28 |
29 | # Exceptions to above rules.
30 | !default.mode1v3
31 | !default.mode2v3
32 | !default.pbxuser
33 | !default.perspectivev3
34 |
--------------------------------------------------------------------------------
/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 | project 'Runner', {
8 | 'Debug' => :debug,
9 | 'Profile' => :release,
10 | 'Release' => :release,
11 | }
12 |
13 | def flutter_root
14 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
15 | unless File.exist?(generated_xcode_build_settings_path)
16 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
17 | end
18 |
19 | File.foreach(generated_xcode_build_settings_path) do |line|
20 | matches = line.match(/FLUTTER_ROOT\=(.*)/)
21 | return matches[1].strip if matches
22 | end
23 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
24 | end
25 |
26 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
27 |
28 | flutter_ios_podfile_setup
29 |
30 | target 'Runner' do
31 | use_frameworks!
32 | use_modular_headers!
33 |
34 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
35 | end
36 |
37 | post_install do |installer|
38 | installer.pods_project.targets.each do |target|
39 | flutter_additional_ios_build_settings(target)
40 | end
41 | end
42 |
--------------------------------------------------------------------------------
/ios/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - connectivity (0.0.1):
3 | - Flutter
4 | - Reachability
5 | - DKImagePickerController/Core (4.3.2):
6 | - DKImagePickerController/ImageDataManager
7 | - DKImagePickerController/Resource
8 | - DKImagePickerController/ImageDataManager (4.3.2)
9 | - DKImagePickerController/PhotoGallery (4.3.2):
10 | - DKImagePickerController/Core
11 | - DKPhotoGallery
12 | - DKImagePickerController/Resource (4.3.2)
13 | - DKPhotoGallery (0.0.17):
14 | - DKPhotoGallery/Core (= 0.0.17)
15 | - DKPhotoGallery/Model (= 0.0.17)
16 | - DKPhotoGallery/Preview (= 0.0.17)
17 | - DKPhotoGallery/Resource (= 0.0.17)
18 | - SDWebImage
19 | - SwiftyGif
20 | - DKPhotoGallery/Core (0.0.17):
21 | - DKPhotoGallery/Model
22 | - DKPhotoGallery/Preview
23 | - SDWebImage
24 | - SwiftyGif
25 | - DKPhotoGallery/Model (0.0.17):
26 | - SDWebImage
27 | - SwiftyGif
28 | - DKPhotoGallery/Preview (0.0.17):
29 | - DKPhotoGallery/Model
30 | - DKPhotoGallery/Resource
31 | - SDWebImage
32 | - SwiftyGif
33 | - DKPhotoGallery/Resource (0.0.17):
34 | - SDWebImage
35 | - SwiftyGif
36 | - file_picker (0.0.1):
37 | - DKImagePickerController/PhotoGallery
38 | - Flutter
39 | - Flutter (1.0.0)
40 | - Reachability (3.2)
41 | - SDWebImage (5.10.4):
42 | - SDWebImage/Core (= 5.10.4)
43 | - SDWebImage/Core (5.10.4)
44 | - shared_preferences (0.0.1):
45 | - Flutter
46 | - SwiftyGif (5.4.0)
47 |
48 | DEPENDENCIES:
49 | - connectivity (from `.symlinks/plugins/connectivity/ios`)
50 | - file_picker (from `.symlinks/plugins/file_picker/ios`)
51 | - Flutter (from `Flutter`)
52 | - shared_preferences (from `.symlinks/plugins/shared_preferences/ios`)
53 |
54 | SPEC REPOS:
55 | trunk:
56 | - DKImagePickerController
57 | - DKPhotoGallery
58 | - Reachability
59 | - SDWebImage
60 | - SwiftyGif
61 |
62 | EXTERNAL SOURCES:
63 | connectivity:
64 | :path: ".symlinks/plugins/connectivity/ios"
65 | file_picker:
66 | :path: ".symlinks/plugins/file_picker/ios"
67 | Flutter:
68 | :path: Flutter
69 | shared_preferences:
70 | :path: ".symlinks/plugins/shared_preferences/ios"
71 |
72 | SPEC CHECKSUMS:
73 | connectivity: c4130b2985d4ef6fd26f9702e886bd5260681467
74 | DKImagePickerController: b5eb7f7a388e4643264105d648d01f727110fc3d
75 | DKPhotoGallery: fdfad5125a9fdda9cc57df834d49df790dbb4179
76 | file_picker: 3e6c3790de664ccf9b882732d9db5eaf6b8d4eb1
77 | Flutter: 434fef37c0980e73bb6479ef766c45957d4b510c
78 | Reachability: 33e18b67625424e47b6cde6d202dce689ad7af96
79 | SDWebImage: c666b97e1fa9c64b4909816a903322018f0a9c84
80 | shared_preferences: af6bfa751691cdc24be3045c43ec037377ada40d
81 | SwiftyGif: 5d4af95df24caf1c570dbbcb32a3b8a0763bc6d7
82 |
83 | PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c
84 |
85 | COCOAPODS: 1.10.1
86 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
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 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-App-20x20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-App-20x20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-App-29x29@1x.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-App-29x29@2x.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-App-29x29@3x.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-App-40x40@2x.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-App-40x40@3x.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-App-60x60@2x.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "60x60",
53 | "idiom" : "iphone",
54 | "filename" : "Icon-App-60x60@3x.png",
55 | "scale" : "3x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "Icon-App-20x20@1x.png",
61 | "scale" : "1x"
62 | },
63 | {
64 | "size" : "20x20",
65 | "idiom" : "ipad",
66 | "filename" : "Icon-App-20x20@2x.png",
67 | "scale" : "2x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "Icon-App-29x29@1x.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "29x29",
77 | "idiom" : "ipad",
78 | "filename" : "Icon-App-29x29@2x.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "Icon-App-40x40@1x.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "40x40",
89 | "idiom" : "ipad",
90 | "filename" : "Icon-App-40x40@2x.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "Icon-App-76x76@1x.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "76x76",
101 | "idiom" : "ipad",
102 | "filename" : "Icon-App-76x76@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "83.5x83.5",
107 | "idiom" : "ipad",
108 | "filename" : "Icon-App-83.5x83.5@2x.png",
109 | "scale" : "2x"
110 | },
111 | {
112 | "size" : "1024x1024",
113 | "idiom" : "ios-marketing",
114 | "filename" : "Icon-App-1024x1024@1x.png",
115 | "scale" : "1x"
116 | }
117 | ],
118 | "info" : {
119 | "version" : 1,
120 | "author" : "xcode"
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/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/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/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/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/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/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/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/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/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/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/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/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/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/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/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/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/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/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/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/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/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/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/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/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/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/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/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/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/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/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MicroPyramid/flutter-crm/632ee4cef15ccdb80b689399b6f6d4096b11bb82/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | bottle_crm
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/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/lib/bloc/auth_bloc.dart:
--------------------------------------------------------------------------------
1 | import 'dart:convert';
2 |
3 | import 'package:bottle_crm/model/organization.dart';
4 | import 'package:bottle_crm/model/profile.dart';
5 | import 'package:bottle_crm/services/crm_services.dart';
6 | import 'package:shared_preferences/shared_preferences.dart';
7 |
8 | class AuthBloc {
9 | String? _subDomainName;
10 | String? _authToken;
11 | Profile? _userProfile;
12 | List _companies = [];
13 | Organization? _selectedOrganization;
14 |
15 | String? get subDomainName {
16 | return _subDomainName;
17 | }
18 |
19 | String? get authToken {
20 | return _authToken;
21 | }
22 |
23 | Profile? get userProfile {
24 | return _userProfile;
25 | }
26 |
27 | List get companies {
28 | return _companies;
29 | }
30 |
31 | Organization? get selectedOrganization {
32 | return _selectedOrganization;
33 | }
34 |
35 | set selectedOrganization(selectedOrganization) {
36 | _selectedOrganization = selectedOrganization;
37 | }
38 |
39 | Future validateDomain(data) async {
40 | Map? result;
41 | await CrmService().validateSubdomain(data).then((response) {
42 | var res = (json.decode(response.body));
43 | if (res['error'] == false) {
44 | _subDomainName = data['sub_domain'];
45 | result = res;
46 | } else {
47 | result = res;
48 | }
49 | }).catchError((onError) {
50 | print("validate domain error>> $onError");
51 | result = {"status": "error", "message": "Something went wrong"};
52 | });
53 | return result;
54 | }
55 |
56 | Future login(data) async {
57 | try {
58 | Map result = {};
59 | final SharedPreferences preferences =
60 | await SharedPreferences.getInstance();
61 | await CrmService().userLogin(data).then((response) async {
62 | var res = (json.decode(response.body));
63 | if (res['error'] == false) {
64 | _authToken = "JWT " + res['token'];
65 | preferences.setString("authToken", _authToken!);
66 | result = res;
67 | } else {
68 | result = res;
69 | }
70 | }).catchError((onError) {
71 | print("login error>> $onError");
72 | result = {"status": "error", "message": onError};
73 | });
74 | return result;
75 | } catch (e) {}
76 | }
77 |
78 | Future forgotPassword(data) async {
79 | Map? result;
80 | await CrmService().forgotPassword(data).then((response) {
81 | var res = (json.decode(response.body));
82 | result = res;
83 | }).catchError((onError) {
84 | print("forgot password Error >> $onError");
85 | result = {"status": "error", "message": onError};
86 | });
87 | return result;
88 | }
89 |
90 | Future register(data) async {
91 | Map? result = {};
92 | await CrmService().userRegister(data).then((response) async {
93 | var res = (json.decode(response.body));
94 | if (res['error'] == false) {
95 | result = res;
96 | } else {
97 | result = res;
98 | }
99 | }).catchError((onError) {
100 | print("register user error >> $onError");
101 | result = {"status": "error", "message": onError};
102 | });
103 | return result;
104 | }
105 |
106 | Future getProfileDetails() async {
107 | await CrmService().getUserProfile().then((response) {
108 | var res = (json.decode(response.body));
109 | if (res['user_obj'] != null) {
110 | _userProfile = Profile.fromJson(res['user_obj']);
111 | } else {
112 | _userProfile = null;
113 | }
114 | }).catchError((onError) {
115 | print("get profile Error >> $onError");
116 | });
117 | }
118 |
119 | Future changePassword(data) async {
120 | Map result = {};
121 | await CrmService().changePassword(data).then((response) {
122 | var res = (json.decode(response.body));
123 | result = res;
124 | }).catchError((onError) {
125 | print("change password Error >> $onError");
126 | result = {"status": "error", "message": "Something went wrong"};
127 | });
128 | return result;
129 | }
130 |
131 | Future fetchCompanies() async {
132 | try {
133 | await CrmService().getCompanies().then((response) {
134 | var res = (json.decode(response.body));
135 | if (res['error'] == false) {
136 | _companies.clear();
137 | res['companies'].forEach((_company) {
138 | Organization company = Organization.fromJson(_company);
139 | _companies.add(company);
140 | });
141 | }
142 | }).catchError((onError) {
143 | print("companies list error>> $onError");
144 | });
145 | } catch (e) {
146 | }
147 |
148 | }
149 | }
150 |
151 | final authBloc = AuthBloc();
152 |
--------------------------------------------------------------------------------
/lib/bloc/dashboard_bloc.dart:
--------------------------------------------------------------------------------
1 | import 'dart:convert';
2 | import 'package:bottle_crm/model/account.dart';
3 | import 'package:bottle_crm/model/contact.dart';
4 | import 'package:bottle_crm/model/opportunities.dart';
5 | import 'package:bottle_crm/services/crm_services.dart';
6 |
7 | class DashboardBloc {
8 | Map _dashboardData = {};
9 |
10 | Future fetchDashboardDetails() async {
11 | await CrmService().getDashboardDetails().then((response) {
12 | var res = (json.decode(response.body));
13 |
14 | List _accounts = [];
15 | List _opportunities = [];
16 | List _contacts = [];
17 |
18 | res['accounts'].forEach((_account) {
19 | Account account = Account.fromJson(_account);
20 | _accounts.add(account);
21 | });
22 |
23 | res['contacts'].forEach((_contact) {
24 | Contact contact = Contact.fromJson(_contact);
25 | _contacts.add(contact);
26 | });
27 |
28 | res['opportunities'].forEach((_opportunity) {
29 | Opportunity opportunity = Opportunity.fromJson(_opportunity);
30 | _opportunities.add(opportunity);
31 | });
32 |
33 | _dashboardData['accounts'] = _accounts;
34 | _dashboardData['opportunities'] = _opportunities;
35 | _dashboardData['contacts'] = _contacts;
36 | _dashboardData['accountsCount'] = res['accounts_count'];
37 | _dashboardData['contactsCount'] = res['contacts_count'];
38 | _dashboardData['leadsCount'] = res['leads_count'];
39 | _dashboardData['opportunitiesCount'] = res['opportunities_count'];
40 | });
41 | // .catchError((onError) {
42 | // print("fetchDashboardDetails Error >> $onError");
43 | // });
44 | }
45 |
46 | Map get dashboardData {
47 | return _dashboardData;
48 | }
49 | }
50 |
51 | final dashboardBloc = DashboardBloc();
52 |
--------------------------------------------------------------------------------
/lib/bloc/document_bloc.dart:
--------------------------------------------------------------------------------
1 | import 'dart:convert';
2 |
3 | import 'package:bottle_crm/model/document.dart';
4 | import 'package:bottle_crm/model/profile.dart';
5 | import 'package:bottle_crm/services/crm_services.dart';
6 |
7 | class DocumentBloc {
8 | List _activeDocuments = [];
9 | List _inActiveDocuments = [];
10 | List _documents = [];
11 | List _fileSizes = [];
12 |
13 | List _statusObjforDropdown = [];
14 | List