Skip to content

Commit e8b2a33

Browse files
Files added
0 parents  commit e8b2a33

File tree

130 files changed

+4441
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+4441
-0
lines changed

.gitignore

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
6+
.DS_Store
7+
.atom/
8+
.buildlog/
9+
.history
10+
.svn/
11+
12+
# IntelliJ related
13+
*.iml
14+
*.ipr
15+
*.iws
16+
.idea/
17+
18+
# The .vscode folder contains launch configuration and tasks you configure in
19+
# VS Code which you may wish to be included in version control, so this line
20+
# is commented out by default.
21+
#.vscode/
22+
23+
# Flutter/Dart/Pub related
24+
**/doc/api/
25+
**/ios/Flutter/.last_build_id
26+
.dart_tool/
27+
.flutter-plugins
28+
.flutter-plugins-dependencies
29+
.packages
30+
.pub-cache/
31+
.pub/
32+
/build/
33+
34+
# Web related
35+
lib/generated_plugin_registrant.dart
36+
37+
# Symbolication related
38+
app.*.symbols
39+
40+
# Obfuscation related
41+
app.*.map.json
42+
43+
# Android Studio will place build artifacts here
44+
/android/app/debug
45+
/android/app/profile
46+
/android/app/release

.metadata

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This file tracks properties of this Flutter project.
2+
# Used by Flutter tool to assess capabilities and perform upgrades etc.
3+
#
4+
# This file should be version controlled and should not be manually edited.
5+
6+
version:
7+
revision: f4abaa0735eba4dfd8f33f73363911d63931fe03
8+
channel: stable
9+
10+
project_type: app

Assets/default-user.png

1.46 KB
Loading

Assets/icon.png

51.8 KB
Loading

Assets/splash.png

21.6 KB
Loading

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# apple
2+
3+
A new Flutter project.
4+
5+
## Getting Started
6+
7+
This project is a starting point for a Flutter application.
8+
9+
A few resources to get you started if this is your first Flutter project:
10+
11+
- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
12+
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
13+
14+
For help getting started with Flutter, view our
15+
[online documentation](https://flutter.dev/docs), which offers tutorials,
16+
samples, guidance on mobile development, and a full API reference.

Screenshots/1.png

101 KB
Loading

Screenshots/10.png

184 KB
Loading

Screenshots/11.png

4.84 MB
Loading

Screenshots/2.png

124 KB
Loading

Screenshots/3.png

296 KB
Loading

Screenshots/4.png

226 KB
Loading

Screenshots/5.png

905 KB
Loading

Screenshots/6.png

288 KB
Loading

Screenshots/7.png

261 KB
Loading

Screenshots/8.png

223 KB
Loading

Screenshots/9.png

137 KB
Loading

a

+95
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
commit 501ad54acd1f11f2bfb34be576cff6127c93e432 (HEAD -> line-chart, origin/main, master)
2+
Merge: 474ae17 7544965
3+
Author: Riaz <[email protected]>
4+
Date: Mon Sep 20 22:22:33 2021 +0800
5+
6+
Merge pull request #5 from undisputedcoder/master
7+
8+
Update Settings Page Layout
9+
10+
commit 7544965359e105347c3043ce3a7011d516552eb9 (origin/master)
11+
Author: Riaz <[email protected]>
12+
Date: Mon Sep 20 22:13:59 2021 +0800
13+
14+
Update Settings Page Layout
15+
16+
commit 474ae17c63bef66d7c31f5b166593cf0a346c683
17+
Merge: 8610cc8 4895476
18+
Author: Riaz <[email protected]>
19+
Date: Tue Sep 14 18:35:18 2021 +0800
20+
21+
Merge pull request #4 from undisputedcoder/undisputedcoder-patch-1
22+
23+
Update pubspec.yaml
24+
25+
commit 489547636e29af78d7fdb16119a104d1c6a9d261
26+
Author: Riaz <[email protected]>
27+
Date: Tue Sep 14 18:35:08 2021 +0800
28+
29+
Update pubspec.yaml
30+
31+
commit 8610cc86ef0c8afc44759e52566733e7dbcc668b
32+
Merge: b3ee1ff dd2a8e4
33+
Author: Riaz <[email protected]>
34+
Date: Tue Sep 14 18:13:10 2021 +0800
35+
36+
Merge pull request #3 from undisputedcoder/Settings
37+
38+
Update settings.dart
39+
40+
commit dd2a8e45a57220df26da70a17be741c1626badd3
41+
Author: Trykelvinator <[email protected]>
42+
Date: Tue Sep 14 17:30:18 2021 +0800
43+
44+
Update settings.dart
45+
46+
commit 68b45766a2a4bc552011c8987f2cffec7208954e (upstream/Settings)
47+
Author: Trykelvinator <[email protected]>
48+
Date: Tue Sep 14 16:38:39 2021 +0800
49+
50+
Update settings.dart
51+
52+
Update for Settings to feel more like an iOS app.
53+
54+
commit b3ee1ff758faa8e49ff14863aa83be36e7685c4f (upstream/main)
55+
Merge: 9f02a3b 9413592
56+
Author: Riaz <[email protected]>
57+
Date: Tue Sep 14 13:48:16 2021 +0800
58+
59+
Merge pull request #1 from undisputedcoder/master
60+
61+
Master
62+
63+
commit 9413592a443f8d578ecf749e531e986d699a3c9e
64+
Author: Riaz <[email protected]>
65+
Date: Tue Sep 14 11:51:11 2021 +0800
66+
67+
Commit new changes
68+
69+
commit 091425a6d86e55da0666c5a710fb18dc25776de4
70+
Author: Trykelvinator <[email protected]>
71+
Date: Sun Sep 12 13:12:54 2021 +0800
72+
73+
Create settings.dart
74+
75+
Setting page for Vision.
76+
77+
commit 34a6296ea3c8d41f9c81105be9222fc0b861da6c
78+
Author: Trykelvinator <[email protected]>
79+
Date: Fri Sep 10 15:27:41 2021 +0800
80+
81+
Create profile.dart
82+
83+
Profile section for Vision.
84+
85+
commit c9de8eb5e66f53fa5bd6c1a8ecd4b0701d9c9d95
86+
Author: victorkpimen <[email protected]>
87+
Date: Fri Sep 10 00:31:30 2021 +0800
88+
89+
added vision (Victor)
90+
91+
commit 9f02a3b8a5440e83b864e6547671d330aee953e1
92+
Author: Riaz <[email protected]>
93+
Date: Tue Sep 7 15:29:09 2021 +0800
94+
95+
Initial commit

android/.gitignore

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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

android/app/build.gradle

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
def localProperties = new Properties()
2+
def localPropertiesFile = rootProject.file('local.properties')
3+
if (localPropertiesFile.exists()) {
4+
localPropertiesFile.withReader('UTF-8') { reader ->
5+
localProperties.load(reader)
6+
}
7+
}
8+
9+
def flutterRoot = localProperties.getProperty('flutter.sdk')
10+
if (flutterRoot == null) {
11+
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12+
}
13+
14+
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15+
if (flutterVersionCode == null) {
16+
flutterVersionCode = '1'
17+
}
18+
19+
def flutterVersionName = localProperties.getProperty('flutter.versionName')
20+
if (flutterVersionName == null) {
21+
flutterVersionName = '1.0'
22+
}
23+
24+
apply plugin: 'com.android.application'
25+
apply plugin: 'kotlin-android'
26+
apply plugin: 'com.google.gms.google-services'
27+
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
28+
29+
android {
30+
compileSdkVersion 30
31+
32+
sourceSets {
33+
main.java.srcDirs += 'src/main/kotlin'
34+
}
35+
36+
defaultConfig {
37+
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
38+
applicationId "com.example.apple"
39+
minSdkVersion 16
40+
targetSdkVersion 30
41+
versionCode flutterVersionCode.toInteger()
42+
versionName flutterVersionName
43+
multiDexEnabled true
44+
}
45+
46+
buildTypes {
47+
release {
48+
// TODO: Add your own signing config for the release build.
49+
// Signing with the debug keys for now, so `flutter run --release` works.
50+
signingConfig signingConfigs.debug
51+
}
52+
}
53+
}
54+
55+
flutter {
56+
source '../..'
57+
}
58+
59+
dependencies {
60+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
61+
implementation 'com.android.support:multidex:1.0.3'
62+
}

android/app/google-services.json

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"project_info": {
3+
"project_number": "387948359876",
4+
"firebase_url": "https://bgb2021-cb2ac-default-rtdb.asia-southeast1.firebasedatabase.app",
5+
"project_id": "bgb2021-cb2ac",
6+
"storage_bucket": "bgb2021-cb2ac.appspot.com"
7+
},
8+
"client": [
9+
{
10+
"client_info": {
11+
"mobilesdk_app_id": "1:387948359876:android:39eaa62c20ede1608a5991",
12+
"android_client_info": {
13+
"package_name": "com.example.apple"
14+
}
15+
},
16+
"oauth_client": [
17+
{
18+
"client_id": "387948359876-bttsmo5g0df82upo83grpfgna1cotulq.apps.googleusercontent.com",
19+
"client_type": 3
20+
}
21+
],
22+
"api_key": [
23+
{
24+
"current_key": "AIzaSyBUaWnGozuCYnWiaZsSQ90Cz4KOMCZEVLQ"
25+
}
26+
],
27+
"services": {
28+
"appinvite_service": {
29+
"other_platform_oauth_client": [
30+
{
31+
"client_id": "387948359876-bttsmo5g0df82upo83grpfgna1cotulq.apps.googleusercontent.com",
32+
"client_type": 3
33+
},
34+
{
35+
"client_id": "387948359876-bm1ee0vpqu5h7dgpp0et77mm67rn51rh.apps.googleusercontent.com",
36+
"client_type": 2,
37+
"ios_info": {
38+
"bundle_id": "vision"
39+
}
40+
}
41+
]
42+
}
43+
}
44+
}
45+
],
46+
"configuration_version": "1"
47+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
package="com.example.apple">
3+
<!-- Flutter needs it to communicate with the running application
4+
to allow setting breakpoints, to provide hot reload, etc.
5+
-->
6+
<uses-permission android:name="android.permission.INTERNET"/>
7+
</manifest>
+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
package="com.example.apple">
3+
<uses-permission android:name="android.permission.USE_FINGERPRINT"/>
4+
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
5+
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
6+
<application
7+
android:label="apple"
8+
android:icon="@mipmap/ic_launcher">
9+
<activity
10+
android:name=".MainActivity"
11+
android:launchMode="singleTop"
12+
android:theme="@style/LaunchTheme"
13+
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
14+
android:hardwareAccelerated="true"
15+
android:windowSoftInputMode="adjustResize">
16+
<!-- Specifies an Android theme to apply to this Activity as soon as
17+
the Android process has started. This theme is visible to the user
18+
while the Flutter UI initializes. After that, this theme continues
19+
to determine the Window background behind the Flutter UI. -->
20+
<meta-data
21+
android:name="io.flutter.embedding.android.NormalTheme"
22+
android:resource="@style/NormalTheme"
23+
/>
24+
<!-- Displays an Android View that continues showing the launch screen
25+
Drawable until Flutter paints its first frame, then this splash
26+
screen fades out. A splash screen is useful to avoid any visual
27+
gap between the end of Android's launch screen and the painting of
28+
Flutter's first frame. -->
29+
<intent-filter>
30+
<action android:name="android.intent.action.MAIN"/>
31+
<category android:name="android.intent.category.LAUNCHER"/>
32+
</intent-filter>
33+
</activity>
34+
<!-- Don't delete the meta-data below.
35+
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
36+
<meta-data
37+
android:name="flutterEmbedding"
38+
android:value="2" />
39+
</application>
40+
</manifest>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package com.example.apple
2+
3+
import io.flutter.embedding.android.FlutterFragmentActivity
4+
import io.flutter.plugins.GeneratedPluginRegistrant
5+
import io.flutter.embedding.engine.FlutterEngine
6+
import androidx.annotation.NonNull;
7+
8+
class MainActivity: FlutterFragmentActivity() {
9+
override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) {
10+
GeneratedPluginRegistrant.registerWith(flutterEngine);
11+
}
12+
}
Loading
Loading
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
3+
<item>
4+
<bitmap android:gravity="fill" android:src="@drawable/background"/>
5+
</item>
6+
<item>
7+
<bitmap android:gravity="center" android:src="@drawable/splash"/>
8+
</item>
9+
</layer-list>
Loading
Loading
Loading
70 Bytes
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
3+
<item>
4+
<bitmap android:gravity="fill" android:src="@drawable/background"/>
5+
</item>
6+
<item>
7+
<bitmap android:gravity="center" android:src="@drawable/splash"/>
8+
</item>
9+
</layer-list>
Loading
Loading
Loading
Loading
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->
4+
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
5+
<!-- Show a splash screen on the activity. Automatically removed when
6+
Flutter draws its first frame -->
7+
<item name="android:windowBackground">@drawable/launch_background</item>
8+
<item name="android:windowFullscreen">false</item>
9+
</style>
10+
<!-- Theme applied to the Android Window as soon as the process has started.
11+
This theme determines the color of the Android Window while your
12+
Flutter UI initializes, as well as behind your Flutter UI while its
13+
running.
14+
15+
This Theme is only used starting with V2 of Flutter's Android embedding. -->
16+
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
17+
<item name="android:windowBackground">?android:colorBackground</item>
18+
</style>
19+
</resources>

0 commit comments

Comments
 (0)