Skip to content

Commit

Permalink
Merge pull request #1 from wadi-green/master
Browse files Browse the repository at this point in the history
Initial commit
  • Loading branch information
MSaifAsif authored Nov 28, 2020
2 parents fc340cd + cae27c2 commit 0b5d297
Show file tree
Hide file tree
Showing 346 changed files with 39,481 additions and 0 deletions.
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":"flutter_secure_storage","path":"/Users/saifasif/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage-3.3.5/","dependencies":[]},{"name":"image_picker","path":"/Users/saifasif/.pub-cache/hosted/pub.dartlang.org/image_picker-0.6.7+14/","dependencies":[]},{"name":"path_provider","path":"/Users/saifasif/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.22/","dependencies":[]},{"name":"sqflite","path":"/Users/saifasif/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.2+1/","dependencies":[]},{"name":"url_launcher","path":"/Users/saifasif/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.7.10/","dependencies":[]}],"android":[{"name":"flutter_plugin_android_lifecycle","path":"/Users/saifasif/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-1.0.11/","dependencies":[]},{"name":"flutter_secure_storage","path":"/Users/saifasif/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage-3.3.5/","dependencies":[]},{"name":"image_picker","path":"/Users/saifasif/.pub-cache/hosted/pub.dartlang.org/image_picker-0.6.7+14/","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"path_provider","path":"/Users/saifasif/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.22/","dependencies":[]},{"name":"sqflite","path":"/Users/saifasif/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.2+1/","dependencies":[]},{"name":"url_launcher","path":"/Users/saifasif/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.7.10/","dependencies":[]}],"macos":[{"name":"path_provider_macos","path":"/Users/saifasif/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+4/","dependencies":[]},{"name":"sqflite","path":"/Users/saifasif/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.2+1/","dependencies":[]},{"name":"url_launcher_macos","path":"/Users/saifasif/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.0.1+9/","dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"/Users/saifasif/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+2/","dependencies":[]},{"name":"url_launcher_linux","path":"/Users/saifasif/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-0.0.1+4/","dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"/Users/saifasif/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-0.0.4+1/","dependencies":[]},{"name":"url_launcher_windows","path":"/Users/saifasif/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-0.0.1+3/","dependencies":[]}],"web":[{"name":"url_launcher_web","path":"/Users/saifasif/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-0.1.5+1/","dependencies":[]}]},"dependencyGraph":[{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"flutter_secure_storage","dependencies":[]},{"name":"image_picker","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"path_provider","dependencies":["path_provider_macos","path_provider_linux","path_provider_windows"]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_macos","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"sqflite","dependencies":[]},{"name":"url_launcher","dependencies":["url_launcher_web","url_launcher_linux","url_launcher_macos","url_launcher_windows"]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]}],"date_created":"2020-11-28 22:49:38.517069","version":"1.22.4"}
120 changes: 120 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
# Miscellaneous
*.class
*.lock
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/

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

# Visual Studio Code related
.classpath
.project
.settings/
.vscode/

# Flutter repo-specific
/bin/cache/
/bin/internal/bootstrap.bat
/bin/internal/bootstrap.sh
/bin/mingit/
/dev/benchmarks/mega_gallery/
/dev/bots/.recipe_deps
/dev/bots/android_tools/
/dev/devicelab/ABresults*.json
/dev/docs/doc/
/dev/docs/flutter.docs.zip
/dev/docs/lib/
/dev/docs/pubspec.yaml
/dev/integration_tests/**/xcuserdata
/dev/integration_tests/**/Pods
/packages/flutter/coverage/
version
analysis_benchmark.json

# packages file containing multi-root paths
.packages.generated

# Flutter/Dart/Pub related
**/doc/api/
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
**/generated_plugin_registrant.dart
.packages
.pub-cache/
.pub/
build/
flutter_*.png
linked_*.ds
unlinked.ds
unlinked_spec.ds

# Android related
**/android/**/gradle-wrapper.jar
**/android/.gradle
**/android/captures/
**/android/gradlew
**/android/gradlew.bat
**/android/local.properties
**/android/**/GeneratedPluginRegistrant.java
**/android/key.properties
*.jks

# iOS/XCode related
**/ios/**/*.mode1v3
**/ios/**/*.mode2v3
**/ios/**/*.moved-aside
**/ios/**/*.pbxuser
**/ios/**/*.perspectivev3
**/ios/**/*sync/
**/ios/**/.sconsign.dblite
**/ios/**/.tags*
**/ios/**/.vagrant/
**/ios/**/DerivedData/
**/ios/**/Icon?
**/ios/**/Pods/
**/ios/**/.symlinks/
**/ios/**/profile
**/ios/**/xcuserdata
**/ios/.generated/
**/ios/Flutter/.last_build_id
**/ios/Flutter/App.framework
**/ios/Flutter/Flutter.framework
**/ios/Flutter/Flutter.podspec
**/ios/Flutter/Generated.xcconfig
**/ios/Flutter/app.flx
**/ios/Flutter/app.zip
**/ios/Flutter/flutter_assets/
**/ios/Flutter/flutter_export_environment.sh
**/ios/ServiceDefinitions.json
**/ios/Runner/GeneratedPluginRegistrant.*

# macOS
**/macos/Flutter/GeneratedPluginRegistrant.swift
**/macos/Flutter/Flutter-Debug.xcconfig
**/macos/Flutter/Flutter-Release.xcconfig
**/macos/Flutter/Flutter-Profile.xcconfig

# Coverage
coverage/

# Symbols
app.*.symbols

# Exceptions to above rules.
!**/ios/**/default.mode1v3
!**/ios/**/default.mode2v3
!**/ios/**/default.pbxuser
!**/ios/**/default.perspectivev3
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
!/dev/ci/**/Gemfile.lock
Binary file not shown.
Binary file added .gradle/6.1.1/fileChanges/last-build.bin
Binary file not shown.
Binary file added .gradle/6.1.1/fileHashes/fileHashes.lock
Binary file not shown.
Empty file added .gradle/6.1.1/gc.properties
Empty file.
Binary file added .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
2 changes: 2 additions & 0 deletions .gradle/buildOutputCleanup/cache.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#Sat Nov 28 21:56:47 CET 2020
gradle.version=6.1.1
Binary file added .gradle/checksums/checksums.lock
Binary file not shown.
Empty file added .gradle/vcs-1/gc.properties
Empty file.
10 changes: 10 additions & 0 deletions .metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# 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 and should not be manually edited.

version:
revision: 84f3d28555368a70270e9ac8390a9441df95e752
channel: stable

project_type: app
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Wadi Green

A lifestyle networking application.

## Documentation

All of this project's documentation lives under the `docs` folder. In order to view them, open a terminal
inside the `docs` folder, then run the following commands:
1. `npm install --also=dev`
2. `npm run dev`

After that, you can read the documentation at the address it shows you in the terminal (usually `http://localhost:8080/`).

If you want to generate the docs and host them somewhere, you can execute `npm run build`. The output will
be generated under `docs/src/.vuepress/dist/` as a static HTML site.
PS: In order to view it locally, you'll need to use something like [http-server](https://www.npmjs.com/package/http-server).

## Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)

For help getting started with Flutter, view our
[online documentation](https://flutter.dev/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.
6 changes: 6 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
include: package:lint/analysis_options.yaml

linter:
rules:
prefer_relative_imports: true
prefer_single_quotes: true
11 changes: 11 additions & 0 deletions android/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
gradle-wrapper.jar
/.gradle
/captures/
/gradlew
/gradlew.bat
/local.properties
GeneratedPluginRegistrant.java

# Remember to never publicly share your keystore.
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
key.properties
63 changes: 63 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
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 30

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}

lintOptions {
disable 'InvalidPackage'
}

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "green.wadi.app"
minSdkVersion 18
targetSdkVersion 30
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 "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
7 changes: 7 additions & 0 deletions android/app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="green.wadi.app">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
50 changes: 50 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="green.wadi.app">
<uses-permission android:name="android.permission.INTERNET"/>

<!-- io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method.
In most cases you can leave this as-is, but you if you want to provide
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. -->
<application
android:name="io.flutter.app.FlutterApplication"
android:label="Wadi Green"
android:requestLegacyExternalStorage="true"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<!-- Specifies an Android theme to apply to this Activity as soon as
the Android process has started. This theme is visible to the user
while the Flutter UI initializes. After that, this theme continues
to determine the Window background behind the Flutter UI. -->
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
<!-- Displays an Android View that continues showing the launch screen
Drawable until Flutter paints its first frame, then this splash
screen fades out. A splash screen is useful to avoid any visual
gap between the end of Android's launch screen and the painting of
Flutter's first frame. -->
<meta-data
android:name="io.flutter.embedding.android.SplashScreenDrawable"
android:resource="@drawable/launch_background"
/>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
android:name="flutterEmbedding"
android:value="2" />
</application>
</manifest>
Binary file added android/app/src/main/ic_launcher-playstore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions android/app/src/main/kotlin/green/wadi/app/MainActivity.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package green.wadi.app

import io.flutter.embedding.android.FlutterActivity

class MainActivity: FlutterActivity() {
}
72 changes: 72 additions & 0 deletions android/app/src/main/res/drawable/ic_launcher_foreground.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<group android:scaleX="1.9356034"
android:scaleY="1.9356034"
android:translateX="22.65"
android:translateY="22.652903">
<group>
<clip-path
android:pathData="M0,0h32.392v32.39h-32.392z"/>
<path
android:pathData="M32.325,14.881q-0.067,-0.78 -0.2,-1.559L31.283,13.322a21.409,21.409 0,0 0,-15.8 6.928l1,1.181A19.872,19.872 0,0 1,31.283 14.859h1.047"
android:fillColor="#1a632d"
android:fillType="evenOdd"/>
<path
android:pathData="M17.065,22.099l1,1.181a17.466,17.466 0,0 1,13.211 -6.015l1.069,0.045c0.022,-0.356 0.045,-0.735 0.045,-1.114v-0.423L31.278,15.728A19,19 0,0 0,17.065 22.099"
android:fillColor="#1a632d"
android:fillType="evenOdd"/>
<path
android:pathData="M31.279,18.134A16.6,16.6 0,0 0,18.647 23.949l1,1.181a15.06,15.06 0,0 1,11.629 -5.458h0.735q0.156,-0.757 0.267,-1.515h-0.98"
android:fillColor="#1a632d"
android:fillType="evenOdd"/>
<path
android:pathData="M1.114,14.859A19.939,19.939 0,0 1,20.808 31.722q0.757,-0.223 1.47,-0.512A21.476,21.476 0,0 0,1.114 13.322L0.267,13.322q-0.134,0.757 -0.2,1.559L1.114,14.881"
android:fillColor="#1a632d"
android:fillType="evenOdd"/>
<path
android:pathData="M18.446,32.236q0.757,-0.111 1.515,-0.29A19.048,19.048 0,0 0,1.114 15.728L0,15.773v0.423c0,0.134 0.022,0.735 0.045,1.114l1.069,-0.045A17.511,17.511 0,0 1,18.446 32.236"
android:fillColor="#1a632d"
android:fillType="evenOdd"/>
<path
android:pathData="M1.114,18.134L0.134,18.134a12.4,12.4 0,0 0,0.267 1.515L1.114,19.649a15.1,15.1 0,0 1,14.9 12.7h0.178l1.381,-0.067A16.642,16.642 0,0 0,1.114 18.134"
android:fillColor="#1a632d"
android:fillType="evenOdd"/>
<path
android:pathData="M31.723,20.785h-1.292c-2.072,0 -6.973,1.582 -9.245,4.121a20.808,20.808 0,0 1,1.983 5.926,16.241 16.241,0 0,0 8.532,-10.025"
android:fillColor="#5fb030"
android:fillType="evenOdd"/>
<path
android:pathData="M0.602,20.563a16.2,16.2 0,0 0,14.525 11.785A14.213,14.213 0,0 0,1.114 20.563L0.602,20.563"
android:fillColor="#5fb030"
android:fillType="evenOdd"/>
<path
android:pathData="M16.2,0A16.2,16.2 0,1 1,0 16.2,16.2 16.2,0 0,1 16.2,0m0,1.136A15.06,15.06 0,1 0,31.256 16.2,15.06 15.06,0 0,0 16.2,1.136"
android:fillColor="#008d36"
android:fillType="evenOdd"/>
<path
android:pathData="M24.328,8.154c0,2.651 -0.913,4.79 -2.027,4.79S20.273,10.805 20.273,8.154a7.892,7.892 0,0 1,2.027 -4.79,7.892 7.892,0 0,1 2.027,4.79"
android:fillColor="#5fb030"
android:fillType="evenOdd"/>
<path
android:pathData="M22.078,12.81h0.602v3.063h-0.602z"
android:fillColor="#1a632d"/>
<path
android:pathData="M20.322,12.253c0,1.782 -0.6,3.208 -1.359,3.208S17.622,14.035 17.622,12.253A5.26,5.26 0,0 1,18.981 9.045,5.3 5.3,0 0,1 20.322,12.253"
android:fillColor="#5fb030"
android:fillType="evenOdd"/>
<path
android:pathData="M18.825,15.372h0.401v2.054h-0.401z"
android:fillColor="#1a632d"/>
<path
android:pathData="M8.8,9.646c0,1.782 -0.6,3.208 -1.359,3.208S6.082,11.406 6.082,9.646A5.34,5.34 0,0 1,7.441 6.438a5.34,5.34 0,0 1,1.359 3.208"
android:fillColor="#5fb030"
android:fillType="evenOdd"/>
<path
android:pathData="M7.307,12.765h0.401v2.054h-0.401z"
android:fillColor="#1a632d"/>
</group>
</group>
</vector>
Loading

0 comments on commit 0b5d297

Please sign in to comment.