Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .flutter-plugins
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This is a generated file; do not edit or check into version control.
cloud_firestore=C:\\Users\\ABHIJOY\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\cloud_firestore-4.5.0\\
cloud_firestore_web=C:\\Users\\ABHIJOY\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\cloud_firestore_web-3.4.0\\
firebase_auth=C:\\Users\\ABHIJOY\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\firebase_auth-4.4.0\\
firebase_auth_web=C:\\Users\\ABHIJOY\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\firebase_auth_web-5.3.0\\
firebase_core=C:\\Users\\ABHIJOY\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\firebase_core-2.9.0\\
firebase_core_web=C:\\Users\\ABHIJOY\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\firebase_core_web-2.3.0\\
firebase_database=C:\\Users\\ABHIJOY\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\firebase_database-10.1.0\\
firebase_database_web=C:\\Users\\ABHIJOY\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\firebase_database_web-0.2.2\\
firebase_storage=C:\\Users\\ABHIJOY\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\firebase_storage-11.1.0\\
firebase_storage_web=C:\\Users\\ABHIJOY\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\firebase_storage_web-3.4.0\\
flutter_plugin_android_lifecycle=C:\\Users\\ABHIJOY\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\flutter_plugin_android_lifecycle-2.0.9\\
image_picker=C:\\Users\\ABHIJOY\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\image_picker-0.8.7+1\\
image_picker_android=C:\\Users\\ABHIJOY\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\image_picker_android-0.8.6+6\\
image_picker_for_web=C:\\Users\\ABHIJOY\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\image_picker_for_web-2.1.12\\
image_picker_ios=C:\\Users\\ABHIJOY\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\image_picker_ios-0.8.7+2\\
modal_progress_hud_nsn=C:\\Users\\ABHIJOY\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\modal_progress_hud_nsn-0.3.0\\
pedometer=C:\\Users\\ABHIJOY\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\pedometer-3.0.0\\
url_launcher=C:\\Users\\ABHIJOY\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher-6.1.10\\
url_launcher_android=C:\\Users\\ABHIJOY\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_android-6.0.26\\
url_launcher_ios=C:\\Users\\ABHIJOY\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_ios-6.1.3\\
url_launcher_linux=C:\\Users\\ABHIJOY\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_linux-3.0.4\\
url_launcher_macos=C:\\Users\\ABHIJOY\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_macos-3.0.4\\
url_launcher_web=C:\\Users\\ABHIJOY\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_web-2.0.16\\
url_launcher_windows=C:\\Users\\ABHIJOY\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_windows-3.0.5\\
1 change: 1 addition & 0 deletions .flutter-plugins-dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"cloud_firestore","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\cloud_firestore-4.5.0\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_auth","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\firebase_auth-4.4.0\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_core","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\firebase_core-2.9.0\\\\","native_build":true,"dependencies":[]},{"name":"firebase_database","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\firebase_database-10.1.0\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_storage","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\firebase_storage-11.1.0\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"image_picker_ios","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\image_picker_ios-0.8.7+2\\\\","native_build":true,"dependencies":[]},{"name":"modal_progress_hud_nsn","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\modal_progress_hud_nsn-0.3.0\\\\","native_build":true,"dependencies":[]},{"name":"pedometer","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\pedometer-3.0.0\\\\","native_build":true,"dependencies":[]},{"name":"url_launcher_ios","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\url_launcher_ios-6.1.3\\\\","native_build":true,"dependencies":[]}],"android":[{"name":"cloud_firestore","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\cloud_firestore-4.5.0\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_auth","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\firebase_auth-4.4.0\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_core","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\firebase_core-2.9.0\\\\","native_build":true,"dependencies":[]},{"name":"firebase_database","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\firebase_database-10.1.0\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_storage","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\firebase_storage-11.1.0\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"flutter_plugin_android_lifecycle","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\flutter_plugin_android_lifecycle-2.0.9\\\\","native_build":true,"dependencies":[]},{"name":"image_picker_android","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\image_picker_android-0.8.6+6\\\\","native_build":true,"dependencies":["flutter_plugin_android_lifecycle"]},{"name":"modal_progress_hud_nsn","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\modal_progress_hud_nsn-0.3.0\\\\","native_build":true,"dependencies":[]},{"name":"pedometer","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\pedometer-3.0.0\\\\","native_build":true,"dependencies":[]},{"name":"url_launcher_android","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\url_launcher_android-6.0.26\\\\","native_build":true,"dependencies":[]}],"macos":[{"name":"cloud_firestore","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\cloud_firestore-4.5.0\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_auth","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\firebase_auth-4.4.0\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_core","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\firebase_core-2.9.0\\\\","native_build":true,"dependencies":[]},{"name":"firebase_database","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\firebase_database-10.1.0\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_storage","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\firebase_storage-11.1.0\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"modal_progress_hud_nsn","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\modal_progress_hud_nsn-0.3.0\\\\","native_build":true,"dependencies":[]},{"name":"url_launcher_macos","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\url_launcher_macos-3.0.4\\\\","native_build":true,"dependencies":[]}],"linux":[{"name":"modal_progress_hud_nsn","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\modal_progress_hud_nsn-0.3.0\\\\","native_build":true,"dependencies":[]},{"name":"url_launcher_linux","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\url_launcher_linux-3.0.4\\\\","native_build":true,"dependencies":[]}],"windows":[{"name":"modal_progress_hud_nsn","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\modal_progress_hud_nsn-0.3.0\\\\","native_build":true,"dependencies":[]},{"name":"url_launcher_windows","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\url_launcher_windows-3.0.5\\\\","native_build":true,"dependencies":[]}],"web":[{"name":"cloud_firestore_web","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\cloud_firestore_web-3.4.0\\\\","dependencies":["firebase_core_web"]},{"name":"firebase_auth_web","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\firebase_auth_web-5.3.0\\\\","dependencies":["firebase_core_web"]},{"name":"firebase_core_web","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\firebase_core_web-2.3.0\\\\","dependencies":[]},{"name":"firebase_database_web","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\firebase_database_web-0.2.2\\\\","dependencies":["firebase_core_web"]},{"name":"firebase_storage_web","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\firebase_storage_web-3.4.0\\\\","dependencies":["firebase_core_web"]},{"name":"image_picker_for_web","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\image_picker_for_web-2.1.12\\\\","dependencies":[]},{"name":"url_launcher_web","path":"C:\\\\Users\\\\ABHIJOY\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\url_launcher_web-2.0.16\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"cloud_firestore","dependencies":["cloud_firestore_web","firebase_core"]},{"name":"cloud_firestore_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"firebase_auth","dependencies":["firebase_auth_web","firebase_core"]},{"name":"firebase_auth_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"firebase_core","dependencies":["firebase_core_web"]},{"name":"firebase_core_web","dependencies":[]},{"name":"firebase_database","dependencies":["firebase_core","firebase_database_web"]},{"name":"firebase_database_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"firebase_storage","dependencies":["firebase_core","firebase_storage_web"]},{"name":"firebase_storage_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"image_picker","dependencies":["image_picker_android","image_picker_for_web","image_picker_ios"]},{"name":"image_picker_android","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"image_picker_for_web","dependencies":[]},{"name":"image_picker_ios","dependencies":[]},{"name":"modal_progress_hud_nsn","dependencies":[]},{"name":"pedometer","dependencies":[]},{"name":"url_launcher","dependencies":["url_launcher_android","url_launcher_ios","url_launcher_linux","url_launcher_macos","url_launcher_web","url_launcher_windows"]},{"name":"url_launcher_android","dependencies":[]},{"name":"url_launcher_ios","dependencies":[]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]}],"date_created":"2023-04-16 12:10:19.121492","version":"3.7.11"}
44 changes: 44 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/
migrate_working_dir/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/

# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/

# Symbolication related
app.*.symbols

# Obfuscation related
app.*.map.json

# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release
45 changes: 45 additions & 0 deletions .metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled.

version:
revision: 18a827f3933c19f51862dde3fa472197683249d6
channel: stable

project_type: app

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: 18a827f3933c19f51862dde3fa472197683249d6
base_revision: 18a827f3933c19f51862dde3fa472197683249d6
- platform: android
create_revision: 18a827f3933c19f51862dde3fa472197683249d6
base_revision: 18a827f3933c19f51862dde3fa472197683249d6
- platform: ios
create_revision: 18a827f3933c19f51862dde3fa472197683249d6
base_revision: 18a827f3933c19f51862dde3fa472197683249d6
- platform: linux
create_revision: 18a827f3933c19f51862dde3fa472197683249d6
base_revision: 18a827f3933c19f51862dde3fa472197683249d6
- platform: macos
create_revision: 18a827f3933c19f51862dde3fa472197683249d6
base_revision: 18a827f3933c19f51862dde3fa472197683249d6
- platform: web
create_revision: 18a827f3933c19f51862dde3fa472197683249d6
base_revision: 18a827f3933c19f51862dde3fa472197683249d6
- platform: windows
create_revision: 18a827f3933c19f51862dde3fa472197683249d6
base_revision: 18a827f3933c19f51862dde3fa472197683249d6

# User provided section

# List of Local paths (relative to this file) that should be
# ignored by the migrate tool.
#
# Files that are not part of the templates will be ignored by default.
unmanaged_files:
- 'lib/main.dart'
- 'ios/Runner.xcodeproj/project.pbxproj'
13 changes: 0 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +0,0 @@
# Electhon - 2023

#### Team Name -
#### Problem Statement -
#### Team Leader Email -

## A Brief of the Prototype:
What is your solution? and how it works.

## Code Execution Instruction:
*[If your solution is **not** application based, you can ignore this para]

*The Repository must contain your **Execution Plan PDF**.
18 changes: 18 additions & 0 deletions README1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Electhon - 2023

#### Team Name - Gryffindor
#### Problem Statement - Challenge 2: How to increase the participation of urban and youth voters in election?
#### Team Leader Email - jhaabhishek887@gmail.com

## A Brief of the Prototype:
What is your solution? and how it works.
We have made a app with the following features:
1) login and registration with the voter id and phone no.
2) walkthrough of the election process.
3) Encrypted QR to ensure vote casting
4) reward on voting with discount coupon

## Code Execution Instruction:
*[If your solution is **not** application based, you can ignore this para]

*The Repository must contain your **Execution Plan PDF**.
29 changes: 29 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This file configures the analyzer, which statically analyzes Dart code to
# check for errors, warnings, and lints.
#
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
# invoked from the command line by running `flutter analyze`.

# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
include: package:flutter_lints/flutter.yaml

linter:
# The lint rules applied to this project can be customized in the
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
# included above or to enable additional rules. A list of all available lints
# and their documentation is published at
# https://dart-lang.github.io/linter/lints/index.html.
#
# Instead of disabling a lint rule for the entire project in the
# section below, it can also be suppressed for a single line of code
# or a specific dart file by using the `// ignore: name_of_lint` and
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
# producing the lint.
rules:
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule

# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
68 changes: 68 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}

def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 33
ndkVersion flutter.ndkVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.fitpad"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
minSdkVersion 23
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}

buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
}
}
}

flutter {
source '../..'
}
dependencies {

implementation platform('com.google.firebase:firebase-bom:31.1.1')


implementation 'com.google.firebase:firebase-auth'
implementation 'com.google.firebase:firebase-firestore'
}
apply plugin: 'com.google.gms.google-services'
Loading