├── .gitignore
├── .idea
├── codeStyles
│ └── Project.xml
├── deep_flutter.iml
├── libraries
│ ├── Dart_Packages.xml
│ ├── Dart_SDK.xml
│ └── Flutter_Plugins.xml
├── misc.xml
├── modules.xml
├── vcs.xml
└── workspace.xml
├── .metadata
├── .vscode
└── launch.json
├── README.md
├── android
├── .gitignore
├── .idea
│ ├── codeStyles
│ │ └── Project.xml
│ ├── gradle.xml
│ ├── misc.xml
│ └── modules.xml
├── app
│ ├── build.gradle
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── kotlin
│ │ └── com
│ │ │ └── dcx
│ │ │ └── flutterchartsdeep
│ │ │ └── MainActivity.kt
│ │ └── res
│ │ ├── drawable
│ │ └── launch_background.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxxhdpi
│ │ └── ic_launcher.png
│ │ └── values
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
├── assets
└── images
│ ├── bar.png
│ ├── graph.png
│ ├── line.png
│ ├── logo.png
│ ├── pie.png
│ ├── powered_by.png
│ └── sunny.png
├── ios
├── .gitignore
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ ├── IDEWorkspaceChecks.plist
│ │ └── WorkspaceSettings.xcsettings
└── Runner
│ ├── AppDelegate.swift
│ ├── Assets.xcassets
│ ├── AppIcon.appiconset
│ │ ├── Contents.json
│ │ ├── Icon-App-1024x1024@1x.png
│ │ ├── 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-60x60@2x.png
│ │ ├── Icon-App-60x60@3x.png
│ │ ├── Icon-App-76x76@1x.png
│ │ ├── Icon-App-76x76@2x.png
│ │ └── Icon-App-83.5x83.5@2x.png
│ └── LaunchImage.imageset
│ │ ├── Contents.json
│ │ ├── LaunchImage.png
│ │ ├── LaunchImage@2x.png
│ │ ├── LaunchImage@3x.png
│ │ └── README.md
│ ├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
│ ├── Info.plist
│ └── Runner-Bridging-Header.h
├── lib
├── Constant
│ └── Constant.dart
├── Screens
│ └── SplashScreen.dart
├── charts_screen
│ ├── bar_chart.dart
│ ├── line_chart.dart
│ └── pie_chart.dart
├── charts_widgets
│ ├── simple_bar_chart.dart
│ ├── simple_line_chart.dart
│ └── simple_pie_chart.dart
├── colored_container.dart
├── home_widget.dart
├── main.dart
├── model
│ ├── Condition.dart
│ ├── ForecastData.dart
│ └── WeatherData.dart
├── network
│ └── ApiClient.dart
├── res
│ └── Res.dart
└── weather_details_header.dart
├── local.properties
├── pubspec.lock
├── pubspec.yaml
├── screens
├── Android1.jpg
├── android2.jpg
├── android3.jpg
├── demo.gif
├── iPhone1.jpg
├── iphone2.jpg
└── iphone3.jpg
└── test
└── widget_test.dart
/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.lock
4 | *.log
5 | *.pyc
6 | *.swp
7 | .DS_Store
8 | .atom/
9 | .buildlog/
10 | .history
11 | .svn/
12 |
13 | # IntelliJ related
14 | *.iml
15 | *.ipr
16 | *.iws
17 | .idea/
18 |
19 | # Visual Studio Code related
20 | .classpath
21 | .project
22 | .settings/
23 | .vscode/
24 |
25 | # Flutter repo-specific
26 | /bin/cache/
27 | /bin/mingit/
28 | /dev/benchmarks/mega_gallery/
29 | /dev/bots/.recipe_deps
30 | /dev/bots/android_tools/
31 | /dev/docs/doc/
32 | /dev/docs/flutter.docs.zip
33 | /dev/docs/lib/
34 | /dev/docs/pubspec.yaml
35 | /dev/integration_tests/**/xcuserdata
36 | /dev/integration_tests/**/Pods
37 | /packages/flutter/coverage/
38 | version
39 |
40 | # packages file containing multi-root paths
41 | .packages.generated
42 |
43 | # Flutter/Dart/Pub related
44 | **/doc/api/
45 | .dart_tool/
46 | .flutter-plugins
47 | .flutter-plugins-dependencies
48 | .packages
49 | .pub-cache/
50 | .pub/
51 | build/
52 | flutter_*.png
53 | linked_*.ds
54 | unlinked.ds
55 | unlinked_spec.ds
56 |
57 | # Android related
58 | **/android/**/gradle-wrapper.jar
59 | **/android/.gradle
60 | **/android/captures/
61 | **/android/gradlew
62 | **/android/gradlew.bat
63 | **/android/local.properties
64 | **/android/**/GeneratedPluginRegistrant.java
65 | **/android/key.properties
66 | *.jks
67 |
68 | # iOS/XCode related
69 | **/ios/**/*.mode1v3
70 | **/ios/**/*.mode2v3
71 | **/ios/**/*.moved-aside
72 | **/ios/**/*.pbxuser
73 | **/ios/**/*.perspectivev3
74 | **/ios/**/*sync/
75 | **/ios/**/.sconsign.dblite
76 | **/ios/**/.tags*
77 | **/ios/**/.vagrant/
78 | **/ios/**/DerivedData/
79 | **/ios/**/Icon?
80 | **/ios/**/Pods/
81 | **/ios/**/.symlinks/
82 | **/ios/**/profile
83 | **/ios/**/xcuserdata
84 | **/ios/.generated/
85 | **/ios/Flutter/App.framework
86 | **/ios/Flutter/Flutter.framework
87 | **/ios/Flutter/Flutter.podspec
88 | **/ios/Flutter/Generated.xcconfig
89 | **/ios/Flutter/app.flx
90 | **/ios/Flutter/app.zip
91 | **/ios/Flutter/flutter_assets/
92 | **/ios/Flutter/flutter_export_environment.sh
93 | **/ios/ServiceDefinitions.json
94 | **/ios/Runner/GeneratedPluginRegistrant.*
95 |
96 | # macOS
97 | **/macos/Flutter/GeneratedPluginRegistrant.swift
98 | **/macos/Flutter/Flutter-Debug.xcconfig
99 | **/macos/Flutter/Flutter-Release.xcconfig
100 | **/macos/Flutter/Flutter-Profile.xcconfig
101 |
102 | # Coverage
103 | coverage/
104 |
105 | # Symbols
106 | app.*.symbols
107 |
108 | # Exceptions to above rules.
109 | !**/ios/**/default.mode1v3
110 | !**/ios/**/default.mode2v3
111 | !**/ios/**/default.pbxuser
112 | !**/ios/**/default.perspectivev3
113 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
114 | !/dev/ci/**/Gemfile.lock
--------------------------------------------------------------------------------
/.idea/codeStyles/Project.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | xmlns:android
11 |
12 | ^$
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 | xmlns:.*
22 |
23 | ^$
24 |
25 |
26 | BY_NAME
27 |
28 |
29 |
30 |
31 |
32 |
33 | .*:id
34 |
35 | http://schemas.android.com/apk/res/android
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 | .*:name
45 |
46 | http://schemas.android.com/apk/res/android
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 | name
56 |
57 | ^$
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 | style
67 |
68 | ^$
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 | .*
78 |
79 | ^$
80 |
81 |
82 | BY_NAME
83 |
84 |
85 |
86 |
87 |
88 |
89 | .*
90 |
91 | http://schemas.android.com/apk/res/android
92 |
93 |
94 | ANDROID_ATTRIBUTE_ORDER
95 |
96 |
97 |
98 |
99 |
100 |
101 | .*
102 |
103 | .*
104 |
105 |
106 | BY_NAME
107 |
108 |
109 |
110 |
111 |
112 |
113 |
--------------------------------------------------------------------------------
/.idea/deep_flutter.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/.idea/libraries/Dart_Packages.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
251 |
252 |
253 |
254 |
255 |
256 |
257 |
258 |
259 |
260 |
261 |
262 |
263 |
264 |
265 |
266 |
267 |
268 |
269 |
270 |
271 |
272 |
273 |
274 |
275 |
276 |
277 |
278 |
279 |
280 |
281 |
282 |
283 |
284 |
285 |
286 |
287 |
288 |
289 |
290 |
291 |
292 |
--------------------------------------------------------------------------------
/.idea/libraries/Dart_SDK.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/.idea/libraries/Flutter_Plugins.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 | 1.8
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/workspace.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 | 1539615809945
121 |
122 |
123 | 1539615809945
124 |
125 |
126 |
127 |
128 |
129 |
136 |
137 |
138 |
139 |
140 |
141 |
--------------------------------------------------------------------------------
/.metadata:
--------------------------------------------------------------------------------
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: f9bb4289e9fd861d70ae78bcc3a042ef1b35cc9d
8 | channel: beta
9 |
--------------------------------------------------------------------------------
/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to learn about possible attributes.
3 | // Hover to view descriptions of existing attributes.
4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5 | "version": "0.2.0",
6 | "configurations": [
7 |
8 | {
9 | "name": "Flutter",
10 | "request": "launch",
11 | "type": "dart"
12 | }
13 | ]
14 | }
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Flutter Charts Demo
2 |
3 | A Flutter app to showcase different types of Graphs.
4 |
5 | # Demo
6 |
7 |
8 |
9 |
10 | # Android Screen
11 |
12 |
13 |
14 | # iOS Screen
15 |
16 |
17 |
18 |
19 | ## Getting Started
20 |
21 | For help getting started with Flutter, view our online
22 | [documentation](https://flutter.io/).
23 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | *.class
3 | .gradle
4 | /local.properties
5 | /.idea/workspace.xml
6 | /.idea/libraries
7 | .DS_Store
8 | /build
9 | /captures
10 | GeneratedPluginRegistrant.java
11 |
--------------------------------------------------------------------------------
/android/.idea/codeStyles/Project.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | xmlns:android
14 |
15 | ^$
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 | xmlns:.*
25 |
26 | ^$
27 |
28 |
29 | BY_NAME
30 |
31 |
32 |
33 |
34 |
35 |
36 | .*:id
37 |
38 | http://schemas.android.com/apk/res/android
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 | .*:name
48 |
49 | http://schemas.android.com/apk/res/android
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 | name
59 |
60 | ^$
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 | style
70 |
71 | ^$
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 | .*
81 |
82 | ^$
83 |
84 |
85 | BY_NAME
86 |
87 |
88 |
89 |
90 |
91 |
92 | .*
93 |
94 | http://schemas.android.com/apk/res/android
95 |
96 |
97 | ANDROID_ATTRIBUTE_ORDER
98 |
99 |
100 |
101 |
102 |
103 |
104 | .*
105 |
106 | .*
107 |
108 |
109 | BY_NAME
110 |
111 |
112 |
113 |
114 |
115 |
116 |
--------------------------------------------------------------------------------
/android/.idea/gradle.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/android/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/android/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
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 |
11 | apply plugin: 'com.android.application'
12 | apply plugin: 'kotlin-android'
13 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
14 |
15 | android {
16 | compileSdkVersion 28
17 | ndkVersion "21.0.6113669"
18 | sourceSets {
19 | main.java.srcDirs += 'src/main/kotlin'
20 | }
21 |
22 | lintOptions {
23 | disable 'InvalidPackage'
24 | }
25 |
26 | defaultConfig {
27 | applicationId "com.dcx.flutterchartsdeep"
28 | minSdkVersion 19
29 | targetSdkVersion 28
30 | versionCode 1
31 | versionName "1.0"
32 | testInstrumentationRunner "androidx.support.test.runner.AndroidJUnitRunner"
33 | }
34 |
35 | buildTypes {
36 | release {
37 | signingConfig signingConfigs.debug
38 | }
39 | }
40 | }
41 |
42 | flutter {
43 | source '../..'
44 | }
45 |
46 | dependencies {
47 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
48 | testImplementation 'junit:junit:4.12'
49 | androidTestImplementation 'androidx.test:runner:1.1.1'
50 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
51 | /*implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
52 | testImplementation 'junit:junit:4.12'
53 | androidTestImplementation 'com.androidx.support.test:runner:1.0.1'
54 | androidTestImplementation 'com.androidx.support.test.espresso:espresso-core:3.0.1'*/
55 | }
56 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
8 |
9 |
10 |
15 |
19 |
26 |
30 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/com/dcx/flutterchartsdeep/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.dcx.flutterchartsdeep
2 |
3 | import android.os.Bundle
4 |
5 | import io.flutter.app.FlutterActivity
6 | import io.flutter.plugins.GeneratedPluginRegistrant
7 |
8 | class MainActivity(): FlutterActivity() {
9 | override fun onCreate(savedInstanceState: Bundle?) {
10 | super.onCreate(savedInstanceState)
11 | GeneratedPluginRegistrant.registerWith(this)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.3.50'
3 | repositories {
4 | google()
5 | jcenter()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:3.6.3'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | }
12 | }
13 |
14 | allprojects {
15 | repositories {
16 | google()
17 | jcenter()
18 | }
19 | }
20 |
21 | rootProject.buildDir = '../build'
22 | subprojects {
23 | project.buildDir = "${rootProject.buildDir}/${project.name}"
24 | }
25 | subprojects {
26 | project.evaluationDependsOn(':app')
27 | }
28 |
29 | task clean(type: Delete) {
30 | delete rootProject.buildDir
31 | }
32 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.useAndroidX=true
3 | android.enableJetifier=true
4 | android.enableR8=true
5 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed May 06 17:34:20 IST 2020
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
7 |
--------------------------------------------------------------------------------
/android/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
10 | DEFAULT_JVM_OPTS=""
11 |
12 | APP_NAME="Gradle"
13 | APP_BASE_NAME=`basename "$0"`
14 |
15 | # Use the maximum available, or set MAX_FD != -1 to use that value.
16 | MAX_FD="maximum"
17 |
18 | warn ( ) {
19 | echo "$*"
20 | }
21 |
22 | die ( ) {
23 | echo
24 | echo "$*"
25 | echo
26 | exit 1
27 | }
28 |
29 | # OS specific support (must be 'true' or 'false').
30 | cygwin=false
31 | msys=false
32 | darwin=false
33 | case "`uname`" in
34 | CYGWIN* )
35 | cygwin=true
36 | ;;
37 | Darwin* )
38 | darwin=true
39 | ;;
40 | MINGW* )
41 | msys=true
42 | ;;
43 | esac
44 |
45 | # Attempt to set APP_HOME
46 | # Resolve links: $0 may be a link
47 | PRG="$0"
48 | # Need this for relative symlinks.
49 | while [ -h "$PRG" ] ; do
50 | ls=`ls -ld "$PRG"`
51 | link=`expr "$ls" : '.*-> \(.*\)$'`
52 | if expr "$link" : '/.*' > /dev/null; then
53 | PRG="$link"
54 | else
55 | PRG=`dirname "$PRG"`"/$link"
56 | fi
57 | done
58 | SAVED="`pwd`"
59 | cd "`dirname \"$PRG\"`/" >/dev/null
60 | APP_HOME="`pwd -P`"
61 | cd "$SAVED" >/dev/null
62 |
63 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
64 |
65 | # Determine the Java command to use to start the JVM.
66 | if [ -n "$JAVA_HOME" ] ; then
67 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
68 | # IBM's JDK on AIX uses strange locations for the executables
69 | JAVACMD="$JAVA_HOME/jre/sh/java"
70 | else
71 | JAVACMD="$JAVA_HOME/bin/java"
72 | fi
73 | if [ ! -x "$JAVACMD" ] ; then
74 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
75 |
76 | Please set the JAVA_HOME variable in your environment to match the
77 | location of your Java installation."
78 | fi
79 | else
80 | JAVACMD="java"
81 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
82 |
83 | Please set the JAVA_HOME variable in your environment to match the
84 | location of your Java installation."
85 | fi
86 |
87 | # Increase the maximum file descriptors if we can.
88 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
89 | MAX_FD_LIMIT=`ulimit -H -n`
90 | if [ $? -eq 0 ] ; then
91 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
92 | MAX_FD="$MAX_FD_LIMIT"
93 | fi
94 | ulimit -n $MAX_FD
95 | if [ $? -ne 0 ] ; then
96 | warn "Could not set maximum file descriptor limit: $MAX_FD"
97 | fi
98 | else
99 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
100 | fi
101 | fi
102 |
103 | # For Darwin, add options to specify how the application appears in the dock
104 | if $darwin; then
105 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
106 | fi
107 |
108 | # For Cygwin, switch paths to Windows format before running java
109 | if $cygwin ; then
110 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
111 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
112 | JAVACMD=`cygpath --unix "$JAVACMD"`
113 |
114 | # We build the pattern for arguments to be converted via cygpath
115 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
116 | SEP=""
117 | for dir in $ROOTDIRSRAW ; do
118 | ROOTDIRS="$ROOTDIRS$SEP$dir"
119 | SEP="|"
120 | done
121 | OURCYGPATTERN="(^($ROOTDIRS))"
122 | # Add a user-defined pattern to the cygpath arguments
123 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
124 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
125 | fi
126 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
127 | i=0
128 | for arg in "$@" ; do
129 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
130 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
131 |
132 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
133 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
134 | else
135 | eval `echo args$i`="\"$arg\""
136 | fi
137 | i=$((i+1))
138 | done
139 | case $i in
140 | (0) set -- ;;
141 | (1) set -- "$args0" ;;
142 | (2) set -- "$args0" "$args1" ;;
143 | (3) set -- "$args0" "$args1" "$args2" ;;
144 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
145 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
146 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
147 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
148 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
149 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
150 | esac
151 | fi
152 |
153 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
154 | function splitJvmOpts() {
155 | JVM_OPTS=("$@")
156 | }
157 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
158 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
159 |
160 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
161 |
--------------------------------------------------------------------------------
/android/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12 | set DEFAULT_JVM_OPTS=
13 |
14 | set DIRNAME=%~dp0
15 | if "%DIRNAME%" == "" set DIRNAME=.
16 | set APP_BASE_NAME=%~n0
17 | set APP_HOME=%DIRNAME%
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windowz variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 | if "%@eval[2+2]" == "4" goto 4NT_args
53 |
54 | :win9xME_args
55 | @rem Slurp the command line arguments.
56 | set CMD_LINE_ARGS=
57 | set _SKIP=2
58 |
59 | :win9xME_args_slurp
60 | if "x%~1" == "x" goto execute
61 |
62 | set CMD_LINE_ARGS=%*
63 | goto execute
64 |
65 | :4NT_args
66 | @rem Get arguments from the 4NT Shell from JP Software
67 | set CMD_LINE_ARGS=%$
68 |
69 | :execute
70 | @rem Setup the command line
71 |
72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73 |
74 | @rem Execute Gradle
75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
76 |
77 | :end
78 | @rem End local scope for the variables with windows NT shell
79 | if "%ERRORLEVEL%"=="0" goto mainEnd
80 |
81 | :fail
82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83 | rem the _cmd.exe /c_ return code!
84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85 | exit /b 1
86 |
87 | :mainEnd
88 | if "%OS%"=="Windows_NT" endlocal
89 |
90 | :omega
91 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
4 |
5 | def plugins = new Properties()
6 | def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
7 | if (pluginsFile.exists()) {
8 | pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) }
9 | }
10 |
11 | plugins.each { name, path ->
12 | def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
13 | include ":$name"
14 | project(":$name").projectDir = pluginDirectory
15 | }
16 |
--------------------------------------------------------------------------------
/assets/images/bar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/assets/images/bar.png
--------------------------------------------------------------------------------
/assets/images/graph.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/assets/images/graph.png
--------------------------------------------------------------------------------
/assets/images/line.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/assets/images/line.png
--------------------------------------------------------------------------------
/assets/images/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/assets/images/logo.png
--------------------------------------------------------------------------------
/assets/images/pie.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/assets/images/pie.png
--------------------------------------------------------------------------------
/assets/images/powered_by.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/assets/images/powered_by.png
--------------------------------------------------------------------------------
/assets/images/sunny.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/assets/images/sunny.png
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/
2 | .vagrant/
3 | .sconsign.dblite
4 | .svn/
5 |
6 | .DS_Store
7 | *.swp
8 | profile
9 |
10 | DerivedData/
11 | build/
12 | GeneratedPluginRegistrant.h
13 | GeneratedPluginRegistrant.m
14 |
15 | .generated/
16 |
17 | *.pbxuser
18 | *.mode1v3
19 | *.mode2v3
20 | *.perspectivev3
21 |
22 | !default.pbxuser
23 | !default.mode1v3
24 | !default.mode2v3
25 | !default.perspectivev3
26 |
27 | xcuserdata
28 |
29 | *.moved-aside
30 |
31 | *.pyc
32 | *sync/
33 | Icon?
34 | .tags*
35 |
36 | /Flutter/app.flx
37 | /Flutter/app.zip
38 | /Flutter/flutter_assets/
39 | /Flutter/App.framework
40 | /Flutter/Flutter.framework
41 | /Flutter/Generated.xcconfig
42 | /ServiceDefinitions.json
43 |
44 | Pods/
45 | .symlinks/
46 |
--------------------------------------------------------------------------------
/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 | 8.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
11 | 2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */ = {isa = PBXBuildFile; fileRef = 2D5378251FAA1A9400D5DBA9 /* flutter_assets */; };
12 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
13 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; };
14 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
15 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
16 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; };
17 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
18 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; };
19 | 9740EEB51CF90195004384FC /* Generated.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB31CF90195004384FC /* Generated.xcconfig */; };
20 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
21 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
22 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
23 | /* End PBXBuildFile section */
24 |
25 | /* Begin PBXCopyFilesBuildPhase section */
26 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
27 | isa = PBXCopyFilesBuildPhase;
28 | buildActionMask = 2147483647;
29 | dstPath = "";
30 | dstSubfolderSpec = 10;
31 | files = (
32 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */,
33 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */,
34 | );
35 | name = "Embed Frameworks";
36 | runOnlyForDeploymentPostprocessing = 0;
37 | };
38 | /* End PBXCopyFilesBuildPhase section */
39 |
40 | /* Begin PBXFileReference section */
41 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
42 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
43 | 2D5378251FAA1A9400D5DBA9 /* flutter_assets */ = {isa = PBXFileReference; lastKnownFileType = folder; name = flutter_assets; path = Flutter/flutter_assets; sourceTree = SOURCE_ROOT; };
44 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
45 | 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; };
46 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
47 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
48 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
49 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
50 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
51 | 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; };
52 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
53 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
54 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
55 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
56 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
57 | /* End PBXFileReference section */
58 |
59 | /* Begin PBXFrameworksBuildPhase section */
60 | 97C146EB1CF9000F007C117D /* Frameworks */ = {
61 | isa = PBXFrameworksBuildPhase;
62 | buildActionMask = 2147483647;
63 | files = (
64 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */,
65 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */,
66 | );
67 | runOnlyForDeploymentPostprocessing = 0;
68 | };
69 | /* End PBXFrameworksBuildPhase section */
70 |
71 | /* Begin PBXGroup section */
72 | 9740EEB11CF90186004384FC /* Flutter */ = {
73 | isa = PBXGroup;
74 | children = (
75 | 2D5378251FAA1A9400D5DBA9 /* flutter_assets */,
76 | 3B80C3931E831B6300D905FE /* App.framework */,
77 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
78 | 9740EEBA1CF902C7004384FC /* Flutter.framework */,
79 | 9740EEB21CF90195004384FC /* Debug.xcconfig */,
80 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
81 | 9740EEB31CF90195004384FC /* Generated.xcconfig */,
82 | );
83 | name = Flutter;
84 | sourceTree = "";
85 | };
86 | 97C146E51CF9000F007C117D = {
87 | isa = PBXGroup;
88 | children = (
89 | 9740EEB11CF90186004384FC /* Flutter */,
90 | 97C146F01CF9000F007C117D /* Runner */,
91 | 97C146EF1CF9000F007C117D /* Products */,
92 | );
93 | sourceTree = "";
94 | };
95 | 97C146EF1CF9000F007C117D /* Products */ = {
96 | isa = PBXGroup;
97 | children = (
98 | 97C146EE1CF9000F007C117D /* Runner.app */,
99 | );
100 | name = Products;
101 | sourceTree = "";
102 | };
103 | 97C146F01CF9000F007C117D /* Runner */ = {
104 | isa = PBXGroup;
105 | children = (
106 | 97C146FA1CF9000F007C117D /* Main.storyboard */,
107 | 97C146FD1CF9000F007C117D /* Assets.xcassets */,
108 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
109 | 97C147021CF9000F007C117D /* Info.plist */,
110 | 97C146F11CF9000F007C117D /* Supporting Files */,
111 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
112 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
113 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
114 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
115 | );
116 | path = Runner;
117 | sourceTree = "";
118 | };
119 | 97C146F11CF9000F007C117D /* Supporting Files */ = {
120 | isa = PBXGroup;
121 | children = (
122 | );
123 | name = "Supporting Files";
124 | sourceTree = "";
125 | };
126 | /* End PBXGroup section */
127 |
128 | /* Begin PBXNativeTarget section */
129 | 97C146ED1CF9000F007C117D /* Runner */ = {
130 | isa = PBXNativeTarget;
131 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
132 | buildPhases = (
133 | 9740EEB61CF901F6004384FC /* Run Script */,
134 | 97C146EA1CF9000F007C117D /* Sources */,
135 | 97C146EB1CF9000F007C117D /* Frameworks */,
136 | 97C146EC1CF9000F007C117D /* Resources */,
137 | 9705A1C41CF9048500538489 /* Embed Frameworks */,
138 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
139 | );
140 | buildRules = (
141 | );
142 | dependencies = (
143 | );
144 | name = Runner;
145 | productName = Runner;
146 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
147 | productType = "com.apple.product-type.application";
148 | };
149 | /* End PBXNativeTarget section */
150 |
151 | /* Begin PBXProject section */
152 | 97C146E61CF9000F007C117D /* Project object */ = {
153 | isa = PBXProject;
154 | attributes = {
155 | LastUpgradeCheck = 0910;
156 | ORGANIZATIONNAME = "The Chromium Authors";
157 | TargetAttributes = {
158 | 97C146ED1CF9000F007C117D = {
159 | CreatedOnToolsVersion = 7.3.1;
160 | DevelopmentTeam = SYLT36L949;
161 | LastSwiftMigration = 0910;
162 | };
163 | };
164 | };
165 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
166 | compatibilityVersion = "Xcode 3.2";
167 | developmentRegion = English;
168 | hasScannedForEncodings = 0;
169 | knownRegions = (
170 | en,
171 | Base,
172 | );
173 | mainGroup = 97C146E51CF9000F007C117D;
174 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
175 | projectDirPath = "";
176 | projectRoot = "";
177 | targets = (
178 | 97C146ED1CF9000F007C117D /* Runner */,
179 | );
180 | };
181 | /* End PBXProject section */
182 |
183 | /* Begin PBXResourcesBuildPhase section */
184 | 97C146EC1CF9000F007C117D /* Resources */ = {
185 | isa = PBXResourcesBuildPhase;
186 | buildActionMask = 2147483647;
187 | files = (
188 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
189 | 9740EEB51CF90195004384FC /* Generated.xcconfig in Resources */,
190 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
191 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */,
192 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
193 | 2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */,
194 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
195 | );
196 | runOnlyForDeploymentPostprocessing = 0;
197 | };
198 | /* End PBXResourcesBuildPhase section */
199 |
200 | /* Begin PBXShellScriptBuildPhase section */
201 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
202 | isa = PBXShellScriptBuildPhase;
203 | buildActionMask = 2147483647;
204 | files = (
205 | );
206 | inputPaths = (
207 | );
208 | name = "Thin Binary";
209 | outputPaths = (
210 | );
211 | runOnlyForDeploymentPostprocessing = 0;
212 | shellPath = /bin/sh;
213 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin";
214 | };
215 | 9740EEB61CF901F6004384FC /* Run Script */ = {
216 | isa = PBXShellScriptBuildPhase;
217 | buildActionMask = 2147483647;
218 | files = (
219 | );
220 | inputPaths = (
221 | );
222 | name = "Run Script";
223 | outputPaths = (
224 | );
225 | runOnlyForDeploymentPostprocessing = 0;
226 | shellPath = /bin/sh;
227 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
228 | };
229 | /* End PBXShellScriptBuildPhase section */
230 |
231 | /* Begin PBXSourcesBuildPhase section */
232 | 97C146EA1CF9000F007C117D /* Sources */ = {
233 | isa = PBXSourcesBuildPhase;
234 | buildActionMask = 2147483647;
235 | files = (
236 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
237 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
238 | );
239 | runOnlyForDeploymentPostprocessing = 0;
240 | };
241 | /* End PBXSourcesBuildPhase section */
242 |
243 | /* Begin PBXVariantGroup section */
244 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
245 | isa = PBXVariantGroup;
246 | children = (
247 | 97C146FB1CF9000F007C117D /* Base */,
248 | );
249 | name = Main.storyboard;
250 | sourceTree = "";
251 | };
252 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
253 | isa = PBXVariantGroup;
254 | children = (
255 | 97C147001CF9000F007C117D /* Base */,
256 | );
257 | name = LaunchScreen.storyboard;
258 | sourceTree = "";
259 | };
260 | /* End PBXVariantGroup section */
261 |
262 | /* Begin XCBuildConfiguration section */
263 | 97C147031CF9000F007C117D /* Debug */ = {
264 | isa = XCBuildConfiguration;
265 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
266 | buildSettings = {
267 | ALWAYS_SEARCH_USER_PATHS = NO;
268 | CLANG_ANALYZER_NONNULL = YES;
269 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
270 | CLANG_CXX_LIBRARY = "libc++";
271 | CLANG_ENABLE_MODULES = YES;
272 | CLANG_ENABLE_OBJC_ARC = YES;
273 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
274 | CLANG_WARN_BOOL_CONVERSION = YES;
275 | CLANG_WARN_COMMA = YES;
276 | CLANG_WARN_CONSTANT_CONVERSION = YES;
277 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
278 | CLANG_WARN_EMPTY_BODY = YES;
279 | CLANG_WARN_ENUM_CONVERSION = YES;
280 | CLANG_WARN_INFINITE_RECURSION = YES;
281 | CLANG_WARN_INT_CONVERSION = YES;
282 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
283 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
284 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
285 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
286 | CLANG_WARN_STRICT_PROTOTYPES = YES;
287 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
288 | CLANG_WARN_UNREACHABLE_CODE = YES;
289 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
290 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
291 | COPY_PHASE_STRIP = NO;
292 | DEBUG_INFORMATION_FORMAT = dwarf;
293 | ENABLE_STRICT_OBJC_MSGSEND = YES;
294 | ENABLE_TESTABILITY = YES;
295 | GCC_C_LANGUAGE_STANDARD = gnu99;
296 | GCC_DYNAMIC_NO_PIC = NO;
297 | GCC_NO_COMMON_BLOCKS = YES;
298 | GCC_OPTIMIZATION_LEVEL = 0;
299 | GCC_PREPROCESSOR_DEFINITIONS = (
300 | "DEBUG=1",
301 | "$(inherited)",
302 | );
303 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
304 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
305 | GCC_WARN_UNDECLARED_SELECTOR = YES;
306 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
307 | GCC_WARN_UNUSED_FUNCTION = YES;
308 | GCC_WARN_UNUSED_VARIABLE = YES;
309 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
310 | MTL_ENABLE_DEBUG_INFO = YES;
311 | ONLY_ACTIVE_ARCH = YES;
312 | SDKROOT = iphoneos;
313 | TARGETED_DEVICE_FAMILY = "1,2";
314 | };
315 | name = Debug;
316 | };
317 | 97C147041CF9000F007C117D /* Release */ = {
318 | isa = XCBuildConfiguration;
319 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
320 | buildSettings = {
321 | ALWAYS_SEARCH_USER_PATHS = NO;
322 | CLANG_ANALYZER_NONNULL = YES;
323 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
324 | CLANG_CXX_LIBRARY = "libc++";
325 | CLANG_ENABLE_MODULES = YES;
326 | CLANG_ENABLE_OBJC_ARC = YES;
327 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
328 | CLANG_WARN_BOOL_CONVERSION = YES;
329 | CLANG_WARN_COMMA = YES;
330 | CLANG_WARN_CONSTANT_CONVERSION = YES;
331 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
332 | CLANG_WARN_EMPTY_BODY = YES;
333 | CLANG_WARN_ENUM_CONVERSION = YES;
334 | CLANG_WARN_INFINITE_RECURSION = YES;
335 | CLANG_WARN_INT_CONVERSION = YES;
336 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
337 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
338 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
339 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
340 | CLANG_WARN_STRICT_PROTOTYPES = YES;
341 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
342 | CLANG_WARN_UNREACHABLE_CODE = YES;
343 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
344 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
345 | COPY_PHASE_STRIP = NO;
346 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
347 | ENABLE_NS_ASSERTIONS = NO;
348 | ENABLE_STRICT_OBJC_MSGSEND = YES;
349 | GCC_C_LANGUAGE_STANDARD = gnu99;
350 | GCC_NO_COMMON_BLOCKS = YES;
351 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
352 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
353 | GCC_WARN_UNDECLARED_SELECTOR = YES;
354 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
355 | GCC_WARN_UNUSED_FUNCTION = YES;
356 | GCC_WARN_UNUSED_VARIABLE = YES;
357 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
358 | MTL_ENABLE_DEBUG_INFO = NO;
359 | SDKROOT = iphoneos;
360 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
361 | TARGETED_DEVICE_FAMILY = "1,2";
362 | VALIDATE_PRODUCT = YES;
363 | };
364 | name = Release;
365 | };
366 | 97C147061CF9000F007C117D /* Debug */ = {
367 | isa = XCBuildConfiguration;
368 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
369 | buildSettings = {
370 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
371 | CLANG_ENABLE_MODULES = YES;
372 | CURRENT_PROJECT_VERSION = 1;
373 | DEVELOPMENT_TEAM = SYLT36L949;
374 | ENABLE_BITCODE = NO;
375 | FRAMEWORK_SEARCH_PATHS = (
376 | "$(inherited)",
377 | "$(PROJECT_DIR)/Flutter",
378 | );
379 | INFOPLIST_FILE = Runner/Info.plist;
380 | IPHONEOS_DEPLOYMENT_TARGET = 11.0;
381 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
382 | LIBRARY_SEARCH_PATHS = (
383 | "$(inherited)",
384 | "$(PROJECT_DIR)/Flutter",
385 | );
386 | PRODUCT_BUNDLE_IDENTIFIER = com.successive.adhoc.flutterchat;
387 | PRODUCT_NAME = "$(TARGET_NAME)";
388 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
389 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
390 | SWIFT_SWIFT3_OBJC_INFERENCE = On;
391 | SWIFT_VERSION = 4.0;
392 | VERSIONING_SYSTEM = "apple-generic";
393 | };
394 | name = Debug;
395 | };
396 | 97C147071CF9000F007C117D /* Release */ = {
397 | isa = XCBuildConfiguration;
398 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
399 | buildSettings = {
400 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
401 | CLANG_ENABLE_MODULES = YES;
402 | CURRENT_PROJECT_VERSION = 1;
403 | DEVELOPMENT_TEAM = SYLT36L949;
404 | ENABLE_BITCODE = NO;
405 | FRAMEWORK_SEARCH_PATHS = (
406 | "$(inherited)",
407 | "$(PROJECT_DIR)/Flutter",
408 | );
409 | INFOPLIST_FILE = Runner/Info.plist;
410 | IPHONEOS_DEPLOYMENT_TARGET = 11.0;
411 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
412 | LIBRARY_SEARCH_PATHS = (
413 | "$(inherited)",
414 | "$(PROJECT_DIR)/Flutter",
415 | );
416 | PRODUCT_BUNDLE_IDENTIFIER = com.successive.adhoc.flutterchat;
417 | PRODUCT_NAME = "$(TARGET_NAME)";
418 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
419 | SWIFT_SWIFT3_OBJC_INFERENCE = On;
420 | SWIFT_VERSION = 4.0;
421 | VERSIONING_SYSTEM = "apple-generic";
422 | };
423 | name = Release;
424 | };
425 | /* End XCBuildConfiguration section */
426 |
427 | /* Begin XCConfigurationList section */
428 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
429 | isa = XCConfigurationList;
430 | buildConfigurations = (
431 | 97C147031CF9000F007C117D /* Debug */,
432 | 97C147041CF9000F007C117D /* Release */,
433 | );
434 | defaultConfigurationIsVisible = 0;
435 | defaultConfigurationName = Release;
436 | };
437 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
438 | isa = XCConfigurationList;
439 | buildConfigurations = (
440 | 97C147061CF9000F007C117D /* Debug */,
441 | 97C147071CF9000F007C117D /* Release */,
442 | );
443 | defaultConfigurationIsVisible = 0;
444 | defaultConfigurationName = Release;
445 | };
446 | /* End XCConfigurationList section */
447 | };
448 | rootObject = 97C146E61CF9000F007C117D /* Project object */;
449 | }
450 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
31 |
32 |
33 |
34 |
40 |
41 |
42 |
43 |
44 |
45 |
56 |
58 |
64 |
65 |
66 |
67 |
68 |
69 |
75 |
77 |
83 |
84 |
85 |
86 |
88 |
89 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | BuildSystemType
6 | Original
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-App-20x20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-App-20x20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-App-29x29@1x.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-App-29x29@2x.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-App-29x29@3x.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-App-40x40@2x.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-App-40x40@3x.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-App-60x60@2x.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "60x60",
53 | "idiom" : "iphone",
54 | "filename" : "Icon-App-60x60@3x.png",
55 | "scale" : "3x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "Icon-App-20x20@1x.png",
61 | "scale" : "1x"
62 | },
63 | {
64 | "size" : "20x20",
65 | "idiom" : "ipad",
66 | "filename" : "Icon-App-20x20@2x.png",
67 | "scale" : "2x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "Icon-App-29x29@1x.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "29x29",
77 | "idiom" : "ipad",
78 | "filename" : "Icon-App-29x29@2x.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "Icon-App-40x40@1x.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "40x40",
89 | "idiom" : "ipad",
90 | "filename" : "Icon-App-40x40@2x.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "Icon-App-76x76@1x.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "76x76",
101 | "idiom" : "ipad",
102 | "filename" : "Icon-App-76x76@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "83.5x83.5",
107 | "idiom" : "ipad",
108 | "filename" : "Icon-App-83.5x83.5@2x.png",
109 | "scale" : "2x"
110 | },
111 | {
112 | "size" : "1024x1024",
113 | "idiom" : "ios-marketing",
114 | "filename" : "Icon-App-1024x1024@1x.png",
115 | "scale" : "1x"
116 | }
117 | ],
118 | "info" : {
119 | "version" : 1,
120 | "author" : "xcode"
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/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/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/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/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/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/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/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/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/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/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/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/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/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/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/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/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/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/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/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/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchImage.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchImage@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "LaunchImage@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/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.
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | flutter_charts_demo
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiresFullScreen
30 |
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 |
35 | UISupportedInterfaceOrientations~ipad
36 |
37 | UIInterfaceOrientationPortrait
38 | UIInterfaceOrientationPortraitUpsideDown
39 | UIInterfaceOrientationLandscapeLeft
40 | UIInterfaceOrientationLandscapeRight
41 |
42 | UIViewControllerBasedStatusBarAppearance
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
--------------------------------------------------------------------------------
/lib/Constant/Constant.dart:
--------------------------------------------------------------------------------
1 | String
2 |
3 | ANIMATED_SPLASH = '/SplashScreen',
4 | HOME = '/Home';
5 |
6 |
--------------------------------------------------------------------------------
/lib/Screens/SplashScreen.dart:
--------------------------------------------------------------------------------
1 | import 'dart:async';
2 |
3 | import 'package:flutter_charts_deep/Constant/Constant.dart';
4 | import 'package:flutter/cupertino.dart';
5 | import 'package:flutter/material.dart';
6 |
7 | class SplashScreen extends StatefulWidget {
8 | @override
9 | SplashScreenState createState() => new SplashScreenState();
10 | }
11 |
12 | class SplashScreenState extends State
13 | with SingleTickerProviderStateMixin {
14 | var _visible = true;
15 |
16 | AnimationController animationController;
17 | Animation animation;
18 |
19 | startTime() async {
20 | var _duration = new Duration(seconds: 3);
21 | return new Timer(_duration, navigationPage);
22 | }
23 |
24 | void navigationPage() {
25 | Navigator.of(context).pushReplacementNamed(HOME);
26 | }
27 |
28 | @override
29 | void initState() {
30 | super.initState();
31 | animationController = new AnimationController(
32 | vsync: this, duration: new Duration(seconds: 2));
33 | animation =
34 | new CurvedAnimation(parent: animationController, curve: Curves.easeOut);
35 |
36 | animation.addListener(() => this.setState(() {}));
37 | animationController.forward();
38 |
39 | setState(() {
40 | _visible = !_visible;
41 | });
42 | startTime();
43 | }
44 |
45 | @override
46 | Widget build(BuildContext context) {
47 | return Scaffold(
48 | body: Stack(
49 | fit: StackFit.expand,
50 | children: [
51 | new Column(
52 | mainAxisAlignment: MainAxisAlignment.end,
53 | mainAxisSize: MainAxisSize.min,
54 | children: [
55 | Padding(
56 | padding: EdgeInsets.only(bottom: 30.0),
57 | child: new Image.asset(
58 | 'assets/images/powered_by.png',
59 | height: 25.0,
60 | fit: BoxFit.scaleDown,
61 | ))
62 | ],
63 | ),
64 | new Column(
65 | mainAxisAlignment: MainAxisAlignment.center,
66 | children: [
67 | new Image.asset(
68 | 'assets/images/logo.png',
69 | width: animation.value * 250,
70 | height: animation.value * 250,
71 | ),
72 | ],
73 | ),
74 | ],
75 | ),
76 | );
77 | }
78 | }
79 |
--------------------------------------------------------------------------------
/lib/charts_screen/bar_chart.dart:
--------------------------------------------------------------------------------
1 | import 'package:bubble_tab_indicator/bubble_tab_indicator.dart';
2 | import 'package:flutter/material.dart';
3 | import 'package:flutter_charts_deep/charts_widgets/simple_bar_chart.dart';
4 | //import 'package:flutter_charts_deep/colored_container.dart';
5 | import 'package:flutter_charts_deep/weather_details_header.dart';
6 |
7 | Widget getBarChart(double statusBarHeight){
8 |
9 | return new Column(
10 | mainAxisAlignment: MainAxisAlignment.center,
11 | children: [
12 | new AspectRatio(
13 | aspectRatio: 100 / 70,
14 | child: WeatherDetailsHeader(statusBarHeight),
15 | ),
16 | new Expanded(child: TabBarControllerHome()),
17 | ],
18 | );
19 | }
20 |
21 | TabBarControllerHome() {
22 | return new DefaultTabController(
23 | length: 4,
24 | child: Scaffold(
25 | appBar: new PreferredSize(
26 | preferredSize: Size.fromHeight(kToolbarHeight),
27 | child: new TabBar(
28 | tabs: [
29 | Tab(
30 | text: "Day",
31 | ),
32 | Tab(
33 | text: "Week",
34 | ),
35 | Tab(
36 | text: "Month",
37 | ),
38 | Tab(
39 | text: "Year",
40 | ),
41 | ],
42 | labelColor: Colors.white,
43 | unselectedLabelColor: Colors.blue,
44 | indicatorSize: TabBarIndicatorSize.tab,
45 | indicator: BubbleTabIndicator(
46 | indicatorColor: Colors.blue,
47 | indicatorHeight: 25.0,
48 | tabBarIndicatorSize: TabBarIndicatorSize.tab),
49 | ),
50 | ),
51 | body: new TabBarView(children: [
52 | new Padding(
53 | padding: const EdgeInsets.all(8.0),
54 | child: new SizedBox(
55 | height: 250.0,
56 | child: new SimpleBarChart.withRandomData(),
57 | ),
58 | ),
59 | new Padding(
60 | padding: const EdgeInsets.all(8.0),
61 | child: new SizedBox(
62 | height: 250.0,
63 | child: new SimpleBarChart.withRandomData(),
64 | ),
65 | ),
66 | new Padding(
67 | padding: const EdgeInsets.all(8.0),
68 | child: new SizedBox(
69 | height: 250.0,
70 | child: new SimpleBarChart.withRandomData(),
71 | ),
72 | ),
73 | new Padding(
74 | padding: const EdgeInsets.all(8.0),
75 | child: new SizedBox(
76 | height: 250.0,
77 | child: new SimpleBarChart.withRandomData(),
78 | ),
79 | ),
80 | ]),
81 | ));
82 | }
83 |
--------------------------------------------------------------------------------
/lib/charts_screen/line_chart.dart:
--------------------------------------------------------------------------------
1 | import 'package:bubble_tab_indicator/bubble_tab_indicator.dart';
2 | import 'package:flutter/material.dart';
3 | import 'package:flutter_charts_deep/charts_widgets/simple_line_chart.dart';
4 | //import 'package:flutter_charts_deep/colored_container.dart';
5 | import 'package:flutter_charts_deep/weather_details_header.dart';
6 |
7 | Widget getLineChart(double statusBarHeight){
8 |
9 | return new Column(
10 | mainAxisAlignment: MainAxisAlignment.center,
11 | children: [
12 | new AspectRatio(
13 | aspectRatio: 100 / 70,
14 | child: WeatherDetailsHeader(statusBarHeight),
15 | ),
16 | new Expanded(child: TabBarControllerHome()),
17 | ],
18 | );
19 | }
20 |
21 | TabBarControllerHome() {
22 | return new DefaultTabController(
23 | length: 4,
24 | child: Scaffold(
25 | appBar: new PreferredSize(
26 | preferredSize: Size.fromHeight(kToolbarHeight),
27 | child: new TabBar(
28 | tabs: [
29 | Tab(
30 | text: "Day",
31 | ),
32 | Tab(
33 | text: "Week",
34 | ),
35 | Tab(
36 | text: "Month",
37 | ),
38 | Tab(
39 | text: "Year",
40 | ),
41 | ],
42 | labelColor: Colors.white,
43 | unselectedLabelColor: Colors.blue,
44 | indicatorSize: TabBarIndicatorSize.tab,
45 | indicator: BubbleTabIndicator(
46 | indicatorColor: Colors.blue,
47 | indicatorHeight: 25.0,
48 | tabBarIndicatorSize: TabBarIndicatorSize.tab),
49 | ),
50 | ),
51 | body: new TabBarView(children: [
52 | new Padding(
53 | padding: const EdgeInsets.all(8.0),
54 | child: new SizedBox(
55 | height: 250.0,
56 | child: new SimpleLineChart.withRandomData(),
57 | ),
58 | ),
59 | new Padding(
60 | padding: const EdgeInsets.all(8.0),
61 | child: new SizedBox(
62 | height: 250.0,
63 | child: new SimpleLineChart.withRandomData(),
64 | ),
65 | ),
66 | new Padding(
67 | padding: const EdgeInsets.all(8.0),
68 | child: new SizedBox(
69 | height: 250.0,
70 | child: new SimpleLineChart.withRandomData(),
71 | ),
72 | ),
73 | new Padding(
74 | padding: const EdgeInsets.all(8.0),
75 | child: new SizedBox(
76 | height: 250.0,
77 | child: new SimpleLineChart.withRandomData(),
78 | ),
79 | ),
80 | ]),
81 | ));
82 | }
83 |
--------------------------------------------------------------------------------
/lib/charts_screen/pie_chart.dart:
--------------------------------------------------------------------------------
1 | import 'package:bubble_tab_indicator/bubble_tab_indicator.dart';
2 | import 'package:flutter/material.dart';
3 | import 'package:flutter_charts_deep/charts_widgets/simple_pie_chart.dart';
4 | //import 'package:flutter_charts_deep/colored_container.dart';
5 | import 'package:flutter_charts_deep/weather_details_header.dart';
6 |
7 | Widget getPieChart(double statusBarHeight){
8 |
9 | return new Column(
10 | mainAxisAlignment: MainAxisAlignment.center,
11 | children: [
12 | new AspectRatio(
13 | aspectRatio: 100 / 70,
14 | child: WeatherDetailsHeader(statusBarHeight),
15 | ),
16 | new Expanded(child: TabBarControllerHome()),
17 | ],
18 | );
19 | }
20 |
21 | TabBarControllerHome() {
22 | return new DefaultTabController(
23 | length: 4,
24 | child: Scaffold(
25 | appBar: new PreferredSize(
26 | preferredSize: Size.fromHeight(kToolbarHeight),
27 | child: new TabBar(
28 | tabs: [
29 | Tab(
30 | text: "Day",
31 | ),
32 | Tab(
33 | text: "Week",
34 | ),
35 | Tab(
36 | text: "Month",
37 | ),
38 | Tab(
39 | text: "Year",
40 | )
41 | ],
42 | labelColor: Colors.white,
43 | unselectedLabelColor: Colors.blue,
44 | indicatorSize: TabBarIndicatorSize.tab,
45 | indicator: BubbleTabIndicator(
46 | indicatorColor: Colors.blue,
47 | indicatorHeight: 25.0,
48 | tabBarIndicatorSize: TabBarIndicatorSize.tab),
49 | ),
50 | ),
51 | body: new TabBarView(children: [
52 | new Padding(
53 | padding: const EdgeInsets.all(8.0),
54 | child: new SizedBox(
55 | height: 250.0,
56 | child: new SimplePieChart.withRandomData(),
57 | ),
58 | ),
59 | new Padding(
60 | padding: const EdgeInsets.all(8.0),
61 | child: new SizedBox(
62 | height: 250.0,
63 | child: new SimplePieChart.withRandomData(),
64 | ),
65 | ),
66 | new Padding(
67 | padding: const EdgeInsets.all(8.0),
68 | child: new SizedBox(
69 | height: 250.0,
70 | child: new SimplePieChart.withRandomData(),
71 | ),
72 | ),
73 | new Padding(
74 | padding: const EdgeInsets.all(8.0),
75 | child: new SizedBox(
76 | height: 250.0,
77 | child: new SimplePieChart.withRandomData(),
78 | ),
79 | ),
80 | ]),
81 | ));
82 | }
83 |
--------------------------------------------------------------------------------
/lib/charts_widgets/simple_bar_chart.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2018 the Charts project authors. Please see the AUTHORS file
2 | // for details.
3 | //
4 | // Licensed under the Apache License, Version 2.0 (the "License");
5 | // you may not use this file except in compliance with the License.
6 | // You may obtain a copy of the License at
7 | //
8 | // http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // Unless required by applicable law or agreed to in writing, software
11 | // distributed under the License is distributed on an "AS IS" BASIS,
12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | // See the License for the specific language governing permissions and
14 | // limitations under the License.
15 |
16 | /// Bar chart example
17 | // EXCLUDE_FROM_GALLERY_DOCS_START
18 | import 'dart:math';
19 | // EXCLUDE_FROM_GALLERY_DOCS_END
20 | import 'package:charts_flutter/flutter.dart' as charts;
21 | import 'package:flutter/material.dart';
22 |
23 | class SimpleBarChart extends StatelessWidget {
24 | final List seriesList;
25 | final bool animate;
26 |
27 | SimpleBarChart(this.seriesList, {this.animate});
28 |
29 | /// Creates a [BarChart] with sample data and no transition.
30 | factory SimpleBarChart.withSampleData() {
31 | return new SimpleBarChart(
32 | _createSampleData(),
33 | // Disable animations for image tests.
34 | animate: false,
35 | );
36 | }
37 |
38 | // EXCLUDE_FROM_GALLERY_DOCS_START
39 | // This section is excluded from being copied to the gallery.
40 | // It is used for creating random series data to demonstrate animation in
41 | // the example app only.
42 | factory SimpleBarChart.withRandomData() {
43 | return new SimpleBarChart(_createRandomData());
44 | }
45 |
46 | /// Create random data.
47 | static List> _createRandomData() {
48 | final random = new Random();
49 |
50 | final data = [
51 | new OrdinalSales('2014', random.nextInt(100)),
52 | new OrdinalSales('2015', random.nextInt(100)),
53 | new OrdinalSales('2016', random.nextInt(100)),
54 | new OrdinalSales('2017', random.nextInt(100)),
55 | ];
56 |
57 | return [
58 | new charts.Series(
59 | id: 'Sales',
60 | colorFn: (_, __) => charts.MaterialPalette.blue.shadeDefault,
61 | domainFn: (OrdinalSales sales, _) => sales.year,
62 | measureFn: (OrdinalSales sales, _) => sales.sales,
63 | data: data,
64 | )
65 | ];
66 | }
67 | // EXCLUDE_FROM_GALLERY_DOCS_END
68 |
69 | @override
70 | Widget build(BuildContext context) {
71 | return new charts.BarChart(
72 | seriesList,
73 | animate: animate,
74 | );
75 | }
76 |
77 | /// Create one series with sample hard coded data.
78 | static List> _createSampleData() {
79 | final data = [
80 | new OrdinalSales('2014', 5),
81 | new OrdinalSales('2015', 25),
82 | new OrdinalSales('2016', 100),
83 | new OrdinalSales('2017', 75),
84 | ];
85 |
86 | return [
87 | new charts.Series(
88 | id: 'Sales',
89 | colorFn: (_, __) => charts.MaterialPalette.blue.shadeDefault,
90 | domainFn: (OrdinalSales sales, _) => sales.year,
91 | measureFn: (OrdinalSales sales, _) => sales.sales,
92 | data: data,
93 | )
94 | ];
95 | }
96 | }
97 |
98 | /// Sample ordinal data type.
99 | class OrdinalSales {
100 | final String year;
101 | final int sales;
102 |
103 | OrdinalSales(this.year, this.sales);
104 | }
105 |
--------------------------------------------------------------------------------
/lib/charts_widgets/simple_line_chart.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2018 the Charts project authors. Please see the AUTHORS file
2 | // for details.
3 | //
4 | // Licensed under the Apache License, Version 2.0 (the "License");
5 | // you may not use this file except in compliance with the License.
6 | // You may obtain a copy of the License at
7 | //
8 | // http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // Unless required by applicable law or agreed to in writing, software
11 | // distributed under the License is distributed on an "AS IS" BASIS,
12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | // See the License for the specific language governing permissions and
14 | // limitations under the License.
15 |
16 | /// Example of a simple line chart.
17 | // EXCLUDE_FROM_GALLERY_DOCS_START
18 | import 'dart:math';
19 | // EXCLUDE_FROM_GALLERY_DOCS_END
20 | import 'package:charts_flutter/flutter.dart' as charts;
21 | import 'package:flutter/material.dart';
22 |
23 | class SimpleLineChart extends StatelessWidget {
24 | final List seriesList;
25 | final bool animate;
26 |
27 | SimpleLineChart(this.seriesList, {this.animate});
28 |
29 | /// Creates a [LineChart] with sample data and no transition.
30 | factory SimpleLineChart.withSampleData() {
31 | return new SimpleLineChart(
32 | _createSampleData(),
33 | // Disable animations for image tests.
34 | animate: true,
35 | );
36 | }
37 |
38 | // EXCLUDE_FROM_GALLERY_DOCS_START
39 | // This section is excluded from being copied to the gallery.
40 | // It is used for creating random series data to demonstrate animation in
41 | // the example app only.
42 | factory SimpleLineChart.withRandomData() {
43 | return new SimpleLineChart(_createRandomData());
44 | }
45 |
46 | /// Create random data.
47 | static List> _createRandomData() {
48 | final random = new Random();
49 |
50 | final data = [
51 | new LinearSales(0, random.nextInt(100)),
52 | new LinearSales(1, random.nextInt(100)),
53 | new LinearSales(2, random.nextInt(100)),
54 | new LinearSales(3, random.nextInt(100)),
55 | ];
56 | /*
57 | final data = [
58 | new LinearSales(0, random.nextInt(100)),
59 | new LinearSales(1, random.nextInt(100)),
60 | new LinearSales(2, random.nextInt(100)),
61 | new LinearSales(3, random.nextInt(100)),
62 | ];
63 | */
64 |
65 | return [
66 | new charts.Series(
67 | id: 'Sales',
68 | colorFn: (_, __) => charts.MaterialPalette.blue.shadeDefault,
69 | domainFn: (LinearSales sales, _) => sales.year,
70 | measureFn: (LinearSales sales, _) => sales.sales,
71 | data: data,
72 | displayName: "Line Chart",
73 |
74 |
75 | )
76 | ];
77 | }
78 | // EXCLUDE_FROM_GALLERY_DOCS_END
79 |
80 | @override
81 | Widget build(BuildContext context) {
82 | return new charts.LineChart(seriesList, animate: animate);
83 | }
84 |
85 | /// Create one series with sample hard coded data.
86 | static List> _createSampleData() {
87 | final data = [
88 | new LinearSales(0, 5),
89 | new LinearSales(1, 25),
90 | new LinearSales(2, 100),
91 | new LinearSales(3, 75),
92 | ];
93 |
94 | return [
95 | new charts.Series(
96 | id: 'Sales',
97 | colorFn: (_, __) => charts.MaterialPalette.blue.shadeDefault,
98 | domainFn: (LinearSales sales, _) => sales.year,
99 | measureFn: (LinearSales sales, _) => sales.sales,
100 | data: data,
101 | )
102 | ];
103 | }
104 | }
105 |
106 | /// Sample linear data type.
107 | class LinearSales {
108 | final int year;
109 | final int sales;
110 |
111 | LinearSales(this.year, this.sales);
112 | }
113 |
--------------------------------------------------------------------------------
/lib/charts_widgets/simple_pie_chart.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2018 the Charts project authors. Please see the AUTHORS file
2 | // for details.
3 | //
4 | // Licensed under the Apache License, Version 2.0 (the "License");
5 | // you may not use this file except in compliance with the License.
6 | // You may obtain a copy of the License at
7 | //
8 | // http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // Unless required by applicable law or agreed to in writing, software
11 | // distributed under the License is distributed on an "AS IS" BASIS,
12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | // See the License for the specific language governing permissions and
14 | // limitations under the License.
15 |
16 | /// Simple pie chart example.
17 | // EXCLUDE_FROM_GALLERY_DOCS_START
18 | import 'dart:math';
19 | // EXCLUDE_FROM_GALLERY_DOCS_END
20 | import 'package:charts_flutter/flutter.dart' as charts;
21 | import 'package:flutter/material.dart';
22 |
23 | class SimplePieChart extends StatelessWidget {
24 | final List seriesList;
25 | final bool animate;
26 |
27 | SimplePieChart(this.seriesList, {this.animate});
28 |
29 | /// Creates a [PieChart] with sample data and no transition.
30 | factory SimplePieChart.withSampleData() {
31 | return new SimplePieChart(
32 | _createSampleData(),
33 | // Disable animations for image tests.
34 | animate: false,
35 | );
36 | }
37 |
38 | // EXCLUDE_FROM_GALLERY_DOCS_START
39 | // This section is excluded from being copied to the gallery.
40 | // It is used for creating random series data to demonstrate animation in
41 | // the example app only.
42 | factory SimplePieChart.withRandomData() {
43 | return new SimplePieChart(_createRandomData());
44 | }
45 |
46 | /// Create random data.
47 | static List> _createRandomData() {
48 | final random = new Random();
49 |
50 | final data = [
51 | new LinearSales(0, random.nextInt(100)),
52 | new LinearSales(1, random.nextInt(100)),
53 | new LinearSales(2, random.nextInt(100)),
54 | new LinearSales(3, random.nextInt(100)),
55 | ];
56 |
57 | return [
58 | new charts.Series(
59 | id: 'Sales',
60 | domainFn: (LinearSales sales, _) => sales.year,
61 | measureFn: (LinearSales sales, _) => sales.sales,
62 | data: data,
63 | )
64 | ];
65 | }
66 | // EXCLUDE_FROM_GALLERY_DOCS_END
67 |
68 | @override
69 | Widget build(BuildContext context) {
70 | return new charts.PieChart(seriesList, animate: animate);
71 | }
72 |
73 | /// Create one series with sample hard coded data.
74 | static List> _createSampleData() {
75 | final data = [
76 | new LinearSales(0, 100),
77 | new LinearSales(1, 75),
78 | new LinearSales(2, 25),
79 | new LinearSales(3, 5),
80 | ];
81 |
82 | return [
83 | new charts.Series(
84 | id: 'Sales',
85 | domainFn: (LinearSales sales, _) => sales.year,
86 | measureFn: (LinearSales sales, _) => sales.sales,
87 | data: data,
88 | )
89 | ];
90 | }
91 | }
92 |
93 | /// Sample linear data type.
94 | class LinearSales {
95 | final int year;
96 | final int sales;
97 |
98 | LinearSales(this.year, this.sales);
99 | }
100 |
--------------------------------------------------------------------------------
/lib/colored_container.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class ColoredContainer extends StatelessWidget {
4 | Color _color;
5 |
6 | ColoredContainer(this._color);
7 |
8 | @override
9 | Widget build(BuildContext context) {
10 | return Container(
11 | color: _color,
12 | );
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/lib/home_widget.dart:
--------------------------------------------------------------------------------
1 | import 'package:charts_common/common.dart';
2 | import 'package:flutter/material.dart';
3 | import 'package:flutter_charts_deep/charts_screen/line_chart.dart';
4 | import 'package:flutter_charts_deep/charts_screen/bar_chart.dart';
5 | import 'package:flutter_charts_deep/charts_screen/pie_chart.dart';
6 |
7 | import 'package:bubble_tab_indicator/bubble_tab_indicator.dart';
8 | import 'package:flutter_charts_deep/charts_widgets/simple_line_chart.dart';
9 | import 'package:flutter_charts_deep/colored_container.dart';
10 | //import 'charts/line_chart.dart';
11 | //import 'charts/bar_chart.dart';
12 | //import 'charts/pie_chart.dart';
13 | //import 'colored_container.dart';
14 |
15 | class Home extends StatefulWidget {
16 | @override
17 | _HomeState createState() => _HomeState();
18 | }
19 |
20 | class _HomeState extends State {
21 | int _currentIndex = 0;
22 |
23 |
24 | @override
25 | Widget build(BuildContext context) {
26 |
27 |
28 | // final double statusBarHeight = MediaQuery.of(context).padding.top;
29 | final double statusBarHeight = 24.00;
30 |
31 | List _children = [
32 | getLineChart(statusBarHeight),
33 | getBarChart(statusBarHeight),
34 | getPieChart(statusBarHeight)
35 | ];
36 |
37 | return new MaterialApp(
38 | debugShowCheckedModeBanner: false,
39 | title: "Flutter Dev Chart Demo",
40 | theme: new ThemeData(
41 | primarySwatch: Colors.blue,
42 | ),
43 | home: new Scaffold(
44 | // appBar: new AppBar(title: new Text("Chart Demo with Timer")),
45 | body: _children[_currentIndex],
46 | bottomNavigationBar: new BottomNavigationBar(
47 | onTap: _onTapTab,
48 | currentIndex: _currentIndex,
49 | items: [
50 | BottomNavigationBarItem(
51 | icon: new Image.asset(
52 | "assets/images/line.png",
53 | height: 32.0,
54 | width: 32.0,
55 | ),
56 | title: new Text("Line Chart"),
57 | ),
58 | BottomNavigationBarItem(
59 | icon: new Image.asset(
60 | "assets/images/bar.png",
61 | height: 32.0,
62 | width: 32.0,
63 | ),
64 | title: new Text("Bar Chart")),
65 | BottomNavigationBarItem(
66 | icon: new Image.asset(
67 | "assets/images/pie.png",
68 | height: 32.0,
69 | width: 32.0,
70 | ),
71 | title: new Text("Pie Chart")),
72 | ]),
73 | ),
74 | );
75 | }
76 |
77 | void _onTapTab(int value) {
78 | setState(() {
79 | print(value);
80 | _currentIndex = value;
81 | });
82 | }
83 | }
84 |
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_charts_deep/home_widget.dart';
3 | import 'colored_container.dart';
4 | import 'package:flutter_charts_deep/Constant/Constant.dart';
5 | import 'package:flutter_charts_deep/Screens/SplashScreen.dart';
6 |
7 | // void main() => runApp(new MyApp());
8 |
9 | // class MyApp extends StatelessWidget {
10 | // @override
11 | // Widget build(BuildContext context) {
12 | // return new Home();
13 |
14 | // }
15 | // }
16 | main() {
17 |
18 | runApp(new MaterialApp(
19 | debugShowCheckedModeBanner: false,
20 | theme: new ThemeData(
21 | accentColor: Colors.black,
22 | primaryColor: Colors.black,
23 | primaryColorDark: Colors.black
24 |
25 | ),
26 | home: new SplashScreen(),
27 | routes: {
28 | HOME: (BuildContext context) => new Home(),
29 | // ANIMATED_SPLASH: (BuildContext context) => new SplashScreen(),
30 | },
31 | ));
32 | }
--------------------------------------------------------------------------------
/lib/model/Condition.dart:
--------------------------------------------------------------------------------
1 |
2 | class Condition {
3 | int id;
4 | String description;
5 |
6 | Condition(this.id, this.description);
7 |
8 | String getAssetString() {
9 | if (id >= 200 && id <= 299)
10 | return "assets/img/d7s.png";
11 | else if (id >= 300 && id <= 399)
12 | return "assets/img/d6s.png";
13 | else if (id >= 500 && id <= 599)
14 | return "assets/img/d5s.png";
15 | else if (id >= 600 && id <= 699)
16 | return "assets/img/d8s.png";
17 | else if (id >= 700 && id <= 799)
18 | return "assets/img/d9s.png";
19 | else if (id >= 300 && id <= 399)
20 | return "assets/img/d6s.png";
21 | else if (id == 800)
22 | return "assets/img/d1s.png";
23 | else if (id == 801)
24 | return "assets/img/d2s.png";
25 | else if (id == 802)
26 | return "assets/img/d3s.png";
27 | else if (id == 803 || id == 804)
28 | return "assets/img/d4s.png";
29 |
30 | print("Unknown condition ${id}");
31 | return "assets/img/n1s.png";
32 | }
33 | }
--------------------------------------------------------------------------------
/lib/model/ForecastData.dart:
--------------------------------------------------------------------------------
1 |
2 | import 'dart:convert';
3 |
4 | import 'package:flutter_charts_deep/model/Condition.dart';
5 |
6 |
7 | class ForecastData {
8 |
9 | List forecastList;
10 |
11 | ForecastData(this.forecastList);
12 |
13 | static ForecastData deserialize(String json) {
14 | JsonDecoder decoder = new JsonDecoder();
15 | var map = decoder.convert(json);
16 |
17 | var list = map["list"];
18 | List forecast = [];
19 |
20 | for (var weatherMap in list) {
21 | forecast.add(ForecastWeather._deserialize(weatherMap));
22 | }
23 |
24 | return new ForecastData(forecast);
25 | }
26 |
27 | }
28 |
29 | class ForecastWeather {
30 | String temperature;
31 | Condition condition;
32 | DateTime dateTime;
33 |
34 | double pressure;
35 | double humidity;
36 | double wind;
37 | //Wind, rain, etc.
38 |
39 | ForecastWeather(this.temperature, this.condition, this.dateTime, this.pressure, this.humidity, this.wind);
40 |
41 | static ForecastWeather _deserialize(Map map) {
42 | String description = map["weather"][0]["description"];
43 | int conditionId = map["weather"][0]["id"];
44 | Condition condition = new Condition(conditionId, description);
45 |
46 | double temperature = map["main"]["temp"].toDouble();
47 | double humidity = map["main"]["humidity"].toDouble();
48 | double pressure = map["main"]["pressure"].toDouble();
49 | double wind = map["wind"]["speed"].toDouble();
50 | int epochTimeMs = map["dt"]*1000;
51 | DateTime dateTime = new DateTime.fromMillisecondsSinceEpoch(epochTimeMs);
52 |
53 | return new ForecastWeather(temperature.toString(), condition, dateTime, pressure, humidity, wind);
54 | }
55 |
56 | }
57 |
--------------------------------------------------------------------------------
/lib/model/WeatherData.dart:
--------------------------------------------------------------------------------
1 |
2 | import 'dart:convert';
3 |
4 | import 'package:flutter_charts_deep/model/Condition.dart';
5 |
6 | class WeatherData {
7 | String temperature;
8 | Condition condition;
9 |
10 | WeatherData(this.temperature, this.condition);
11 |
12 | static WeatherData deserialize(String json) {
13 | JsonDecoder decoder = new JsonDecoder();
14 | var map = decoder.convert(json);
15 |
16 | String description = map["weather"][0]["description"];
17 | int id = map["weather"][0]["id"];
18 | Condition condition = new Condition(id, description);
19 |
20 | double temperature = map["main"]["temp"].toDouble();
21 |
22 | return new WeatherData(temperature.toString(), condition);
23 | }
24 |
25 | }
26 |
27 |
--------------------------------------------------------------------------------
/lib/network/ApiClient.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter_charts_deep/model/ForecastData.dart';
2 | import 'package:flutter_charts_deep/model/WeatherData.dart';
3 | import 'package:http/http.dart' as http;
4 |
5 | import 'dart:async';
6 |
7 | class ApiClient {
8 | static ApiClient _instance;
9 |
10 | static ApiClient getInstance() {
11 | if (_instance == null) {
12 | _instance = new ApiClient();
13 | }
14 | return _instance;
15 | }
16 |
17 |
18 | Future getWeather() async {
19 | http.Response response = await http.get(
20 | Uri.encodeFull(Endpoints.WEATHER),
21 | headers: {
22 | "Accept": "application/json"
23 | }
24 | );
25 |
26 | return WeatherData.deserialize(response.body);
27 | }
28 |
29 | Future getForecast() async {
30 | http.Response response = await http.get(
31 | Uri.encodeFull(Endpoints.FORECAST),
32 | headers: {
33 | "Accept": "application/json"
34 | }
35 | );
36 |
37 | return ForecastData.deserialize(response.body);
38 | }
39 |
40 | }
41 |
42 | class Endpoints {
43 | static const _ENDPOINT = "http://api.openweathermap.org/data/2.5";
44 | static const WEATHER = _ENDPOINT + "/weather?lat=43.509645&lon=16.445783&APPID=86332c13b42bab21bee1a8eff79280d3&units=metric";
45 | static const FORECAST = _ENDPOINT + "/forecast?lat=43.509645&lon=16.445783&APPID=86332c13b42bab21bee1a8eff79280d3&units=metric";
46 | }
47 | //api key : 86332c13b42bab21bee1a8eff79280d3 Deep
--------------------------------------------------------------------------------
/lib/res/Res.dart:
--------------------------------------------------------------------------------
1 | import 'dart:ui';
2 |
3 | /*
4 | App specific color suite
5 | */
6 | class $Colors {
7 | static const Color empress = const Color(0xFF756C6F);
8 | static const Color ghostWhite = const Color(0xFFF6F6F7);
9 | static const Color quartz = const Color(0xFFE1E0E8);
10 | static const Color blueHaze = const Color(0xFFB3B2C2);
11 | static const Color lavender = const Color(0xFFCBCAD6);
12 | static const Color blueParis = const Color(0xDD595877);
13 | static const Color textColorWheatherHeader = const Color(0xFFFFFFFF);
14 | }
15 |
16 | /*
17 | Image paths
18 | */
19 | class $Asset {
20 | /*static const String dotFull = "assets/img/dotBlueishFull.png";
21 | static const String dotEmpty = "assets/img/dotEmpty.png";
22 | static const String backgroundParis = "assets/img/parisback.png";
23 | static const String pressure = "assets/img/pres.png";
24 | static const String humidity = "assets/img/water.png";
25 | static const String wind = "assets/img/wind.png";*/
26 | }
--------------------------------------------------------------------------------
/lib/weather_details_header.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_charts_deep/res/Res.dart';
3 | import 'colored_container.dart';
4 |
5 | Widget WeatherDetailsHeader(double statusBarHeight) {
6 | String _currentDate = "September 14, 3:33 PM";
7 |
8 | String _condition = "Clear Sky";
9 |
10 | String _roundedTemperature = "33°C";
11 |
12 | String _city = "NOIDA";
13 |
14 | return new Container(
15 | color: Colors.blue,
16 | child: new Center(
17 | child: new Column(
18 | mainAxisAlignment: MainAxisAlignment.spaceEvenly,
19 | children: [
20 | new Row(
21 | mainAxisAlignment: MainAxisAlignment.center,
22 | children: [
23 | new Text(
24 | _currentDate,
25 | style: new TextStyle(
26 | fontSize: 18.0,
27 | fontWeight: FontWeight.w700,
28 | color: $Colors.textColorWheatherHeader),
29 | ),
30 | ],
31 | ),
32 | new Center(
33 | child: new Row(
34 | mainAxisAlignment: MainAxisAlignment.spaceEvenly,
35 | children: [
36 | new Column(
37 | mainAxisAlignment: MainAxisAlignment.spaceEvenly,
38 | children: [
39 | new Text(
40 | _city,
41 | style: new TextStyle(
42 | fontSize: 21.0,
43 | fontWeight: FontWeight.w700,
44 | color: $Colors.textColorWheatherHeader),
45 | ),
46 | new Text(
47 | _condition,
48 | style: new TextStyle(
49 | fontSize: 18.0,
50 | color: $Colors.textColorWheatherHeader,
51 | ),
52 | ),
53 | new Text(_roundedTemperature,
54 | style: new TextStyle(
55 | fontSize: 45.0,
56 | color: $Colors.textColorWheatherHeader,
57 | fontFamily: "Roboto")),
58 | ],
59 | ),
60 | new Column(
61 | children: [
62 | new Image.asset('assets/images/sunny.png', width: 100.0, height: 100.0,)
63 | ],
64 | )
65 | ],
66 | ),
67 | )
68 | ],
69 | ),
70 | ),
71 | padding: new EdgeInsets.only(top: statusBarHeight),
72 | );
73 | }
74 |
75 | /*
76 | */
--------------------------------------------------------------------------------
/local.properties:
--------------------------------------------------------------------------------
1 | ## This file must *NOT* be checked into Version Control Systems,
2 | # as it contains information specific to your local configuration.
3 | #
4 | # Location of the SDK. This is only used by Gradle.
5 | # For customization when using a Version Control System, please read the
6 | # header note.
7 | #Thu Sep 06 11:49:51 IST 2018
8 | ndk.dir=C\:\\sdk\\android-ndk-r15c-windows-x86_64\\android-ndk-r15c
9 | sdk.dir=C\:\\sdk\\android-sdk
10 |
--------------------------------------------------------------------------------
/pubspec.lock:
--------------------------------------------------------------------------------
1 | # Generated by pub
2 | # See https://dart.dev/tools/pub/glossary#lockfile
3 | packages:
4 | archive:
5 | dependency: transitive
6 | description:
7 | name: archive
8 | url: "https://pub.dartlang.org"
9 | source: hosted
10 | version: "2.0.11"
11 | args:
12 | dependency: transitive
13 | description:
14 | name: args
15 | url: "https://pub.dartlang.org"
16 | source: hosted
17 | version: "1.5.2"
18 | async:
19 | dependency: transitive
20 | description:
21 | name: async
22 | url: "https://pub.dartlang.org"
23 | source: hosted
24 | version: "2.4.0"
25 | boolean_selector:
26 | dependency: transitive
27 | description:
28 | name: boolean_selector
29 | url: "https://pub.dartlang.org"
30 | source: hosted
31 | version: "1.0.5"
32 | bubble_tab_indicator:
33 | dependency: "direct main"
34 | description:
35 | name: bubble_tab_indicator
36 | url: "https://pub.dartlang.org"
37 | source: hosted
38 | version: "0.1.4"
39 | charcode:
40 | dependency: transitive
41 | description:
42 | name: charcode
43 | url: "https://pub.dartlang.org"
44 | source: hosted
45 | version: "1.1.2"
46 | charts_common:
47 | dependency: transitive
48 | description:
49 | name: charts_common
50 | url: "https://pub.dartlang.org"
51 | source: hosted
52 | version: "0.9.0"
53 | charts_flutter:
54 | dependency: "direct main"
55 | description:
56 | name: charts_flutter
57 | url: "https://pub.dartlang.org"
58 | source: hosted
59 | version: "0.9.0"
60 | collection:
61 | dependency: transitive
62 | description:
63 | name: collection
64 | url: "https://pub.dartlang.org"
65 | source: hosted
66 | version: "1.14.11"
67 | convert:
68 | dependency: transitive
69 | description:
70 | name: convert
71 | url: "https://pub.dartlang.org"
72 | source: hosted
73 | version: "2.1.1"
74 | crypto:
75 | dependency: transitive
76 | description:
77 | name: crypto
78 | url: "https://pub.dartlang.org"
79 | source: hosted
80 | version: "2.1.3"
81 | cupertino_icons:
82 | dependency: "direct main"
83 | description:
84 | name: cupertino_icons
85 | url: "https://pub.dartlang.org"
86 | source: hosted
87 | version: "0.1.3"
88 | flutter:
89 | dependency: "direct main"
90 | description: flutter
91 | source: sdk
92 | version: "0.0.0"
93 | flutter_test:
94 | dependency: "direct dev"
95 | description: flutter
96 | source: sdk
97 | version: "0.0.0"
98 | http:
99 | dependency: "direct main"
100 | description:
101 | name: http
102 | url: "https://pub.dartlang.org"
103 | source: hosted
104 | version: "0.12.1"
105 | http_parser:
106 | dependency: transitive
107 | description:
108 | name: http_parser
109 | url: "https://pub.dartlang.org"
110 | source: hosted
111 | version: "3.1.4"
112 | image:
113 | dependency: transitive
114 | description:
115 | name: image
116 | url: "https://pub.dartlang.org"
117 | source: hosted
118 | version: "2.1.4"
119 | intl:
120 | dependency: transitive
121 | description:
122 | name: intl
123 | url: "https://pub.dartlang.org"
124 | source: hosted
125 | version: "0.15.7"
126 | logging:
127 | dependency: transitive
128 | description:
129 | name: logging
130 | url: "https://pub.dartlang.org"
131 | source: hosted
132 | version: "0.11.3+2"
133 | matcher:
134 | dependency: transitive
135 | description:
136 | name: matcher
137 | url: "https://pub.dartlang.org"
138 | source: hosted
139 | version: "0.12.6"
140 | meta:
141 | dependency: transitive
142 | description:
143 | name: meta
144 | url: "https://pub.dartlang.org"
145 | source: hosted
146 | version: "1.1.8"
147 | path:
148 | dependency: transitive
149 | description:
150 | name: path
151 | url: "https://pub.dartlang.org"
152 | source: hosted
153 | version: "1.6.4"
154 | pedantic:
155 | dependency: transitive
156 | description:
157 | name: pedantic
158 | url: "https://pub.dartlang.org"
159 | source: hosted
160 | version: "1.8.0+1"
161 | petitparser:
162 | dependency: transitive
163 | description:
164 | name: petitparser
165 | url: "https://pub.dartlang.org"
166 | source: hosted
167 | version: "2.4.0"
168 | quiver:
169 | dependency: transitive
170 | description:
171 | name: quiver
172 | url: "https://pub.dartlang.org"
173 | source: hosted
174 | version: "2.0.5"
175 | sky_engine:
176 | dependency: transitive
177 | description: flutter
178 | source: sdk
179 | version: "0.0.99"
180 | source_span:
181 | dependency: transitive
182 | description:
183 | name: source_span
184 | url: "https://pub.dartlang.org"
185 | source: hosted
186 | version: "1.5.5"
187 | stack_trace:
188 | dependency: transitive
189 | description:
190 | name: stack_trace
191 | url: "https://pub.dartlang.org"
192 | source: hosted
193 | version: "1.9.3"
194 | stream_channel:
195 | dependency: transitive
196 | description:
197 | name: stream_channel
198 | url: "https://pub.dartlang.org"
199 | source: hosted
200 | version: "2.0.0"
201 | string_scanner:
202 | dependency: transitive
203 | description:
204 | name: string_scanner
205 | url: "https://pub.dartlang.org"
206 | source: hosted
207 | version: "1.0.5"
208 | term_glyph:
209 | dependency: transitive
210 | description:
211 | name: term_glyph
212 | url: "https://pub.dartlang.org"
213 | source: hosted
214 | version: "1.1.0"
215 | test_api:
216 | dependency: transitive
217 | description:
218 | name: test_api
219 | url: "https://pub.dartlang.org"
220 | source: hosted
221 | version: "0.2.11"
222 | typed_data:
223 | dependency: transitive
224 | description:
225 | name: typed_data
226 | url: "https://pub.dartlang.org"
227 | source: hosted
228 | version: "1.1.6"
229 | vector_math:
230 | dependency: transitive
231 | description:
232 | name: vector_math
233 | url: "https://pub.dartlang.org"
234 | source: hosted
235 | version: "2.0.8"
236 | xml:
237 | dependency: transitive
238 | description:
239 | name: xml
240 | url: "https://pub.dartlang.org"
241 | source: hosted
242 | version: "3.5.0"
243 | sdks:
244 | dart: ">=2.4.0 <3.0.0"
245 |
--------------------------------------------------------------------------------
/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: flutter_charts_deep
2 | description: A new Flutter application to explain the use of the Charts in flutter.
3 |
4 | dependencies:
5 | flutter:
6 | sdk: flutter
7 |
8 | # The following adds the Cupertino Icons font to your application.
9 | # Use with the CupertinoIcons class for iOS style icons.
10 | cupertino_icons: ^0.1.3
11 | bubble_tab_indicator: ^0.1.4
12 | charts_flutter: ^0.9.0
13 | http: ^0.12.0+2
14 |
15 | dev_dependencies:
16 | flutter_test:
17 | sdk: flutter
18 | # For information on the generic Dart part of this file, see the
19 | # following page: https://www.dartlang.org/tools/pub/pubspec
20 |
21 | # The following section is specific to Flutter.
22 | flutter:
23 | uses-material-design: true
24 | assets:
25 | - assets/images/bar.png
26 | - assets/images/line.png
27 | - assets/images/pie.png
28 | - assets/images/sunny.png
29 | - assets/images/logo.png
30 | - assets/images/powered_by.png
31 | # The following line ensures that the Material Icons font is
32 | # included with your application, so that you can use the icons in
33 | # the material Icons class.
34 |
35 | # To add assets to your application, add an assets section, like this:
36 |
37 |
38 | # An image asset can refer to one or more resolution-specific "variants", see
39 | # https://flutter.io/assets-and-images/#resolution-aware.
40 |
41 | # For details regarding adding assets from package dependencies, see
42 | # https://flutter.io/assets-and-images/#from-packages
43 |
44 | # To add custom fonts to your application, add a fonts section here,
45 | # in this "flutter" section. Each entry in this list should have a
46 | # "family" key with the font family name, and a "fonts" key with a
47 | # list giving the asset and other descriptors for the font. For
48 | # example:
49 | # fonts:
50 | # - family: Schyler
51 | # fonts:
52 | # - asset: fonts/Schyler-Regular.ttf
53 | # - asset: fonts/Schyler-Italic.ttf
54 | # style: italic
55 | # - family: Trajan Pro
56 | # fonts:
57 | # - asset: fonts/TrajanPro.ttf
58 | # - asset: fonts/TrajanPro_Bold.ttf
59 | # weight: 700
60 | #
61 | # For details regarding fonts from package dependencies,
62 | # see https://flutter.io/custom-fonts/#from-packages
63 |
--------------------------------------------------------------------------------
/screens/Android1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/screens/Android1.jpg
--------------------------------------------------------------------------------
/screens/android2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/screens/android2.jpg
--------------------------------------------------------------------------------
/screens/android3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/screens/android3.jpg
--------------------------------------------------------------------------------
/screens/demo.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/screens/demo.gif
--------------------------------------------------------------------------------
/screens/iPhone1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/screens/iPhone1.jpg
--------------------------------------------------------------------------------
/screens/iphone2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/screens/iphone2.jpg
--------------------------------------------------------------------------------
/screens/iphone3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/flutter-devs/flutter_charts_demo/788d847d0ffe309876170eeac8cd3179be972cb9/screens/iphone3.jpg
--------------------------------------------------------------------------------
/test/widget_test.dart:
--------------------------------------------------------------------------------
1 | // This is a basic Flutter widget test.
2 | // To perform an interaction with a widget in your test, use the WidgetTester utility that Flutter
3 | // provides. For example, you can send tap and scroll gestures. You can also use WidgetTester to
4 | // find child widgets in the widget tree, read text, and verify that the values of widget properties
5 | // are correct.
6 |
7 | import 'package:flutter/material.dart';
8 | import 'package:flutter_test/flutter_test.dart';
9 |
10 | import 'package:flutter_charts_deep/main.dart';
11 |
12 | void main() {
13 | testWidgets('Counter increments smoke test', (WidgetTester tester) async {
14 | // Build our app and trigger a frame.
15 | await tester.pumpWidget(new MaterialApp());
16 |
17 | // Verify that our counter starts at 0.
18 | expect(find.text('0'), findsOneWidget);
19 | expect(find.text('1'), findsNothing);
20 |
21 | // Tap the '+' icon and trigger a frame.
22 | await tester.tap(find.byIcon(Icons.add));
23 | await tester.pump();
24 |
25 | // Verify that our counter has incremented.
26 | expect(find.text('0'), findsNothing);
27 | expect(find.text('1'), findsOneWidget);
28 | });
29 | }
30 |
--------------------------------------------------------------------------------