Skip to content

Commit 19c5093

Browse files
committed
πŸŽ‰ Initial Commit
0 parents  commit 19c5093

File tree

64 files changed

+1877
-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.

64 files changed

+1877
-0
lines changed
Lines changed: 176 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,176 @@
1+
{
2+
"configVersion": 2,
3+
"packages": [
4+
{
5+
"name": "archive",
6+
"rootUri": "file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/archive-2.0.13",
7+
"packageUri": "lib/",
8+
"languageVersion": "2.0"
9+
},
10+
{
11+
"name": "args",
12+
"rootUri": "file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/args-1.6.0",
13+
"packageUri": "lib/",
14+
"languageVersion": "2.3"
15+
},
16+
{
17+
"name": "async",
18+
"rootUri": "file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.4.1",
19+
"packageUri": "lib/",
20+
"languageVersion": "2.2"
21+
},
22+
{
23+
"name": "boolean_selector",
24+
"rootUri": "file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.0.0",
25+
"packageUri": "lib/",
26+
"languageVersion": "2.4"
27+
},
28+
{
29+
"name": "charcode",
30+
"rootUri": "file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.1.3",
31+
"packageUri": "lib/",
32+
"languageVersion": "2.0"
33+
},
34+
{
35+
"name": "collection",
36+
"rootUri": "file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.12",
37+
"packageUri": "lib/",
38+
"languageVersion": "2.0"
39+
},
40+
{
41+
"name": "convert",
42+
"rootUri": "file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/convert-2.1.1",
43+
"packageUri": "lib/",
44+
"languageVersion": "1.17"
45+
},
46+
{
47+
"name": "crypto",
48+
"rootUri": "file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/crypto-2.1.4",
49+
"packageUri": "lib/",
50+
"languageVersion": "2.1"
51+
},
52+
{
53+
"name": "cupertino_icons",
54+
"rootUri": "file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-0.1.3",
55+
"packageUri": "lib/",
56+
"languageVersion": "2.0"
57+
},
58+
{
59+
"name": "flutter",
60+
"rootUri": "file:///Users/parthmaniar/development/flutter/packages/flutter",
61+
"packageUri": "lib/",
62+
"languageVersion": "2.2"
63+
},
64+
{
65+
"name": "flutter_test",
66+
"rootUri": "file:///Users/parthmaniar/development/flutter/packages/flutter_test",
67+
"packageUri": "lib/",
68+
"languageVersion": "2.2"
69+
},
70+
{
71+
"name": "image",
72+
"rootUri": "file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/image-2.1.12",
73+
"packageUri": "lib/",
74+
"languageVersion": "2.0"
75+
},
76+
{
77+
"name": "matcher",
78+
"rootUri": "file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.6",
79+
"packageUri": "lib/",
80+
"languageVersion": "2.2"
81+
},
82+
{
83+
"name": "meta",
84+
"rootUri": "file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.1.8",
85+
"packageUri": "lib/",
86+
"languageVersion": "1.12"
87+
},
88+
{
89+
"name": "path",
90+
"rootUri": "file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.6.4",
91+
"packageUri": "lib/",
92+
"languageVersion": "2.0"
93+
},
94+
{
95+
"name": "petitparser",
96+
"rootUri": "file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/petitparser-2.4.0",
97+
"packageUri": "lib/",
98+
"languageVersion": "2.4"
99+
},
100+
{
101+
"name": "quiver",
102+
"rootUri": "file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/quiver-2.1.3",
103+
"packageUri": "lib/",
104+
"languageVersion": "2.0"
105+
},
106+
{
107+
"name": "sky_engine",
108+
"rootUri": "file:///Users/parthmaniar/development/flutter/bin/cache/pkg/sky_engine",
109+
"packageUri": "lib/",
110+
"languageVersion": "1.11"
111+
},
112+
{
113+
"name": "source_span",
114+
"rootUri": "file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.7.0",
115+
"packageUri": "lib/",
116+
"languageVersion": "2.6"
117+
},
118+
{
119+
"name": "stack_trace",
120+
"rootUri": "file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.9.3",
121+
"packageUri": "lib/",
122+
"languageVersion": "1.23"
123+
},
124+
{
125+
"name": "stream_channel",
126+
"rootUri": "file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.0.0",
127+
"packageUri": "lib/",
128+
"languageVersion": "2.0"
129+
},
130+
{
131+
"name": "string_scanner",
132+
"rootUri": "file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.0.5",
133+
"packageUri": "lib/",
134+
"languageVersion": "2.0"
135+
},
136+
{
137+
"name": "term_glyph",
138+
"rootUri": "file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.1.0",
139+
"packageUri": "lib/",
140+
"languageVersion": "1.8"
141+
},
142+
{
143+
"name": "test_api",
144+
"rootUri": "file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.2.15",
145+
"packageUri": "lib/",
146+
"languageVersion": "2.4"
147+
},
148+
{
149+
"name": "typed_data",
150+
"rootUri": "file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.1.6",
151+
"packageUri": "lib/",
152+
"languageVersion": "2.0"
153+
},
154+
{
155+
"name": "vector_math",
156+
"rootUri": "file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.0.8",
157+
"packageUri": "lib/",
158+
"languageVersion": "2.0"
159+
},
160+
{
161+
"name": "xml",
162+
"rootUri": "file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/xml-3.6.1",
163+
"packageUri": "lib/",
164+
"languageVersion": "2.6"
165+
},
166+
{
167+
"name": "theme_provider",
168+
"rootUri": "../",
169+
"packageUri": "lib/",
170+
"languageVersion": "2.7"
171+
}
172+
],
173+
"generated": "2020-05-07T22:37:38.724793Z",
174+
"generator": "pub",
175+
"generatorVersion": "2.8.1"
176+
}

β€Ž.packagesβ€Ž

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Generated by pub on 2020-05-08 04:07:38.705746.
2+
archive:file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/archive-2.0.13/lib/
3+
args:file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/args-1.6.0/lib/
4+
async:file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.4.1/lib/
5+
boolean_selector:file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.0.0/lib/
6+
charcode:file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.1.3/lib/
7+
collection:file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.12/lib/
8+
convert:file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/convert-2.1.1/lib/
9+
crypto:file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/crypto-2.1.4/lib/
10+
cupertino_icons:file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-0.1.3/lib/
11+
flutter:file:///Users/parthmaniar/development/flutter/packages/flutter/lib/
12+
flutter_test:file:///Users/parthmaniar/development/flutter/packages/flutter_test/lib/
13+
image:file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/image-2.1.12/lib/
14+
matcher:file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.6/lib/
15+
meta:file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.1.8/lib/
16+
path:file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.6.4/lib/
17+
petitparser:file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/petitparser-2.4.0/lib/
18+
quiver:file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/quiver-2.1.3/lib/
19+
sky_engine:file:///Users/parthmaniar/development/flutter/bin/cache/pkg/sky_engine/lib/
20+
source_span:file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.7.0/lib/
21+
stack_trace:file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.9.3/lib/
22+
stream_channel:file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.0.0/lib/
23+
string_scanner:file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.0.5/lib/
24+
term_glyph:file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.1.0/lib/
25+
test_api:file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.2.15/lib/
26+
typed_data:file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.1.6/lib/
27+
vector_math:file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.0.8/lib/
28+
xml:file:///Users/parthmaniar/development/flutter/.pub-cache/hosted/pub.dartlang.org/xml-3.6.1/lib/
29+
theme_provider:lib/

β€ŽREADME.mdβ€Ž

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# theme_provider
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.

β€Žandroid/.gitignoreβ€Ž

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
gradle-wrapper.jar
2+
/.gradle
3+
/captures/
4+
/gradlew
5+
/gradlew.bat
6+
/local.properties
7+
GeneratedPluginRegistrant.java

β€Žandroid/app/build.gradleβ€Ž

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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 from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27+
28+
android {
29+
compileSdkVersion 28
30+
31+
sourceSets {
32+
main.java.srcDirs += 'src/main/kotlin'
33+
}
34+
35+
lintOptions {
36+
disable 'InvalidPackage'
37+
}
38+
39+
defaultConfig {
40+
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
41+
applicationId "com.example.theme_provider"
42+
minSdkVersion 16
43+
targetSdkVersion 28
44+
versionCode flutterVersionCode.toInteger()
45+
versionName flutterVersionName
46+
}
47+
48+
buildTypes {
49+
release {
50+
// TODO: Add your own signing config for the release build.
51+
// Signing with the debug keys for now, so `flutter run --release` works.
52+
signingConfig signingConfigs.debug
53+
}
54+
}
55+
}
56+
57+
flutter {
58+
source '../..'
59+
}
60+
61+
dependencies {
62+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
63+
}
Lines changed: 7 additions & 0 deletions
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.theme_provider">
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>
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
package="com.example.theme_provider">
3+
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
4+
calls FlutterMain.startInitialization(this); in its onCreate method.
5+
In most cases you can leave this as-is, but you if you want to provide
6+
additional functionality it is fine to subclass or reimplement
7+
FlutterApplication and put your custom class here. -->
8+
<application
9+
android:name="io.flutter.app.FlutterApplication"
10+
android:label="theme_provider"
11+
android:icon="@mipmap/ic_launcher">
12+
<activity
13+
android:name=".MainActivity"
14+
android:launchMode="singleTop"
15+
android:theme="@style/LaunchTheme"
16+
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
17+
android:hardwareAccelerated="true"
18+
android:windowSoftInputMode="adjustResize">
19+
<!-- Specifies an Android theme to apply to this Activity as soon as
20+
the Android process has started. This theme is visible to the user
21+
while the Flutter UI initializes. After that, this theme continues
22+
to determine the Window background behind the Flutter UI. -->
23+
<meta-data
24+
android:name="io.flutter.embedding.android.NormalTheme"
25+
android:resource="@style/NormalTheme"
26+
/>
27+
<!-- Displays an Android View that continues showing the launch screen
28+
Drawable until Flutter paints its first frame, then this splash
29+
screen fades out. A splash screen is useful to avoid any visual
30+
gap between the end of Android's launch screen and the painting of
31+
Flutter's first frame. -->
32+
<meta-data
33+
android:name="io.flutter.embedding.android.SplashScreenDrawable"
34+
android:resource="@drawable/launch_background"
35+
/>
36+
<intent-filter>
37+
<action android:name="android.intent.action.MAIN"/>
38+
<category android:name="android.intent.category.LAUNCHER"/>
39+
</intent-filter>
40+
</activity>
41+
<!-- Don't delete the meta-data below.
42+
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
43+
<meta-data
44+
android:name="flutterEmbedding"
45+
android:value="2" />
46+
</application>
47+
</manifest>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package com.example.theme_provider
2+
3+
import io.flutter.embedding.android.FlutterActivity
4+
5+
class MainActivity: FlutterActivity() {
6+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Modify this file to customize your launch splash screen -->
3+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
4+
<item android:drawable="@android:color/white" />
5+
6+
<!-- You can insert your own image assets here -->
7+
<!-- <item>
8+
<bitmap
9+
android:gravity="center"
10+
android:src="@mipmap/launch_image" />
11+
</item> -->
12+
</layer-list>
544 Bytes
Loading

0 commit comments

Comments
Β (0)