├── functions
├── .gitignore
├── .env.example
├── encryption.js
├── package.json
├── models
│ └── HrEmail.js
├── database
│ └── database.js
├── routes
│ ├── hrEmailRoutes.js
│ └── sendEmailRoutes.js
├── index.js
├── controllers
│ ├── sendEmailController.js
│ └── hrEmailController.js
├── data
│ └── email.json
└── docs
│ └── api.md
├── linux
├── .gitignore
├── main.cc
├── flutter
│ ├── generated_plugin_registrant.h
│ ├── generated_plugin_registrant.cc
│ ├── generated_plugins.cmake
│ └── CMakeLists.txt
├── my_application.h
└── my_application.cc
├── ios
├── Runner
│ ├── Runner-Bridging-Header.h
│ ├── Assets.xcassets
│ │ ├── LaunchImage.imageset
│ │ │ ├── LaunchImage.png
│ │ │ ├── LaunchImage@2x.png
│ │ │ ├── LaunchImage@3x.png
│ │ │ ├── README.md
│ │ │ └── Contents.json
│ │ ├── AppIcon.appiconset
│ │ │ ├── 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-50x50@1x.png
│ │ │ ├── Icon-App-50x50@2x.png
│ │ │ ├── Icon-App-57x57@1x.png
│ │ │ ├── Icon-App-57x57@2x.png
│ │ │ ├── Icon-App-60x60@2x.png
│ │ │ ├── Icon-App-60x60@3x.png
│ │ │ ├── Icon-App-72x72@1x.png
│ │ │ ├── Icon-App-72x72@2x.png
│ │ │ ├── Icon-App-76x76@1x.png
│ │ │ ├── Icon-App-76x76@2x.png
│ │ │ ├── Icon-App-1024x1024@1x.png
│ │ │ ├── Icon-App-83.5x83.5@2x.png
│ │ │ └── Contents.json
│ │ └── LaunchBackground.imageset
│ │ │ ├── background.png
│ │ │ └── Contents.json
│ ├── AppDelegate.swift
│ ├── GoogleService-Info.plist
│ ├── Base.lproj
│ │ ├── Main.storyboard
│ │ └── LaunchScreen.storyboard
│ └── Info.plist
├── Flutter
│ ├── Debug.xcconfig
│ ├── Release.xcconfig
│ └── AppFrameworkInfo.plist
├── Runner.xcodeproj
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ ├── WorkspaceSettings.xcsettings
│ │ │ └── IDEWorkspaceChecks.plist
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ ├── WorkspaceSettings.xcsettings
│ │ └── IDEWorkspaceChecks.plist
├── RunnerTests
│ └── RunnerTests.swift
├── .gitignore
└── Podfile
├── lib
├── data
│ └── constants.dart
├── routes
│ ├── auth_guard.dart
│ └── router.dart
├── pages
│ ├── not_found_page.dart
│ ├── dashboard_page.dart
│ ├── login.dart
│ └── upgrade_pro_section.dart
├── models
│ ├── hr_emails.dart
│ ├── enums
│ │ └── navigation_items.dart
│ └── companies_list.dart
├── provider
│ ├── navigation.dart
│ ├── hr_emails.dart
│ ├── auth.dart
│ ├── smtp.dart
│ └── companies.dart
├── encryption.dart
├── validators
│ └── validator.dart
├── widgets
│ ├── alerts.dart
│ ├── navigation_button.dart
│ ├── video.dart
│ ├── profile_page.dart
│ ├── category_box.dart
│ └── contribute_dialog.dart
├── layout
│ ├── top_app_bar.dart
│ ├── app_layout.dart
│ └── navigation_panel.dart
├── styles
│ ├── styles.dart
│ └── fonts.dart
├── responsive.dart
├── file_picker.dart
└── main.dart
├── assets
├── logo.png
├── mobile.png
├── splash.png
├── astranaut.png
├── desktop.png
├── dribble.png
├── favicon.png
├── google-icon.png
├── card_logos
│ ├── amex.png
│ ├── visa.png
│ ├── discover.png
│ └── mastercard.png
└── fonts
│ ├── Poppins-Black.ttf
│ ├── Poppins-Bold.ttf
│ ├── Poppins-Light.ttf
│ ├── Poppins-Thin.ttf
│ ├── Poppins-Italic.ttf
│ ├── Poppins-Medium.ttf
│ ├── Poppins-Regular.ttf
│ ├── Poppins-BoldItalic.ttf
│ ├── Poppins-ExtraBold.ttf
│ ├── Poppins-ExtraLight.ttf
│ ├── Poppins-SemiBold.ttf
│ ├── Poppins-ThinItalic.ttf
│ ├── Poppins-BlackItalic.ttf
│ ├── Poppins-LightItalic.ttf
│ ├── Poppins-MediumItalic.ttf
│ ├── Poppins-ExtraBoldItalic.ttf
│ ├── Poppins-SemiBoldItalic.ttf
│ └── Poppins-ExtraLightItalic.ttf
├── web
├── favicon.png
├── icons
│ ├── Icon-192.png
│ ├── Icon-512.png
│ ├── Icon-maskable-192.png
│ └── Icon-maskable-512.png
├── splash
│ └── img
│ │ ├── dark-1x.png
│ │ ├── dark-2x.png
│ │ ├── dark-3x.png
│ │ ├── dark-4x.png
│ │ ├── light-1x.png
│ │ ├── light-2x.png
│ │ ├── light-3x.png
│ │ └── light-4x.png
├── sitemap.xml
└── manifest.json
├── flutter_native_splash.yaml
├── android
├── gradle.properties
├── app
│ ├── src
│ │ ├── main
│ │ │ ├── res
│ │ │ │ ├── drawable-hdpi
│ │ │ │ │ └── splash.png
│ │ │ │ ├── drawable-mdpi
│ │ │ │ │ └── splash.png
│ │ │ │ ├── drawable-xhdpi
│ │ │ │ │ └── splash.png
│ │ │ │ ├── drawable
│ │ │ │ │ ├── background.png
│ │ │ │ │ └── launch_background.xml
│ │ │ │ ├── drawable-v21
│ │ │ │ │ ├── background.png
│ │ │ │ │ └── launch_background.xml
│ │ │ │ ├── drawable-xxhdpi
│ │ │ │ │ └── splash.png
│ │ │ │ ├── drawable-xxxhdpi
│ │ │ │ │ └── splash.png
│ │ │ │ ├── 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
│ │ │ │ ├── mipmap-anydpi-v26
│ │ │ │ │ └── launcher_icon.xml
│ │ │ │ ├── values-v31
│ │ │ │ │ └── styles.xml
│ │ │ │ ├── values-night-v31
│ │ │ │ │ └── styles.xml
│ │ │ │ ├── values
│ │ │ │ │ └── styles.xml
│ │ │ │ └── values-night
│ │ │ │ │ └── styles.xml
│ │ │ ├── kotlin
│ │ │ │ └── com
│ │ │ │ │ └── example
│ │ │ │ │ └── shippi
│ │ │ │ │ └── MainActivity.kt
│ │ │ └── AndroidManifest.xml
│ │ ├── debug
│ │ │ └── AndroidManifest.xml
│ │ └── profile
│ │ │ └── AndroidManifest.xml
│ ├── google-services.json
│ └── build.gradle
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
├── .gitignore
├── build.gradle
└── settings.gradle
├── macos
├── Runner
│ ├── Configs
│ │ ├── Debug.xcconfig
│ │ ├── Release.xcconfig
│ │ ├── Warnings.xcconfig
│ │ └── AppInfo.xcconfig
│ ├── Assets.xcassets
│ │ └── AppIcon.appiconset
│ │ │ ├── app_icon_1024.png
│ │ │ ├── app_icon_128.png
│ │ │ ├── app_icon_16.png
│ │ │ ├── app_icon_256.png
│ │ │ ├── app_icon_32.png
│ │ │ ├── app_icon_512.png
│ │ │ ├── app_icon_64.png
│ │ │ └── Contents.json
│ ├── AppDelegate.swift
│ ├── Release.entitlements
│ ├── DebugProfile.entitlements
│ ├── MainFlutterWindow.swift
│ ├── GoogleService-Info.plist
│ └── Info.plist
├── .gitignore
├── Flutter
│ ├── Flutter-Debug.xcconfig
│ ├── Flutter-Release.xcconfig
│ └── GeneratedPluginRegistrant.swift
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── IDEWorkspaceChecks.plist
├── Runner.xcodeproj
│ ├── project.xcworkspace
│ │ └── xcshareddata
│ │ │ └── IDEWorkspaceChecks.plist
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── RunnerTests
│ └── RunnerTests.swift
└── Podfile
├── .well-known
└── funding-manifest-urls
├── windows
├── runner
│ ├── resources
│ │ └── app_icon.ico
│ ├── resource.h
│ ├── utils.h
│ ├── runner.exe.manifest
│ ├── flutter_window.h
│ ├── main.cpp
│ ├── CMakeLists.txt
│ ├── utils.cpp
│ ├── flutter_window.cpp
│ ├── Runner.rc
│ └── win32_window.h
├── .gitignore
├── flutter
│ ├── generated_plugin_registrant.h
│ ├── generated_plugins.cmake
│ ├── generated_plugin_registrant.cc
│ └── CMakeLists.txt
└── CMakeLists.txt
├── .gitignore
├── analysis_options.yaml
├── .metadata
├── README.md
├── pubspec.yaml
└── LICENSE
/functions/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/linux/.gitignore:
--------------------------------------------------------------------------------
1 | flutter/ephemeral
2 |
--------------------------------------------------------------------------------
/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/lib/data/constants.dart:
--------------------------------------------------------------------------------
1 | const String baseUrl = "http://localhost:58359/api";
--------------------------------------------------------------------------------
/assets/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/logo.png
--------------------------------------------------------------------------------
/web/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/web/favicon.png
--------------------------------------------------------------------------------
/assets/mobile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/mobile.png
--------------------------------------------------------------------------------
/assets/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/splash.png
--------------------------------------------------------------------------------
/assets/astranaut.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/astranaut.png
--------------------------------------------------------------------------------
/assets/desktop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/desktop.png
--------------------------------------------------------------------------------
/assets/dribble.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/dribble.png
--------------------------------------------------------------------------------
/assets/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/favicon.png
--------------------------------------------------------------------------------
/assets/google-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/google-icon.png
--------------------------------------------------------------------------------
/web/icons/Icon-192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/web/icons/Icon-192.png
--------------------------------------------------------------------------------
/web/icons/Icon-512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/web/icons/Icon-512.png
--------------------------------------------------------------------------------
/flutter_native_splash.yaml:
--------------------------------------------------------------------------------
1 | flutter_native_splash:
2 | image: "assets/splash.png"
3 | color: "#5c1669"
--------------------------------------------------------------------------------
/assets/card_logos/amex.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/card_logos/amex.png
--------------------------------------------------------------------------------
/assets/card_logos/visa.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/card_logos/visa.png
--------------------------------------------------------------------------------
/web/splash/img/dark-1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/web/splash/img/dark-1x.png
--------------------------------------------------------------------------------
/web/splash/img/dark-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/web/splash/img/dark-2x.png
--------------------------------------------------------------------------------
/web/splash/img/dark-3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/web/splash/img/dark-3x.png
--------------------------------------------------------------------------------
/web/splash/img/dark-4x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/web/splash/img/dark-4x.png
--------------------------------------------------------------------------------
/web/splash/img/light-1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/web/splash/img/light-1x.png
--------------------------------------------------------------------------------
/web/splash/img/light-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/web/splash/img/light-2x.png
--------------------------------------------------------------------------------
/web/splash/img/light-3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/web/splash/img/light-3x.png
--------------------------------------------------------------------------------
/web/splash/img/light-4x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/web/splash/img/light-4x.png
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx4G
2 | android.useAndroidX=true
3 | android.enableJetifier=true
4 |
--------------------------------------------------------------------------------
/assets/card_logos/discover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/card_logos/discover.png
--------------------------------------------------------------------------------
/assets/fonts/Poppins-Black.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/fonts/Poppins-Black.ttf
--------------------------------------------------------------------------------
/assets/fonts/Poppins-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/fonts/Poppins-Bold.ttf
--------------------------------------------------------------------------------
/assets/fonts/Poppins-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/fonts/Poppins-Light.ttf
--------------------------------------------------------------------------------
/assets/fonts/Poppins-Thin.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/fonts/Poppins-Thin.ttf
--------------------------------------------------------------------------------
/assets/card_logos/mastercard.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/card_logos/mastercard.png
--------------------------------------------------------------------------------
/assets/fonts/Poppins-Italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/fonts/Poppins-Italic.ttf
--------------------------------------------------------------------------------
/assets/fonts/Poppins-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/fonts/Poppins-Medium.ttf
--------------------------------------------------------------------------------
/assets/fonts/Poppins-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/fonts/Poppins-Regular.ttf
--------------------------------------------------------------------------------
/macos/Runner/Configs/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "../../Flutter/Flutter-Debug.xcconfig"
2 | #include "Warnings.xcconfig"
3 |
--------------------------------------------------------------------------------
/web/icons/Icon-maskable-192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/web/icons/Icon-maskable-192.png
--------------------------------------------------------------------------------
/web/icons/Icon-maskable-512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/web/icons/Icon-maskable-512.png
--------------------------------------------------------------------------------
/assets/fonts/Poppins-BoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/fonts/Poppins-BoldItalic.ttf
--------------------------------------------------------------------------------
/assets/fonts/Poppins-ExtraBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/fonts/Poppins-ExtraBold.ttf
--------------------------------------------------------------------------------
/assets/fonts/Poppins-ExtraLight.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/fonts/Poppins-ExtraLight.ttf
--------------------------------------------------------------------------------
/assets/fonts/Poppins-SemiBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/fonts/Poppins-SemiBold.ttf
--------------------------------------------------------------------------------
/assets/fonts/Poppins-ThinItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/fonts/Poppins-ThinItalic.ttf
--------------------------------------------------------------------------------
/macos/Runner/Configs/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "../../Flutter/Flutter-Release.xcconfig"
2 | #include "Warnings.xcconfig"
3 |
--------------------------------------------------------------------------------
/.well-known/funding-manifest-urls:
--------------------------------------------------------------------------------
1 | {
2 | "funding": {
3 | "paypal":"https://www.paypal.me/muzammildafedar"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/assets/fonts/Poppins-BlackItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/fonts/Poppins-BlackItalic.ttf
--------------------------------------------------------------------------------
/assets/fonts/Poppins-LightItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/fonts/Poppins-LightItalic.ttf
--------------------------------------------------------------------------------
/assets/fonts/Poppins-MediumItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/fonts/Poppins-MediumItalic.ttf
--------------------------------------------------------------------------------
/macos/.gitignore:
--------------------------------------------------------------------------------
1 | # Flutter-related
2 | **/Flutter/ephemeral/
3 | **/Pods/
4 |
5 | # Xcode-related
6 | **/dgph
7 | **/xcuserdata/
8 |
--------------------------------------------------------------------------------
/windows/runner/resources/app_icon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/windows/runner/resources/app_icon.ico
--------------------------------------------------------------------------------
/assets/fonts/Poppins-ExtraBoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/fonts/Poppins-ExtraBoldItalic.ttf
--------------------------------------------------------------------------------
/assets/fonts/Poppins-SemiBoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/fonts/Poppins-SemiBoldItalic.ttf
--------------------------------------------------------------------------------
/functions/.env.example:
--------------------------------------------------------------------------------
1 | ENCRYPTION_KEY =
2 | DB_USERNAME = postgres
3 | DB_PASSWORD =
4 | DB_HOST = localhost
5 | DB_DATABASE = postgres
--------------------------------------------------------------------------------
/assets/fonts/Poppins-ExtraLightItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/assets/fonts/Poppins-ExtraLightItalic.ttf
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-hdpi/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/android/app/src/main/res/drawable-hdpi/splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-mdpi/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/android/app/src/main/res/drawable-mdpi/splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-xhdpi/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/android/app/src/main/res/drawable-xhdpi/splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/android/app/src/main/res/drawable/background.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-v21/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/android/app/src/main/res/drawable-v21/background.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-xxhdpi/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/android/app/src/main/res/drawable-xxhdpi/splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-xxxhdpi/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/android/app/src/main/res/drawable-xxxhdpi/splash.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/android/app/src/main/res/mipmap-hdpi/launcher_icon.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/android/app/src/main/res/mipmap-mdpi/launcher_icon.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/android/app/src/main/res/mipmap-xhdpi/launcher_icon.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png
--------------------------------------------------------------------------------
/macos/Flutter/Flutter-Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
2 | #include "ephemeral/Flutter-Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/macos/Flutter/Flutter-Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
2 | #include "ephemeral/Flutter-Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png
--------------------------------------------------------------------------------
/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png
--------------------------------------------------------------------------------
/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png
--------------------------------------------------------------------------------
/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png
--------------------------------------------------------------------------------
/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png
--------------------------------------------------------------------------------
/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png
--------------------------------------------------------------------------------
/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/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/muzammildafedar/udayah/HEAD/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/muzammildafedar/udayah/HEAD/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/muzammildafedar/udayah/HEAD/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/muzammildafedar/udayah/HEAD/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/muzammildafedar/udayah/HEAD/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/muzammildafedar/udayah/HEAD/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/muzammildafedar/udayah/HEAD/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/muzammildafedar/udayah/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/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/muzammildafedar/udayah/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/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/muzammildafedar/udayah/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/com/example/shippi/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.example.shippi
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity()
6 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-anydpi-v26/launcher_icon.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/muzammildafedar/udayah/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/linux/main.cc:
--------------------------------------------------------------------------------
1 | #include "my_application.h"
2 |
3 | int main(int argc, char** argv) {
4 | g_autoptr(MyApplication) app = my_application_new();
5 | return g_application_run(G_APPLICATION(app), argc, argv);
6 | }
7 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/macos/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | zipStoreBase=GRADLE_USER_HOME
4 | zipStorePath=wrapper/dists
5 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip
6 |
--------------------------------------------------------------------------------
/macos/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import Cocoa
2 | import FlutterMacOS
3 |
4 | @NSApplicationMain
5 | class AppDelegate: FlutterAppDelegate {
6 | override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
7 | return true
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/macos/Runner/Release.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | com.apple.security.app-sandbox
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/macos/Runner.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/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/lib/routes/auth_guard.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:firebase_auth/firebase_auth.dart';
3 |
4 | class AuthGuard {
5 | bool isAuthenticated(BuildContext context) {
6 | final user = FirebaseAuth.instance.currentUser;
7 | return user != null;
8 | }
9 | }
10 |
11 | final authGuard = AuthGuard();
12 |
--------------------------------------------------------------------------------
/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 | **/*.keystore
13 | **/*.jks
14 |
--------------------------------------------------------------------------------
/ios/RunnerTests/RunnerTests.swift:
--------------------------------------------------------------------------------
1 | import Flutter
2 | import UIKit
3 | import XCTest
4 |
5 | class RunnerTests: XCTestCase {
6 |
7 | func testExample() {
8 | // If you add code to the Runner application, consider adding tests here.
9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest.
10 | }
11 |
12 | }
13 |
--------------------------------------------------------------------------------
/macos/RunnerTests/RunnerTests.swift:
--------------------------------------------------------------------------------
1 | import Cocoa
2 | import FlutterMacOS
3 | import XCTest
4 |
5 | class RunnerTests: XCTestCase {
6 |
7 | func testExample() {
8 | // If you add code to the Runner application, consider adding tests here.
9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest.
10 | }
11 |
12 | }
13 |
--------------------------------------------------------------------------------
/windows/.gitignore:
--------------------------------------------------------------------------------
1 | flutter/ephemeral/
2 |
3 | # Visual Studio user-specific files.
4 | *.suo
5 | *.user
6 | *.userosscache
7 | *.sln.docstates
8 |
9 | # Visual Studio build-related files.
10 | x64/
11 | x86/
12 |
13 | # Visual Studio cache files
14 | # files ending in .cache can be ignored
15 | *.[Cc]ache
16 | # but keep track of directories ending in .cache
17 | !*.[Cc]ache/
18 |
--------------------------------------------------------------------------------
/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.
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
6 | -
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/linux/flutter/generated_plugin_registrant.h:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #ifndef GENERATED_PLUGIN_REGISTRANT_
8 | #define GENERATED_PLUGIN_REGISTRANT_
9 |
10 | #include
11 |
12 | // Registers Flutter plugins.
13 | void fl_register_plugins(FlPluginRegistry* registry);
14 |
15 | #endif // GENERATED_PLUGIN_REGISTRANT_
16 |
--------------------------------------------------------------------------------
/windows/flutter/generated_plugin_registrant.h:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #ifndef GENERATED_PLUGIN_REGISTRANT_
8 | #define GENERATED_PLUGIN_REGISTRANT_
9 |
10 | #include
11 |
12 | // Registers Flutter plugins.
13 | void RegisterPlugins(flutter::PluginRegistry* registry);
14 |
15 | #endif // GENERATED_PLUGIN_REGISTRANT_
16 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-v21/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
6 | -
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | allprojects {
2 | repositories {
3 | google()
4 | mavenCentral()
5 | }
6 | }
7 |
8 | rootProject.buildDir = '../build'
9 | subprojects {
10 | project.buildDir = "${rootProject.buildDir}/${project.name}"
11 | }
12 | subprojects {
13 | project.evaluationDependsOn(':app')
14 | }
15 |
16 | tasks.register("clean", Delete) {
17 | delete rootProject.buildDir
18 | }
19 |
--------------------------------------------------------------------------------
/lib/pages/not_found_page.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:udayah/styles/styles.dart';
3 |
4 | class NotFoundScreen extends StatelessWidget {
5 | @override
6 | Widget build(BuildContext context) {
7 | return Scaffold(
8 | backgroundColor: Styles.brandBackgroundColor,
9 | body: Center(
10 | child: Text('Page not found'),
11 | ),
12 | );
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/macos/Runner/DebugProfile.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | com.apple.security.app-sandbox
6 |
7 | com.apple.security.cs.allow-jit
8 |
9 | com.apple.security.network.server
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "filename" : "background.png",
5 | "idiom" : "universal",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "author" : "xcode",
19 | "version" : 1
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import Flutter
2 | import UIKit
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 |
--------------------------------------------------------------------------------
/linux/my_application.h:
--------------------------------------------------------------------------------
1 | #ifndef FLUTTER_MY_APPLICATION_H_
2 | #define FLUTTER_MY_APPLICATION_H_
3 |
4 | #include
5 |
6 | G_DECLARE_FINAL_TYPE(MyApplication, my_application, MY, APPLICATION,
7 | GtkApplication)
8 |
9 | /**
10 | * my_application_new:
11 | *
12 | * Creates a new Flutter-based application.
13 | *
14 | * Returns: a new #MyApplication.
15 | */
16 | MyApplication* my_application_new();
17 |
18 | #endif // FLUTTER_MY_APPLICATION_H_
19 |
--------------------------------------------------------------------------------
/macos/Runner/MainFlutterWindow.swift:
--------------------------------------------------------------------------------
1 | import Cocoa
2 | import FlutterMacOS
3 |
4 | class MainFlutterWindow: NSWindow {
5 | override func awakeFromNib() {
6 | let flutterViewController = FlutterViewController()
7 | let windowFrame = self.frame
8 | self.contentViewController = flutterViewController
9 | self.setFrame(windowFrame, display: true)
10 |
11 | RegisterGeneratedPlugins(registry: flutterViewController)
12 |
13 | super.awakeFromNib()
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/web/sitemap.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 | https://www.udayah.in/
11 | 2024-09-11T11:50:18+00:00
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/windows/runner/resource.h:
--------------------------------------------------------------------------------
1 | //{{NO_DEPENDENCIES}}
2 | // Microsoft Visual C++ generated include file.
3 | // Used by Runner.rc
4 | //
5 | #define IDI_APP_ICON 101
6 |
7 | // Next default values for new objects
8 | //
9 | #ifdef APSTUDIO_INVOKED
10 | #ifndef APSTUDIO_READONLY_SYMBOLS
11 | #define _APS_NEXT_RESOURCE_VALUE 102
12 | #define _APS_NEXT_COMMAND_VALUE 40001
13 | #define _APS_NEXT_CONTROL_VALUE 1001
14 | #define _APS_NEXT_SYMED_VALUE 101
15 | #endif
16 | #endif
17 |
--------------------------------------------------------------------------------
/linux/flutter/generated_plugin_registrant.cc:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #include "generated_plugin_registrant.h"
8 |
9 | #include
10 |
11 | void fl_register_plugins(FlPluginRegistry* registry) {
12 | g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar =
13 | fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin");
14 | url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar);
15 | }
16 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "filename" : "LaunchImage.png",
5 | "idiom" : "universal",
6 | "scale" : "1x"
7 | },
8 | {
9 | "filename" : "LaunchImage@2x.png",
10 | "idiom" : "universal",
11 | "scale" : "2x"
12 | },
13 | {
14 | "filename" : "LaunchImage@3x.png",
15 | "idiom" : "universal",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "author" : "xcode",
21 | "version" : 1
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/lib/models/hr_emails.dart:
--------------------------------------------------------------------------------
1 | // hr_email.dart
2 | class HrEmail {
3 | final String emailAddress;
4 | final String companyName;
5 | final String website;
6 | final String addedBy;
7 |
8 | HrEmail({
9 | required this.emailAddress,
10 | required this.companyName,
11 | required this.website,
12 | required this.addedBy,
13 | });
14 |
15 | Map toJson() {
16 | return {
17 | 'email_address': emailAddress,
18 | 'company_name': companyName,
19 | 'website': website,
20 | 'added_by': addedBy,
21 | };
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/lib/provider/navigation.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:provider/provider.dart';
3 | import 'package:udayah/provider/auth.dart';
4 | import 'package:udayah/widgets/companies_list.dart';
5 | import 'package:udayah/widgets/smtp_page.dart';
6 |
7 | class ActiveTabIndexProvider extends ChangeNotifier {
8 | int _activeTab = 0;
9 |
10 | // ActiveTabIndexProvider(this._authProvider);
11 |
12 | int get fetchCurrentTabIndex => _activeTab;
13 |
14 | void setActiveTabIndex(int newIndex) {
15 | _activeTab = newIndex;
16 | notifyListeners();
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/lib/models/enums/navigation_items.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | enum NavigationItems {
4 | home,
5 | settings,
6 | profile,
7 | logout
8 | }
9 |
10 | extension NavigationItemsExtensions on NavigationItems {
11 | IconData get icon {
12 | switch (this) {
13 | case NavigationItems.home:
14 | return Icons.home;
15 | case NavigationItems.settings:
16 | return Icons.settings;
17 | case NavigationItems.profile:
18 | return Icons.person;
19 | case NavigationItems.logout:
20 | return Icons.logout;
21 | default:
22 | return Icons.person;
23 | }
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/macos/Runner/Configs/Warnings.xcconfig:
--------------------------------------------------------------------------------
1 | WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings
2 | GCC_WARN_UNDECLARED_SELECTOR = YES
3 | CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES
4 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE
5 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
6 | CLANG_WARN_PRAGMA_PACK = YES
7 | CLANG_WARN_STRICT_PROTOTYPES = YES
8 | CLANG_WARN_COMMA = YES
9 | GCC_WARN_STRICT_SELECTOR_MATCH = YES
10 | CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES
11 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES
12 | GCC_WARN_SHADOW = YES
13 | CLANG_WARN_UNREACHABLE_CODE = YES
14 |
--------------------------------------------------------------------------------
/macos/Runner/Configs/AppInfo.xcconfig:
--------------------------------------------------------------------------------
1 | // Application-level settings for the Runner target.
2 | //
3 | // This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the
4 | // future. If not, the values below would default to using the project name when this becomes a
5 | // 'flutter create' template.
6 |
7 | // The application's name. By default this is also the title of the Flutter window.
8 | PRODUCT_NAME = shippi
9 |
10 | // The application's bundle identifier
11 | PRODUCT_BUNDLE_IDENTIFIER = com.example.shippi
12 |
13 | // The copyright displayed in application information
14 | PRODUCT_COPYRIGHT = Copyright © 2024 com.example. All rights reserved.
15 |
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | **/dgph
2 | *.mode1v3
3 | *.mode2v3
4 | *.moved-aside
5 | *.pbxuser
6 | *.perspectivev3
7 | **/*sync/
8 | .sconsign.dblite
9 | .tags*
10 | **/.vagrant/
11 | **/DerivedData/
12 | Icon?
13 | **/Pods/
14 | **/.symlinks/
15 | profile
16 | xcuserdata
17 | **/.generated/
18 | Flutter/App.framework
19 | Flutter/Flutter.framework
20 | Flutter/Flutter.podspec
21 | Flutter/Generated.xcconfig
22 | Flutter/ephemeral/
23 | Flutter/app.flx
24 | Flutter/app.zip
25 | Flutter/flutter_assets/
26 | Flutter/flutter_export_environment.sh
27 | ServiceDefinitions.json
28 | Runner/GeneratedPluginRegistrant.*
29 |
30 | # Exceptions to above rules.
31 | !default.mode1v3
32 | !default.mode2v3
33 | !default.pbxuser
34 | !default.perspectivev3
35 |
--------------------------------------------------------------------------------
/functions/encryption.js:
--------------------------------------------------------------------------------
1 | const crypto = require('crypto');
2 | const algorithm = 'aes-256-cbc'; // AES encryption algorithm
3 | const key = Buffer.from(process.env.ENCRYPTION_KEY, 'utf8').slice(0, 32); // Ensure key is 32 bytes
4 |
5 | // Encryption function with a random IV
6 | function encrypt(text) {
7 | const iv = crypto.randomBytes(16); // Generate a random 16-byte IV
8 | const cipher = crypto.createCipheriv(algorithm, key, iv);
9 | let encrypted = cipher.update(text, 'utf8', 'base64');
10 | encrypted += cipher.final('base64');
11 |
12 | // Return both the IV and the encrypted data as base64
13 | return {
14 | iv: iv.toString('base64'),
15 | encryptedData: encrypted,
16 | };
17 | }
18 |
19 | module.exports = {
20 | encrypt,
21 | };
22 |
--------------------------------------------------------------------------------
/windows/runner/utils.h:
--------------------------------------------------------------------------------
1 | #ifndef RUNNER_UTILS_H_
2 | #define RUNNER_UTILS_H_
3 |
4 | #include
5 | #include
6 |
7 | // Creates a console for the process, and redirects stdout and stderr to
8 | // it for both the runner and the Flutter library.
9 | void CreateAndAttachConsole();
10 |
11 | // Takes a null-terminated wchar_t* encoded in UTF-16 and returns a std::string
12 | // encoded in UTF-8. Returns an empty std::string on failure.
13 | std::string Utf8FromUtf16(const wchar_t* utf16_string);
14 |
15 | // Gets the command line arguments passed in as a std::vector,
16 | // encoded in UTF-8. Returns an empty std::vector on failure.
17 | std::vector GetCommandLineArguments();
18 |
19 | #endif // RUNNER_UTILS_H_
20 |
--------------------------------------------------------------------------------
/functions/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "functions",
3 | "description": "A Node.js server with Express and Nodemailer",
4 | "scripts": {
5 | "serve": "node index.js",
6 | "start": "node index.js",
7 | "logs": "echo 'No logs available without Firebase'"
8 | },
9 | "engines": {
10 | "node": "20"
11 | },
12 | "main": "index.js",
13 | "dependencies": {
14 | "axios": "^1.7.7",
15 | "cors": "^2.8.5",
16 | "crypto": "^1.0.1",
17 | "dotenv": "^16.4.5",
18 | "express": "^4.21.0",
19 | "express-validator": "^7.2.0",
20 | "multer": "^1.4.5-lts.1",
21 | "nodemailer": "^6.9.14",
22 | "path": "^0.12.7",
23 | "pg": "^8.13.0",
24 | "pg-hstore": "^2.3.4",
25 | "sequelize": "^6.37.3"
26 | },
27 | "private": true
28 | }
29 |
--------------------------------------------------------------------------------
/android/app/google-services.json:
--------------------------------------------------------------------------------
1 | {
2 | "project_info": {
3 | "project_number": "646103040420",
4 | "project_id": "udayah",
5 | "storage_bucket": "udayah.appspot.com"
6 | },
7 | "client": [
8 | {
9 | "client_info": {
10 | "mobilesdk_app_id": "1:646103040420:android:42fb4139a7cbcac22f8131",
11 | "android_client_info": {
12 | "package_name": "com.example.shippi"
13 | }
14 | },
15 | "oauth_client": [],
16 | "api_key": [
17 | {
18 | "current_key": "AIzaSyCu0lj9PzdU56DgDkznA6Eel9cV8ReEZbM"
19 | }
20 | ],
21 | "services": {
22 | "appinvite_service": {
23 | "other_platform_oauth_client": []
24 | }
25 | }
26 | }
27 | ],
28 | "configuration_version": "1"
29 | }
--------------------------------------------------------------------------------
/functions/models/HrEmail.js:
--------------------------------------------------------------------------------
1 | const { DataTypes } = require('sequelize');
2 | const sequelize = require('../database/database');
3 |
4 | const HREmail = sequelize.define('HREmail', {
5 | email_address: {
6 | type: DataTypes.STRING,
7 | allowNull: false,
8 | unique: true,
9 | },
10 | company_name: {
11 | type: DataTypes.STRING,
12 | allowNull: false,
13 | },
14 | website: {
15 | type: DataTypes.STRING,
16 | allowNull: false,
17 | },
18 | added_by: {
19 | type: DataTypes.STRING,
20 | allowNull: false,
21 | },
22 | visible: {
23 | type: DataTypes.BOOLEAN,
24 | allowNull: false,
25 | defaultValue: false,
26 | },
27 | }, {
28 | timestamps: true,
29 | });
30 |
31 | // Export the model
32 | module.exports = HREmail;
33 |
--------------------------------------------------------------------------------
/lib/encryption.dart:
--------------------------------------------------------------------------------
1 | import 'package:encrypt/encrypt.dart' as encrypt;
2 | import 'dart:convert';
3 | import 'package:http/http.dart' as http;
4 |
5 | class EncryptionHelper {
6 | static final key = encrypt.Key.fromUtf8("your key"); // Ensure this is the same as in Node.js
7 |
8 | static String decrypt(String encryptedData, String ivBase64) {
9 | final iv = encrypt.IV.fromBase64(ivBase64); // Convert IV from base64 to bytes
10 | final encrypter = encrypt.Encrypter(encrypt.AES(key, mode: encrypt.AESMode.cbc));
11 |
12 | try {
13 | // Decrypt the encrypted data using the same IV
14 | final decrypted = encrypter.decrypt64(encryptedData, iv: iv);
15 | return decrypted;
16 | } catch (e) {
17 | // print('Decryption error: $e');
18 | throw Exception('Failed to decrypt data');
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/lib/validators/validator.dart:
--------------------------------------------------------------------------------
1 | // validators.dart
2 | import 'package:flutter/material.dart';
3 |
4 | class Validators {
5 | static String? validateEmail(String? value) {
6 | if (value == null || value.isEmpty) {
7 | return 'Please enter an email';
8 | }
9 | final emailRegex = RegExp(r'^[^@]+@[^@]+\.[^@]+');
10 | if (!emailRegex.hasMatch(value)) {
11 | return 'Please enter a valid email';
12 | }
13 | return null;
14 | }
15 |
16 | static String? validateCompanyName(String? value) {
17 | if (value == null || value.isEmpty) {
18 | return 'Please enter a company name';
19 | }
20 | return null;
21 | }
22 |
23 | static String? validateWebsite(String? value) {
24 | if (value == null || value.isEmpty) {
25 | return 'Please enter a website';
26 | }
27 | return null;
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/lib/widgets/alerts.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:udayah/styles/fonts.dart';
3 | import 'package:udayah/styles/styles.dart';
4 |
5 | void ShowCustomDialog(BuildContext context, String message) {
6 | showDialog(
7 | context: context,
8 | builder: (BuildContext context) {
9 | return AlertDialog(
10 | backgroundColor: Styles.brandBackgroundColor,
11 | title: Text("Alert !", style: AppTextStyles.regular,),
12 | content: Text(message,style: AppTextStyles.regular,),
13 | actions: [
14 | TextButton(
15 | child: Text("OK", style: AppTextStyles.regular,),
16 | onPressed: () {
17 | Navigator.of(context).pop(); // Close the dialog
18 | },
19 | ),
20 | ],
21 | );
22 | },
23 | );
24 | }
--------------------------------------------------------------------------------
/linux/flutter/generated_plugins.cmake:
--------------------------------------------------------------------------------
1 | #
2 | # Generated file, do not edit.
3 | #
4 |
5 | list(APPEND FLUTTER_PLUGIN_LIST
6 | url_launcher_linux
7 | )
8 |
9 | list(APPEND FLUTTER_FFI_PLUGIN_LIST
10 | )
11 |
12 | set(PLUGIN_BUNDLED_LIBRARIES)
13 |
14 | foreach(plugin ${FLUTTER_PLUGIN_LIST})
15 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin})
16 | target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
17 | list(APPEND PLUGIN_BUNDLED_LIBRARIES $)
18 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
19 | endforeach(plugin)
20 |
21 | foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
22 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin})
23 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
24 | endforeach(ffi_plugin)
25 |
--------------------------------------------------------------------------------
/functions/database/database.js:
--------------------------------------------------------------------------------
1 | const { Sequelize } = require('sequelize');
2 |
3 | const sequelize = new Sequelize(process.env.DB_DATABASE, process.env.DB_USERNAME, process.env.DB_PASSWORD, {
4 | host: process.env.DB_HOST,
5 | dialect: 'postgres',
6 | port: 5432,
7 | dialectOptions: {
8 | ssl: {
9 | require: true, // This will help you. But you will see nwe error
10 | rejectUnauthorized: false // This line will fix new error
11 | }
12 | },
13 | });
14 |
15 | const connectDB = async () => {
16 | try {
17 | await sequelize.authenticate();
18 | console.log('Connection has been established successfully.');
19 |
20 |
21 | await sequelize.sync();
22 | } catch (error) {
23 | console.error('Unable to connect to the database:', error);
24 | }
25 | };
26 |
27 | connectDB();
28 |
29 | module.exports = sequelize;
30 |
--------------------------------------------------------------------------------
/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 | 12.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/windows/runner/runner.exe.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PerMonitorV2
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | pluginManagement {
2 | def flutterSdkPath = {
3 | def properties = new Properties()
4 | file("local.properties").withInputStream { properties.load(it) }
5 | def flutterSdkPath = properties.getProperty("flutter.sdk")
6 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
7 | return flutterSdkPath
8 | }()
9 |
10 | includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
11 |
12 | repositories {
13 | google()
14 | mavenCentral()
15 | gradlePluginPortal()
16 | }
17 | }
18 |
19 | plugins {
20 | id "dev.flutter.flutter-plugin-loader" version "1.0.0"
21 | id "com.android.application" version "7.3.0" apply false
22 | // START: FlutterFire Configuration
23 | id "com.google.gms.google-services" version "4.3.15" apply false
24 | // END: FlutterFire Configuration
25 | id "org.jetbrains.kotlin.android" version "1.7.10" apply false
26 | }
27 |
28 | include ":app"
29 |
--------------------------------------------------------------------------------
/ios/Runner/GoogleService-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | API_KEY
6 | AIzaSyDkzIUWgv-hCAN-Ark4O6aaXICiT0eJSVA
7 | GCM_SENDER_ID
8 | 646103040420
9 | PLIST_VERSION
10 | 1
11 | BUNDLE_ID
12 | com.example.shippi
13 | PROJECT_ID
14 | udayah
15 | STORAGE_BUCKET
16 | udayah.appspot.com
17 | IS_ADS_ENABLED
18 |
19 | IS_ANALYTICS_ENABLED
20 |
21 | IS_APPINVITE_ENABLED
22 |
23 | IS_GCM_ENABLED
24 |
25 | IS_SIGNIN_ENABLED
26 |
27 | GOOGLE_APP_ID
28 | 1:646103040420:ios:6d70529cc103cc992f8131
29 |
30 |
--------------------------------------------------------------------------------
/macos/Runner/GoogleService-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | API_KEY
6 | AIzaSyDkzIUWgv-hCAN-Ark4O6aaXICiT0eJSVA
7 | GCM_SENDER_ID
8 | 646103040420
9 | PLIST_VERSION
10 | 1
11 | BUNDLE_ID
12 | com.example.shippi
13 | PROJECT_ID
14 | udayah
15 | STORAGE_BUCKET
16 | udayah.appspot.com
17 | IS_ADS_ENABLED
18 |
19 | IS_ANALYTICS_ENABLED
20 |
21 | IS_APPINVITE_ENABLED
22 |
23 | IS_GCM_ENABLED
24 |
25 | IS_SIGNIN_ENABLED
26 |
27 | GOOGLE_APP_ID
28 | 1:646103040420:ios:6d70529cc103cc992f8131
29 |
30 |
--------------------------------------------------------------------------------
/lib/models/companies_list.dart:
--------------------------------------------------------------------------------
1 | class CompaniesEmail {
2 | var id;
3 | final String emailAddress;
4 | final String companyName;
5 | final String website;
6 | final bool visible;
7 | final String addedBy;
8 | final String createdAt;
9 | final String updatedAt;
10 |
11 | CompaniesEmail({
12 | required this.id,
13 | required this.emailAddress,
14 | required this.companyName,
15 | required this.website,
16 | required this.visible,
17 | required this.addedBy,
18 | required this.createdAt,
19 | required this.updatedAt,
20 | });
21 |
22 | factory CompaniesEmail.fromJson(Map json) {
23 | return CompaniesEmail(
24 | id: json['id'],
25 | emailAddress: json['email_address'],
26 | companyName: json['company_name'],
27 | website: json['website'],
28 | visible: json['visible'],
29 | addedBy: json['added_by'],
30 | createdAt: json['createdAt'],
31 | updatedAt: json['updatedAt'],
32 | );
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/windows/flutter/generated_plugins.cmake:
--------------------------------------------------------------------------------
1 | #
2 | # Generated file, do not edit.
3 | #
4 |
5 | list(APPEND FLUTTER_PLUGIN_LIST
6 | cloud_firestore
7 | firebase_auth
8 | firebase_core
9 | firebase_storage
10 | flutter_inappwebview_windows
11 | url_launcher_windows
12 | )
13 |
14 | list(APPEND FLUTTER_FFI_PLUGIN_LIST
15 | )
16 |
17 | set(PLUGIN_BUNDLED_LIBRARIES)
18 |
19 | foreach(plugin ${FLUTTER_PLUGIN_LIST})
20 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin})
21 | target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
22 | list(APPEND PLUGIN_BUNDLED_LIBRARIES $)
23 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
24 | endforeach(plugin)
25 |
26 | foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
27 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin})
28 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
29 | endforeach(ffi_plugin)
30 |
--------------------------------------------------------------------------------
/functions/routes/hrEmailRoutes.js:
--------------------------------------------------------------------------------
1 | const { body,param } = require('express-validator');
2 | const hrEmailController = require('../controllers/hrEmailController');
3 | const express = require('express');
4 |
5 |
6 | const router = express.Router();
7 |
8 | // POST endpoint to store hr email
9 | router.post('/api/add-hr-email', [
10 | body('email_address').isEmail().withMessage('Must be a valid email address'),
11 | body('company_name').notEmpty().withMessage('Company name is required'),
12 | body('website').isURL().withMessage('Must be a valid URL'),
13 | body('added_by')
14 | .exists().withMessage('the user email is required')
15 | .isEmail().withMessage('Must be a valid email'),
16 | ], hrEmailController.addHREmail);
17 |
18 | router.get('/api/companies/:company_id?', [
19 | param('company_id')
20 | .optional()
21 | .isInt({ gt: 0 }).withMessage('Company ID must be a positive integer'),],
22 | hrEmailController.fetchCompanies,);
23 |
24 |
25 | module.exports = router;
26 |
--------------------------------------------------------------------------------
/lib/layout/top_app_bar.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/widgets.dart';
2 | import 'package:udayah/responsive.dart';
3 | import 'package:flutter/cupertino.dart';
4 | import 'package:flutter/material.dart';
5 |
6 | class TopAppBar extends StatelessWidget {
7 | const TopAppBar({Key? key, final String ? title}) : super(key: key);
8 |
9 | @override
10 | Widget build(BuildContext context) {
11 | return Padding(
12 | padding: const EdgeInsets.all(18.0),
13 | child: Row(
14 | children: [
15 | Visibility(
16 | visible: Responsive.isDesktop(context),
17 | child: const Padding(
18 | padding: EdgeInsets.only(right: 30.0),
19 | child: Text(
20 | "",
21 | style: TextStyle(
22 | fontWeight: FontWeight.bold,
23 | fontSize: 26,
24 | ),
25 | ),
26 | ),
27 | ),
28 |
29 | ],
30 | ),
31 | );
32 | }
33 |
34 |
35 | }
36 |
--------------------------------------------------------------------------------
/functions/index.js:
--------------------------------------------------------------------------------
1 | require('dotenv').config();
2 | const express = require('express');
3 | const cors = require('cors');
4 | const app = express();
5 | const port = process.env.PORT || 3000;
6 | const hrEmailRoutes = require('./routes/hrEmailRoutes');
7 | const sendEmailRoutes = require('./routes/sendEmailRoutes');
8 |
9 |
10 | app.use(cors({
11 | origin: '*', // Update if needed
12 | methods: 'GET, POST, PUT, DELETE, OPTIONS',
13 | allowedHeaders: 'Origin, X-Requested-With, Content-Type, Accept, Authorization'
14 | }));
15 | // app.use('/.well-known', express.static(path.join(__dirname, '.well-known')));
16 | //app.use(cors());
17 | app.use(express.json());
18 | app.get('/', async (req, res) => {
19 | res.status(200).json({ success: 'Working bro..' });
20 | });
21 | //app.us('/.well-known', express.static(path.join(__dirname, '.well-known')));
22 |
23 |
24 | //routers
25 | app.use(hrEmailRoutes);
26 | app.use(sendEmailRoutes);
27 |
28 |
29 |
30 | app.listen(port, () => {
31 | console.log('Server running on port 3000');
32 | });
33 |
--------------------------------------------------------------------------------
/lib/widgets/navigation_button.dart:
--------------------------------------------------------------------------------
1 | import 'package:udayah/styles/styles.dart';
2 | import 'package:flutter/material.dart';
3 |
4 | class NavigationButton extends StatelessWidget {
5 | const NavigationButton({
6 | Key? key,
7 | required this.onPressed,
8 | required this.icon,
9 | this.isActive = true,
10 | }) : super(key: key);
11 |
12 | final VoidCallback onPressed;
13 | final IconData icon;
14 | final bool isActive;
15 |
16 | @override
17 | Widget build(BuildContext context) {
18 | return Container(
19 | margin: const EdgeInsets.symmetric(vertical: 10, horizontal: 10),
20 | decoration: BoxDecoration(
21 | color: isActive
22 | ? Styles.defaultYellowColor
23 | : Styles.defaultLightWhiteColor,
24 | shape: BoxShape.circle,
25 | ),
26 | child: IconButton(
27 | onPressed: onPressed,
28 | icon: Icon(
29 | icon,
30 | size: 20,
31 | color: isActive ? Colors.white : Colors.grey,
32 | ),
33 | ),
34 | );
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/windows/runner/flutter_window.h:
--------------------------------------------------------------------------------
1 | #ifndef RUNNER_FLUTTER_WINDOW_H_
2 | #define RUNNER_FLUTTER_WINDOW_H_
3 |
4 | #include
5 | #include
6 |
7 | #include
8 |
9 | #include "win32_window.h"
10 |
11 | // A window that does nothing but host a Flutter view.
12 | class FlutterWindow : public Win32Window {
13 | public:
14 | // Creates a new FlutterWindow hosting a Flutter view running |project|.
15 | explicit FlutterWindow(const flutter::DartProject& project);
16 | virtual ~FlutterWindow();
17 |
18 | protected:
19 | // Win32Window:
20 | bool OnCreate() override;
21 | void OnDestroy() override;
22 | LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam,
23 | LPARAM const lparam) noexcept override;
24 |
25 | private:
26 | // The project to run.
27 | flutter::DartProject project_;
28 |
29 | // The Flutter instance hosted by this window.
30 | std::unique_ptr flutter_controller_;
31 | };
32 |
33 | #endif // RUNNER_FLUTTER_WINDOW_H_
34 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values-v31/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
16 |
19 |
20 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values-night-v31/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
16 |
19 |
20 |
--------------------------------------------------------------------------------
/web/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Udayah",
3 | "short_name": "Udayah",
4 | "start_url": ".",
5 | "display": "standalone",
6 | "background_color": "#1C1C3A",
7 | "theme_color": "#1C1C3A",
8 | "description": "Udayah: AI-powered solutions for job hunters. Create standout resumes, send effective cold mails, and optimize your job applications with our AI ATS.",
9 | "orientation": "portrait-primary",
10 | "prefer_related_applications": false,
11 | "icons": [
12 | {
13 | "src": "icons/Icon-192.png",
14 | "sizes": "192x192",
15 | "type": "image/png"
16 | },
17 | {
18 | "src": "icons/Icon-512.png",
19 | "sizes": "512x512",
20 | "type": "image/png"
21 | },
22 | {
23 | "src": "icons/Icon-maskable-192.png",
24 | "sizes": "192x192",
25 | "type": "image/png",
26 | "purpose": "maskable"
27 | },
28 | {
29 | "src": "icons/Icon-maskable-512.png",
30 | "sizes": "512x512",
31 | "type": "image/png",
32 | "purpose": "maskable"
33 | }
34 | ]
35 | }
--------------------------------------------------------------------------------
/macos/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIconFile
10 |
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | $(PRODUCT_NAME)
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | $(FLUTTER_BUILD_NAME)
21 | CFBundleVersion
22 | $(FLUTTER_BUILD_NUMBER)
23 | LSMinimumSystemVersion
24 | $(MACOSX_DEPLOYMENT_TARGET)
25 | NSHumanReadableCopyright
26 | $(PRODUCT_COPYRIGHT)
27 | NSMainNibFile
28 | MainMenu
29 | NSPrincipalClass
30 | NSApplication
31 |
32 |
33 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 | migrate_working_dir/
12 |
13 | # IntelliJ related
14 | *.iml
15 | *.ipr
16 | *.iws
17 | .idea/
18 |
19 | # Vscode related
20 | .vscode/
21 |
22 | # The .vscode folder contains launch configuration and tasks you configure in
23 | # VS Code which you may wish to be included in version control, so this line
24 | # is commented out by default.
25 | .vscode/
26 |
27 | # Firebase related
28 | firebase.json
29 | firebase.config.js
30 | .env.firebase
31 | /.firebase/
32 | /.firebase/
33 |
34 | # Flutter/Dart/Pub related
35 | **/doc/api/
36 | **/ios/Flutter/.last_build_id
37 | .dart_tool/
38 | .flutter-plugins
39 | .flutter-plugins-dependencies
40 | .pub-cache/
41 | .pub/
42 | /build/
43 |
44 | # Symbolication related
45 | app.*.symbols
46 |
47 | # Obfuscation related
48 | app.*.map.json
49 |
50 | # Android Studio will place build artifacts here
51 | /android/app/debug
52 | /android/app/profile
53 | /android/app/release
54 |
55 |
56 | #others
57 | /email_data
58 | /functions/node_modules
59 | /functions/.env
60 | /.firebaserc
61 | /lib/firebase_options.dart
62 | /web/*.zip
63 | /functions/emails.json
64 | sec-file.txt
65 |
--------------------------------------------------------------------------------
/functions/routes/sendEmailRoutes.js:
--------------------------------------------------------------------------------
1 | const { body } = require('express-validator');
2 | const sendEmailController = require('../controllers/sendEmailController');
3 | const express = require('express');
4 |
5 | const router = express.Router();
6 |
7 | // POST endpoint to store hr email
8 | router.post('/api/send-email', [
9 | body('smtpDetails')
10 | .exists().withMessage('smtp Details are required')
11 | .notEmpty().withMessage('smtp details can not be empty'),
12 | body('resumeUrl')
13 | .exists().withMessage('resumeUrl field is required')
14 | .isURL().withMessage('Must be a valid URL'),
15 | body('from')
16 | .exists().withMessage('the to field is required')
17 | .isEmail().withMessage('the sender email (from) must be valid'),
18 | body('to')
19 | .exists().withMessage('the to field is required')
20 | .isEmail().withMessage('the reciver email (to) must be valid'),
21 | body('subject')
22 | .exists().withMessage('subject is required')
23 | .notEmpty().withMessage('subject must not be empty'),
24 | body('body')
25 | .exists().withMessage('body is required')
26 | .notEmpty().withMessage('Body cannot be empty'),
27 | ], sendEmailController.sendEmail);
28 |
29 | module.exports = router;
30 |
--------------------------------------------------------------------------------
/lib/provider/hr_emails.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:http/http.dart' as http;
3 | import 'package:udayah/data/constants.dart';
4 | import 'dart:convert';
5 |
6 | import 'package:udayah/models/hr_emails.dart';
7 |
8 | class HrEmailProvider with ChangeNotifier {
9 | bool _isLoading = false;
10 |
11 | bool get isLoading => _isLoading;
12 |
13 | Future addHrEmail(HrEmail hrEmail) async {
14 | _isLoading = true;
15 | notifyListeners();
16 |
17 | try {
18 | final response = await http.post(
19 | Uri.parse('${baseUrl}/add-hr-email'),
20 | headers: {'Content-Type': 'application/json'},
21 | body: json.encode(hrEmail.toJson()),
22 | );
23 |
24 | if (response.statusCode == 201) {
25 | // Handle success
26 | final responseData = jsonDecode(response.body);
27 | return responseData['success'];
28 | } else {
29 | // Handle failure
30 | final responseData = jsonDecode(response.body);
31 | String errorMessage = responseData['errors'][0]["msg"];
32 | throw Exception('Failed: ${errorMessage}');
33 | }
34 | } catch (error) {
35 | rethrow;
36 | } finally {
37 | _isLoading = false;
38 | notifyListeners();
39 | }
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/lib/styles/styles.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class Styles {
4 | static Color scaffoldBackgroundColor = Color(0xFFedc7b7);
5 | static Color defaultRedColor = const Color(0xffff698a);
6 | static Color defaultYellowColor = const Color(0xFFac3b61);
7 | static Color defaultBlueColor = const Color(0xff52beff);
8 | static Color defaultGreyColor = const Color(0xff77839a);
9 | static Color defaultLightGreyColor = const Color(0xffc4c4c4);
10 | static Color defaultLightWhiteColor = const Color(0xFFf2f6fe);
11 | static Color brandBackgroundColor = const Color(0xFF1C1C3A);
12 | static List brandGradientColor = [];
13 | static BoxDecoration brandingDecoration = BoxDecoration(
14 | gradient: LinearGradient(
15 | colors: [
16 | Color(0xFF0F2027),
17 | Color(0xFF203A43),
18 | Color(0xFF2C5364),
19 | Colors.purple
20 | ],
21 | begin: Alignment.topCenter,
22 | end: Alignment.bottomRight,
23 | ),
24 | );
25 |
26 | static double defaultPadding = 18.0;
27 |
28 | static BorderRadius defaultBorderRadius = BorderRadius.circular(20);
29 |
30 | static ScrollbarThemeData scrollbarTheme =
31 | const ScrollbarThemeData().copyWith(
32 | thumbColor: MaterialStateProperty.all(defaultYellowColor),
33 | // isAlwaysShown: false,
34 | interactive: true,
35 | );
36 | }
37 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
13 |
19 |
22 |
23 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values-night/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
13 |
19 |
22 |
23 |
--------------------------------------------------------------------------------
/windows/flutter/generated_plugin_registrant.cc:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #include "generated_plugin_registrant.h"
8 |
9 | #include
10 | #include
11 | #include
12 | #include
13 | #include
14 | #include
15 |
16 | void RegisterPlugins(flutter::PluginRegistry* registry) {
17 | CloudFirestorePluginCApiRegisterWithRegistrar(
18 | registry->GetRegistrarForPlugin("CloudFirestorePluginCApi"));
19 | FirebaseAuthPluginCApiRegisterWithRegistrar(
20 | registry->GetRegistrarForPlugin("FirebaseAuthPluginCApi"));
21 | FirebaseCorePluginCApiRegisterWithRegistrar(
22 | registry->GetRegistrarForPlugin("FirebaseCorePluginCApi"));
23 | FirebaseStoragePluginCApiRegisterWithRegistrar(
24 | registry->GetRegistrarForPlugin("FirebaseStoragePluginCApi"));
25 | FlutterInappwebviewWindowsPluginCApiRegisterWithRegistrar(
26 | registry->GetRegistrarForPlugin("FlutterInappwebviewWindowsPluginCApi"));
27 | UrlLauncherWindowsRegisterWithRegistrar(
28 | registry->GetRegistrarForPlugin("UrlLauncherWindows"));
29 | }
30 |
--------------------------------------------------------------------------------
/macos/Flutter/GeneratedPluginRegistrant.swift:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | import FlutterMacOS
6 | import Foundation
7 |
8 | import cloud_firestore
9 | import firebase_auth
10 | import firebase_core
11 | import firebase_storage
12 | import flutter_inappwebview_macos
13 | import path_provider_foundation
14 | import shared_preferences_foundation
15 | import url_launcher_macos
16 | import webview_flutter_wkwebview
17 |
18 | func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
19 | FLTFirebaseFirestorePlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseFirestorePlugin"))
20 | FLTFirebaseAuthPlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseAuthPlugin"))
21 | FLTFirebaseCorePlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseCorePlugin"))
22 | FLTFirebaseStoragePlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseStoragePlugin"))
23 | InAppWebViewFlutterPlugin.register(with: registry.registrar(forPlugin: "InAppWebViewFlutterPlugin"))
24 | PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
25 | SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
26 | UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
27 | FLTWebViewFlutterPlugin.register(with: registry.registrar(forPlugin: "FLTWebViewFlutterPlugin"))
28 | }
29 |
--------------------------------------------------------------------------------
/lib/provider/auth.dart:
--------------------------------------------------------------------------------
1 | import 'package:firebase_auth/firebase_auth.dart';
2 | import 'package:flutter/material.dart';
3 | import 'package:go_router/go_router.dart';
4 | import 'package:udayah/widgets/alerts.dart';
5 |
6 | class AuthProvider with ChangeNotifier {
7 | final FirebaseAuth _auth = FirebaseAuth.instance;
8 | User? _user;
9 |
10 | // Persists the user's authentication state across app restarts
11 | AuthProvider() {
12 | _auth.authStateChanges().listen((User? user) {
13 | _user = user;
14 | notifyListeners();
15 | });
16 | }
17 |
18 | User? get user => _user;
19 | bool get isAuthenticated => _user != null;
20 |
21 | Future signInWithGoogle(BuildContext context) async {
22 | try {
23 | UserCredential userCredential =
24 | await _auth.signInWithPopup(GoogleAuthProvider());
25 | _user = userCredential.user;
26 | // Redirect to dashboard after successful sign-in
27 | if (_user != null) {
28 | GoRouter.of(context).go('/dashboard');
29 | }
30 |
31 | notifyListeners();
32 | } catch (e) {
33 | ShowCustomDialog(context, "Error during Google sign-in: $e");
34 | // print("Error during Google sign-in: $e");
35 | }
36 | }
37 |
38 | Future signOut(context) async {
39 | await _auth.signOut();
40 | _user = null;
41 | notifyListeners();
42 | GoRouter.of(context).go('/');
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/lib/responsive.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:udayah/styles/styles.dart';
3 |
4 | class Responsive extends StatelessWidget {
5 | final Widget mobile;
6 | final Widget desktop;
7 |
8 | const Responsive({
9 | Key? key,
10 | required this.mobile,
11 | required this.desktop,
12 | }) : super(key: key);
13 |
14 | static bool isMobile(BuildContext context) =>
15 | MediaQuery.of(context).size.width < 650;
16 |
17 | static bool isTablet(BuildContext context) =>
18 | MediaQuery.of(context).size.width < 1100 &&
19 | MediaQuery.of(context).size.width >= 650;
20 |
21 | static bool isDesktop(BuildContext context) =>
22 | MediaQuery.of(context).size.width >= 1100;
23 |
24 | @override
25 | Widget build(BuildContext context) {
26 | return LayoutBuilder(
27 | builder: (context, constraints) {
28 | if (constraints.maxWidth >= 650) {
29 | return Container(
30 | alignment: Alignment.center,
31 | height: double.infinity,
32 | decoration: Styles.brandingDecoration,
33 | child: desktop,
34 | );
35 | } else {
36 | return Container(
37 | alignment: Alignment.center,
38 | height: double.infinity,
39 | decoration: Styles.brandingDecoration,
40 | child: mobile,
41 | );
42 | }
43 | },
44 | );
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/windows/runner/main.cpp:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | #include
4 |
5 | #include "flutter_window.h"
6 | #include "utils.h"
7 |
8 | int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
9 | _In_ wchar_t *command_line, _In_ int show_command) {
10 | // Attach to console when present (e.g., 'flutter run') or create a
11 | // new console when running with a debugger.
12 | if (!::AttachConsole(ATTACH_PARENT_PROCESS) && ::IsDebuggerPresent()) {
13 | CreateAndAttachConsole();
14 | }
15 |
16 | // Initialize COM, so that it is available for use in the library and/or
17 | // plugins.
18 | ::CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED);
19 |
20 | flutter::DartProject project(L"data");
21 |
22 | std::vector command_line_arguments =
23 | GetCommandLineArguments();
24 |
25 | project.set_dart_entrypoint_arguments(std::move(command_line_arguments));
26 |
27 | FlutterWindow window(project);
28 | Win32Window::Point origin(10, 10);
29 | Win32Window::Size size(1280, 720);
30 | if (!window.Create(L"shippi", origin, size)) {
31 | return EXIT_FAILURE;
32 | }
33 | window.SetQuitOnClose(true);
34 |
35 | ::MSG msg;
36 | while (::GetMessage(&msg, nullptr, 0, 0)) {
37 | ::TranslateMessage(&msg);
38 | ::DispatchMessage(&msg);
39 | }
40 |
41 | ::CoUninitialize();
42 | return EXIT_SUCCESS;
43 | }
44 |
--------------------------------------------------------------------------------
/lib/file_picker.dart:
--------------------------------------------------------------------------------
1 | import 'dart:io' as io;
2 | import 'package:flutter/foundation.dart' show kIsWeb;
3 | import 'package:file_picker/file_picker.dart';
4 | import 'package:provider/provider.dart';
5 | import 'package:flutter/material.dart';
6 | import 'package:udayah/provider/mailer.dart';
7 |
8 | Future _pickResume(BuildContext context) async {
9 | FilePickerResult? result = await FilePicker.platform.pickFiles(
10 | type: FileType.custom,
11 | allowedExtensions: ['pdf', 'doc', 'docx'],
12 | );
13 |
14 | if (result != null) {
15 | final fileName = result.files.single.name;
16 |
17 | if (kIsWeb) {
18 | // On web, access the bytes property
19 | final fileBytes = result.files.single.bytes;
20 | if (fileBytes != null) {
21 | // Handle file as bytes for web
22 | Provider.of(context, listen: false)
23 | .setSelectedFileName(fileName);
24 | Provider.of(context, listen: false)
25 | .setSelectedFileBytes(fileBytes);
26 | }
27 | } else {
28 | // On non-web platforms, access the path
29 | final filePath = result.files.single.path;
30 | if (filePath != null) {
31 | Provider.of(context, listen: false)
32 | .setSelectedFileName(fileName);
33 | Provider.of(context, listen: false)
34 | .setSelectedFilePath(filePath);
35 | }
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/analysis_options.yaml:
--------------------------------------------------------------------------------
1 | # This file configures the analyzer, which statically analyzes Dart code to
2 | # check for errors, warnings, and lints.
3 | #
4 | # The issues identified by the analyzer are surfaced in the UI of Dart-enabled
5 | # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
6 | # invoked from the command line by running `flutter analyze`.
7 |
8 | # The following line activates a set of recommended lints for Flutter apps,
9 | # packages, and plugins designed to encourage good coding practices.
10 | include: package:flutter_lints/flutter.yaml
11 |
12 | linter:
13 | # The lint rules applied to this project can be customized in the
14 | # section below to disable rules from the `package:flutter_lints/flutter.yaml`
15 | # included above or to enable additional rules. A list of all available lints
16 | # and their documentation is published at https://dart.dev/lints.
17 | #
18 | # Instead of disabling a lint rule for the entire project in the
19 | # section below, it can also be suppressed for a single line of code
20 | # or a specific dart file by using the `// ignore: name_of_lint` and
21 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file
22 | # producing the lint.
23 | rules:
24 | # avoid_print: false # Uncomment to disable the `avoid_print` rule
25 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
26 |
27 | # Additional information about this file can be found at
28 | # https://dart.dev/guides/language/analysis-options
29 |
--------------------------------------------------------------------------------
/lib/layout/app_layout.dart:
--------------------------------------------------------------------------------
1 | import 'package:udayah/layout/navigation_panel.dart';
2 | import 'package:udayah/layout/top_app_bar.dart';
3 | import 'package:udayah/responsive.dart';
4 | import 'package:flutter/cupertino.dart';
5 |
6 | class AppLayout extends StatelessWidget {
7 | final Widget content;
8 |
9 | const AppLayout({Key? key, required this.content}) : super(key: key);
10 | @override
11 | Widget build(BuildContext context) {
12 | return Responsive(
13 | mobile: Column(
14 | children: [
15 | // const TopAppBar(),
16 | Expanded(
17 | child: Padding(
18 | padding: const EdgeInsets.all(10.0),
19 | child: content,
20 | ),
21 | ),
22 | const NavigationPanel(
23 | axis: Axis.horizontal,
24 | ),
25 | ],
26 | ),
27 | desktop: Row(
28 | children: [
29 | const NavigationPanel(
30 | axis: Axis.vertical,
31 | ),
32 | Expanded(
33 | flex: 5,
34 | child: Padding(
35 | padding: const EdgeInsets.only(right: 10.0, bottom: 20.0, top: 20),
36 | child: Column(
37 | mainAxisSize: MainAxisSize.min,
38 | children: [
39 | // const SizedBox(height: 100, child: TopAppBar()),
40 | Expanded(child: content),
41 | ],
42 | ),
43 | ),
44 | ),
45 | ],
46 | ),
47 | );
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/lib/pages/dashboard_page.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:provider/provider.dart';
3 | import 'package:udayah/layout/app_layout.dart';
4 | import 'package:udayah/provider/navigation.dart';
5 | import 'package:udayah/widgets/companies_list.dart';
6 | import 'package:udayah/widgets/profile_page.dart';
7 | import 'package:udayah/widgets/smtp_page.dart';
8 |
9 | class Dashboard extends StatefulWidget {
10 | const Dashboard({Key? key}) : super(key: key);
11 |
12 | @override
13 | State createState() => _DashboardState();
14 | }
15 |
16 | class _DashboardState extends State {
17 | List screens = [
18 | CompaniesList(),
19 | const SmtpSetup(),
20 | const ProfilePage(),
21 | ];
22 |
23 | @override
24 | Widget build(BuildContext context) {
25 | return Scaffold(
26 | body: SafeArea(
27 | child: Consumer(
28 | builder: (context, _, data) {
29 | return AppLayout(
30 | content: Row(
31 | mainAxisAlignment: MainAxisAlignment.start,
32 | children: [
33 | // Main Panel
34 | Expanded(
35 | flex: 5,
36 | child: _.fetchCurrentTabIndex >= 3
37 | ? Container()
38 | : screens[_.fetchCurrentTabIndex],
39 | ),
40 | ],
41 | ),
42 | );
43 | },
44 | ),
45 | ),
46 | );
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/lib/provider/smtp.dart:
--------------------------------------------------------------------------------
1 | import 'package:cloud_firestore/cloud_firestore.dart';
2 | import 'package:flutter/material.dart';
3 | import 'package:flutter/widgets.dart';
4 | import 'package:udayah/widgets/alerts.dart';
5 |
6 | class SmtpProvider with ChangeNotifier {
7 | final FirebaseFirestore _firestore = FirebaseFirestore.instance;
8 |
9 | Future storeSmtpDetails({
10 | String ? email,
11 | required String smtpServer,
12 | required String smtpPort,
13 | required String smtpUsername,
14 | required String smtpPassword,
15 | required BuildContext context
16 | }) async {
17 | try {
18 | await _firestore.collection('smtp_details').doc(email).set({
19 | 'smtp_server': smtpServer,
20 | 'smtp_port': smtpPort,
21 | 'smtp_username': smtpUsername,
22 | 'smtp_password': smtpPassword,
23 | });
24 | ShowCustomDialog(context, "SMTP settings saved.");
25 | } catch (e) {
26 | print(e);
27 | }
28 | }
29 |
30 | Future