├── .gitignore
├── .metadata
├── README.md
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── skuu
│ │ │ └── dashboard
│ │ │ └── MainActivity.java
│ │ └── 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
├── dashboard.iml
├── dashboard_android.iml
├── flutter_01.png
├── flutter_02.png
├── flutter_03.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
└── Runner
│ ├── AppDelegate.h
│ ├── AppDelegate.m
│ ├── 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
│ └── main.m
├── lib
├── classes
│ ├── shop_item.dart
│ └── shop_item_rating.dart
├── main.dart
└── pages
│ ├── item_reviews_page.dart
│ ├── main_page.dart
│ └── shop_items_page.dart
├── media
├── screenshot.png
└── screenshot.psd
├── pubspec.lock
├── pubspec.yaml
└── res
└── shoes1.png
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | .atom/
3 | .dart_tool/
4 | .idea
5 | .vscode/
6 | .packages
7 | .pub/
8 | build/
9 | ios/.generated/
10 | packages
11 | .flutter-plugins
12 | media/presentation.psd
13 |
--------------------------------------------------------------------------------
/.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: 5a58b36e36b8d7aace89d3950e6deb307956a6a0
8 | channel: beta
9 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Dashboard concept
2 | A dashboard concept app inspired by [this](https://www.uplabs.com/posts/dashboard-components-made-with-invision-studio).
3 |
4 | ## Screenshots
5 | - Main page (plants list)
6 |
7 |
8 | - Shop items page
9 |
10 |
11 | - Shop item reviews page
12 |
--------------------------------------------------------------------------------
/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/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 | if (flutterRoot == null) {
11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 | }
13 |
14 | apply plugin: 'com.android.application'
15 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
16 |
17 | android {
18 | compileSdkVersion 27
19 |
20 | lintOptions {
21 | disable 'InvalidPackage'
22 | }
23 |
24 | defaultConfig {
25 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
26 | applicationId "com.skuu.dashboard"
27 | minSdkVersion 16
28 | targetSdkVersion 27
29 | versionCode 1
30 | versionName "1.0"
31 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
32 | }
33 |
34 | buildTypes {
35 | release {
36 | // TODO: Add your own signing config for the release build.
37 | // Signing with the debug keys for now, so `flutter run --release` works.
38 | signingConfig signingConfigs.debug
39 | }
40 | }
41 | }
42 |
43 | flutter {
44 | source '../..'
45 | }
46 |
47 | dependencies {
48 | testImplementation 'junit:junit:4.12'
49 | androidTestImplementation 'com.android.support.test:runner:1.0.1'
50 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
51 | }
52 |
--------------------------------------------------------------------------------
/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/java/com/skuu/dashboard/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.skuu.dashboard;
2 |
3 | import android.os.Bundle;
4 |
5 | import io.flutter.app.FlutterActivity;
6 | import io.flutter.plugins.GeneratedPluginRegistrant;
7 |
8 | public class MainActivity extends FlutterActivity {
9 | @Override
10 | protected void onCreate(Bundle savedInstanceState) {
11 | super.onCreate(savedInstanceState);
12 | GeneratedPluginRegistrant.registerWith(this);
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/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/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/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 | repositories {
3 | google()
4 | jcenter()
5 | }
6 |
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:3.0.1'
9 | }
10 | }
11 |
12 | allprojects {
13 | repositories {
14 | google()
15 | jcenter()
16 | }
17 | }
18 |
19 | rootProject.buildDir = '../build'
20 | subprojects {
21 | project.buildDir = "${rootProject.buildDir}/${project.name}"
22 | }
23 | subprojects {
24 | project.evaluationDependsOn(':app')
25 | }
26 |
27 | task clean(type: Delete) {
28 | delete rootProject.buildDir
29 | }
30 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Jun 23 08:50:38 CEST 2017
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-4.1-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 |
--------------------------------------------------------------------------------
/dashboard.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/dashboard_android.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 |
--------------------------------------------------------------------------------
/flutter_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/flutter_01.png
--------------------------------------------------------------------------------
/flutter_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/flutter_02.png
--------------------------------------------------------------------------------
/flutter_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/flutter_03.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 | *.pbxuser
16 | *.mode1v3
17 | *.mode2v3
18 | *.perspectivev3
19 |
20 | !default.pbxuser
21 | !default.mode1v3
22 | !default.mode2v3
23 | !default.perspectivev3
24 |
25 | xcuserdata
26 |
27 | *.moved-aside
28 |
29 | *.pyc
30 | *sync/
31 | Icon?
32 | .tags*
33 |
34 | /Flutter/app.flx
35 | /Flutter/app.zip
36 | /Flutter/flutter_assets/
37 | /Flutter/App.framework
38 | /Flutter/Flutter.framework
39 | /Flutter/Generated.xcconfig
40 | /ServiceDefinitions.json
41 |
42 | Pods/
43 |
--------------------------------------------------------------------------------
/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 | UIRequiredDeviceCapabilities
24 |
25 | arm64
26 |
27 | MinimumOSVersion
28 | 8.0
29 |
30 |
31 |
--------------------------------------------------------------------------------
/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 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; };
16 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
17 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; };
18 | 9740EEB51CF90195004384FC /* Generated.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB31CF90195004384FC /* Generated.xcconfig */; };
19 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; };
20 | 97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; };
21 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
22 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
23 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
24 | /* End PBXBuildFile section */
25 |
26 | /* Begin PBXCopyFilesBuildPhase section */
27 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
28 | isa = PBXCopyFilesBuildPhase;
29 | buildActionMask = 2147483647;
30 | dstPath = "";
31 | dstSubfolderSpec = 10;
32 | files = (
33 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */,
34 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */,
35 | );
36 | name = "Embed Frameworks";
37 | runOnlyForDeploymentPostprocessing = 0;
38 | };
39 | /* End PBXCopyFilesBuildPhase section */
40 |
41 | /* Begin PBXFileReference section */
42 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
43 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
44 | 2D5378251FAA1A9400D5DBA9 /* flutter_assets */ = {isa = PBXFileReference; lastKnownFileType = folder; name = flutter_assets; path = Flutter/flutter_assets; sourceTree = SOURCE_ROOT; };
45 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
46 | 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; };
47 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
48 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
49 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
50 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
51 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
52 | 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; };
53 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
54 | 97C146F21CF9000F007C117D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
55 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
56 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
57 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
58 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
59 | /* End PBXFileReference section */
60 |
61 | /* Begin PBXFrameworksBuildPhase section */
62 | 97C146EB1CF9000F007C117D /* Frameworks */ = {
63 | isa = PBXFrameworksBuildPhase;
64 | buildActionMask = 2147483647;
65 | files = (
66 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */,
67 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */,
68 | );
69 | runOnlyForDeploymentPostprocessing = 0;
70 | };
71 | /* End PBXFrameworksBuildPhase section */
72 |
73 | /* Begin PBXGroup section */
74 | 9740EEB11CF90186004384FC /* Flutter */ = {
75 | isa = PBXGroup;
76 | children = (
77 | 2D5378251FAA1A9400D5DBA9 /* flutter_assets */,
78 | 3B80C3931E831B6300D905FE /* App.framework */,
79 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
80 | 9740EEBA1CF902C7004384FC /* Flutter.framework */,
81 | 9740EEB21CF90195004384FC /* Debug.xcconfig */,
82 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
83 | 9740EEB31CF90195004384FC /* Generated.xcconfig */,
84 | );
85 | name = Flutter;
86 | sourceTree = "";
87 | };
88 | 97C146E51CF9000F007C117D = {
89 | isa = PBXGroup;
90 | children = (
91 | 9740EEB11CF90186004384FC /* Flutter */,
92 | 97C146F01CF9000F007C117D /* Runner */,
93 | 97C146EF1CF9000F007C117D /* Products */,
94 | CF3B75C9A7D2FA2A4C99F110 /* Frameworks */,
95 | );
96 | sourceTree = "";
97 | };
98 | 97C146EF1CF9000F007C117D /* Products */ = {
99 | isa = PBXGroup;
100 | children = (
101 | 97C146EE1CF9000F007C117D /* Runner.app */,
102 | );
103 | name = Products;
104 | sourceTree = "";
105 | };
106 | 97C146F01CF9000F007C117D /* Runner */ = {
107 | isa = PBXGroup;
108 | children = (
109 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */,
110 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */,
111 | 97C146FA1CF9000F007C117D /* Main.storyboard */,
112 | 97C146FD1CF9000F007C117D /* Assets.xcassets */,
113 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
114 | 97C147021CF9000F007C117D /* Info.plist */,
115 | 97C146F11CF9000F007C117D /* Supporting Files */,
116 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
117 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
118 | );
119 | path = Runner;
120 | sourceTree = "";
121 | };
122 | 97C146F11CF9000F007C117D /* Supporting Files */ = {
123 | isa = PBXGroup;
124 | children = (
125 | 97C146F21CF9000F007C117D /* main.m */,
126 | );
127 | name = "Supporting Files";
128 | sourceTree = "";
129 | };
130 | /* End PBXGroup section */
131 |
132 | /* Begin PBXNativeTarget section */
133 | 97C146ED1CF9000F007C117D /* Runner */ = {
134 | isa = PBXNativeTarget;
135 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
136 | buildPhases = (
137 | 9740EEB61CF901F6004384FC /* Run Script */,
138 | 97C146EA1CF9000F007C117D /* Sources */,
139 | 97C146EB1CF9000F007C117D /* Frameworks */,
140 | 97C146EC1CF9000F007C117D /* Resources */,
141 | 9705A1C41CF9048500538489 /* Embed Frameworks */,
142 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
143 | );
144 | buildRules = (
145 | );
146 | dependencies = (
147 | );
148 | name = Runner;
149 | productName = Runner;
150 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
151 | productType = "com.apple.product-type.application";
152 | };
153 | /* End PBXNativeTarget section */
154 |
155 | /* Begin PBXProject section */
156 | 97C146E61CF9000F007C117D /* Project object */ = {
157 | isa = PBXProject;
158 | attributes = {
159 | LastUpgradeCheck = 0910;
160 | ORGANIZATIONNAME = "The Chromium Authors";
161 | TargetAttributes = {
162 | 97C146ED1CF9000F007C117D = {
163 | CreatedOnToolsVersion = 7.3.1;
164 | };
165 | };
166 | };
167 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
168 | compatibilityVersion = "Xcode 3.2";
169 | developmentRegion = English;
170 | hasScannedForEncodings = 0;
171 | knownRegions = (
172 | en,
173 | Base,
174 | );
175 | mainGroup = 97C146E51CF9000F007C117D;
176 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
177 | projectDirPath = "";
178 | projectRoot = "";
179 | targets = (
180 | 97C146ED1CF9000F007C117D /* Runner */,
181 | );
182 | };
183 | /* End PBXProject section */
184 |
185 | /* Begin PBXResourcesBuildPhase section */
186 | 97C146EC1CF9000F007C117D /* Resources */ = {
187 | isa = PBXResourcesBuildPhase;
188 | buildActionMask = 2147483647;
189 | files = (
190 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
191 | 9740EEB51CF90195004384FC /* Generated.xcconfig in Resources */,
192 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
193 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */,
194 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
195 | 2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */,
196 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
197 | );
198 | runOnlyForDeploymentPostprocessing = 0;
199 | };
200 | /* End PBXResourcesBuildPhase section */
201 |
202 | /* Begin PBXShellScriptBuildPhase section */
203 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
204 | isa = PBXShellScriptBuildPhase;
205 | buildActionMask = 2147483647;
206 | files = (
207 | );
208 | inputPaths = (
209 | );
210 | name = "Thin Binary";
211 | outputPaths = (
212 | );
213 | runOnlyForDeploymentPostprocessing = 0;
214 | shellPath = /bin/sh;
215 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin";
216 | };
217 | 9740EEB61CF901F6004384FC /* Run Script */ = {
218 | isa = PBXShellScriptBuildPhase;
219 | buildActionMask = 2147483647;
220 | files = (
221 | );
222 | inputPaths = (
223 | );
224 | name = "Run Script";
225 | outputPaths = (
226 | );
227 | runOnlyForDeploymentPostprocessing = 0;
228 | shellPath = /bin/sh;
229 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
230 | };
231 | /* End PBXShellScriptBuildPhase section */
232 |
233 | /* Begin PBXSourcesBuildPhase section */
234 | 97C146EA1CF9000F007C117D /* Sources */ = {
235 | isa = PBXSourcesBuildPhase;
236 | buildActionMask = 2147483647;
237 | files = (
238 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */,
239 | 97C146F31CF9000F007C117D /* main.m in Sources */,
240 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
241 | );
242 | runOnlyForDeploymentPostprocessing = 0;
243 | };
244 | /* End PBXSourcesBuildPhase section */
245 |
246 | /* Begin PBXVariantGroup section */
247 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
248 | isa = PBXVariantGroup;
249 | children = (
250 | 97C146FB1CF9000F007C117D /* Base */,
251 | );
252 | name = Main.storyboard;
253 | sourceTree = "";
254 | };
255 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
256 | isa = PBXVariantGroup;
257 | children = (
258 | 97C147001CF9000F007C117D /* Base */,
259 | );
260 | name = LaunchScreen.storyboard;
261 | sourceTree = "";
262 | };
263 | /* End PBXVariantGroup section */
264 |
265 | /* Begin XCBuildConfiguration section */
266 | 97C147031CF9000F007C117D /* Debug */ = {
267 | isa = XCBuildConfiguration;
268 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
269 | buildSettings = {
270 | ALWAYS_SEARCH_USER_PATHS = NO;
271 | CLANG_ANALYZER_NONNULL = YES;
272 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
273 | CLANG_CXX_LIBRARY = "libc++";
274 | CLANG_ENABLE_MODULES = YES;
275 | CLANG_ENABLE_OBJC_ARC = YES;
276 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
277 | CLANG_WARN_BOOL_CONVERSION = YES;
278 | CLANG_WARN_COMMA = YES;
279 | CLANG_WARN_CONSTANT_CONVERSION = YES;
280 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
281 | CLANG_WARN_EMPTY_BODY = YES;
282 | CLANG_WARN_ENUM_CONVERSION = YES;
283 | CLANG_WARN_INFINITE_RECURSION = YES;
284 | CLANG_WARN_INT_CONVERSION = YES;
285 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
286 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
287 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
288 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
289 | CLANG_WARN_STRICT_PROTOTYPES = YES;
290 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
291 | CLANG_WARN_UNREACHABLE_CODE = YES;
292 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
293 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
294 | COPY_PHASE_STRIP = NO;
295 | DEBUG_INFORMATION_FORMAT = dwarf;
296 | ENABLE_STRICT_OBJC_MSGSEND = YES;
297 | ENABLE_TESTABILITY = YES;
298 | GCC_C_LANGUAGE_STANDARD = gnu99;
299 | GCC_DYNAMIC_NO_PIC = NO;
300 | GCC_NO_COMMON_BLOCKS = YES;
301 | GCC_OPTIMIZATION_LEVEL = 0;
302 | GCC_PREPROCESSOR_DEFINITIONS = (
303 | "DEBUG=1",
304 | "$(inherited)",
305 | );
306 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
307 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
308 | GCC_WARN_UNDECLARED_SELECTOR = YES;
309 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
310 | GCC_WARN_UNUSED_FUNCTION = YES;
311 | GCC_WARN_UNUSED_VARIABLE = YES;
312 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
313 | MTL_ENABLE_DEBUG_INFO = YES;
314 | ONLY_ACTIVE_ARCH = YES;
315 | SDKROOT = iphoneos;
316 | TARGETED_DEVICE_FAMILY = "1,2";
317 | };
318 | name = Debug;
319 | };
320 | 97C147041CF9000F007C117D /* Release */ = {
321 | isa = XCBuildConfiguration;
322 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
323 | buildSettings = {
324 | ALWAYS_SEARCH_USER_PATHS = NO;
325 | CLANG_ANALYZER_NONNULL = YES;
326 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
327 | CLANG_CXX_LIBRARY = "libc++";
328 | CLANG_ENABLE_MODULES = YES;
329 | CLANG_ENABLE_OBJC_ARC = YES;
330 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
331 | CLANG_WARN_BOOL_CONVERSION = YES;
332 | CLANG_WARN_COMMA = YES;
333 | CLANG_WARN_CONSTANT_CONVERSION = YES;
334 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
335 | CLANG_WARN_EMPTY_BODY = YES;
336 | CLANG_WARN_ENUM_CONVERSION = YES;
337 | CLANG_WARN_INFINITE_RECURSION = YES;
338 | CLANG_WARN_INT_CONVERSION = YES;
339 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
340 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
341 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
342 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
343 | CLANG_WARN_STRICT_PROTOTYPES = YES;
344 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
345 | CLANG_WARN_UNREACHABLE_CODE = YES;
346 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
347 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
348 | COPY_PHASE_STRIP = NO;
349 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
350 | ENABLE_NS_ASSERTIONS = NO;
351 | ENABLE_STRICT_OBJC_MSGSEND = YES;
352 | GCC_C_LANGUAGE_STANDARD = gnu99;
353 | GCC_NO_COMMON_BLOCKS = YES;
354 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
355 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
356 | GCC_WARN_UNDECLARED_SELECTOR = YES;
357 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
358 | GCC_WARN_UNUSED_FUNCTION = YES;
359 | GCC_WARN_UNUSED_VARIABLE = YES;
360 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
361 | MTL_ENABLE_DEBUG_INFO = NO;
362 | SDKROOT = iphoneos;
363 | TARGETED_DEVICE_FAMILY = "1,2";
364 | VALIDATE_PRODUCT = YES;
365 | };
366 | name = Release;
367 | };
368 | 97C147061CF9000F007C117D /* Debug */ = {
369 | isa = XCBuildConfiguration;
370 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
371 | buildSettings = {
372 | ARCHS = arm64;
373 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
374 | ENABLE_BITCODE = NO;
375 | FRAMEWORK_SEARCH_PATHS = (
376 | "$(inherited)",
377 | "$(PROJECT_DIR)/Flutter",
378 | );
379 | INFOPLIST_FILE = Runner/Info.plist;
380 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
381 | LIBRARY_SEARCH_PATHS = (
382 | "$(inherited)",
383 | "$(PROJECT_DIR)/Flutter",
384 | );
385 | PRODUCT_BUNDLE_IDENTIFIER = com.skuu.dashboard;
386 | PRODUCT_NAME = "$(TARGET_NAME)";
387 | };
388 | name = Debug;
389 | };
390 | 97C147071CF9000F007C117D /* Release */ = {
391 | isa = XCBuildConfiguration;
392 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
393 | buildSettings = {
394 | ARCHS = arm64;
395 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
396 | ENABLE_BITCODE = NO;
397 | FRAMEWORK_SEARCH_PATHS = (
398 | "$(inherited)",
399 | "$(PROJECT_DIR)/Flutter",
400 | );
401 | INFOPLIST_FILE = Runner/Info.plist;
402 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
403 | LIBRARY_SEARCH_PATHS = (
404 | "$(inherited)",
405 | "$(PROJECT_DIR)/Flutter",
406 | );
407 | PRODUCT_BUNDLE_IDENTIFIER = com.skuu.dashboard;
408 | PRODUCT_NAME = "$(TARGET_NAME)";
409 | };
410 | name = Release;
411 | };
412 | /* End XCBuildConfiguration section */
413 |
414 | /* Begin XCConfigurationList section */
415 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
416 | isa = XCConfigurationList;
417 | buildConfigurations = (
418 | 97C147031CF9000F007C117D /* Debug */,
419 | 97C147041CF9000F007C117D /* Release */,
420 | );
421 | defaultConfigurationIsVisible = 0;
422 | defaultConfigurationName = Release;
423 | };
424 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
425 | isa = XCConfigurationList;
426 | buildConfigurations = (
427 | 97C147061CF9000F007C117D /* Debug */,
428 | 97C147071CF9000F007C117D /* Release */,
429 | );
430 | defaultConfigurationIsVisible = 0;
431 | defaultConfigurationName = Release;
432 | };
433 | /* End XCConfigurationList section */
434 | };
435 | rootObject = 97C146E61CF9000F007C117D /* Project object */;
436 | }
437 |
--------------------------------------------------------------------------------
/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/AppDelegate.h:
--------------------------------------------------------------------------------
1 | #import
2 | #import
3 |
4 | @interface AppDelegate : FlutterAppDelegate
5 |
6 | @end
7 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.m:
--------------------------------------------------------------------------------
1 | #include "AppDelegate.h"
2 | #include "GeneratedPluginRegistrant.h"
3 |
4 | @implementation AppDelegate
5 |
6 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
7 | [GeneratedPluginRegistrant registerWithRegistry:self];
8 | // Override point for customization after application launch.
9 | return [super application:application didFinishLaunchingWithOptions:launchOptions];
10 | }
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/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/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/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/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/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/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/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/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/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/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/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/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/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/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/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/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/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/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/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/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/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/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/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/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/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/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/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/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/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/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/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/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/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 | dashboard
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 | UIRequiredDeviceCapabilities
30 |
31 | arm64
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 | UIViewControllerBasedStatusBarAppearance
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/ios/Runner/main.m:
--------------------------------------------------------------------------------
1 | #import
2 | #import
3 | #import "AppDelegate.h"
4 |
5 | int main(int argc, char * argv[]) {
6 | @autoreleasepool {
7 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/lib/classes/shop_item.dart:
--------------------------------------------------------------------------------
1 | import 'shop_item_rating.dart';
2 |
3 | class ShopItem
4 | {
5 | String name;
6 | List ratings;
7 | }
--------------------------------------------------------------------------------
/lib/classes/shop_item_rating.dart:
--------------------------------------------------------------------------------
1 | class ShopItemRating
2 | {
3 | String userName;
4 | String review;
5 | int rating;
6 |
7 | ShopItemRating(this.userName, this.rating, {this.review});
8 | }
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'pages/main_page.dart';
3 |
4 | void main() => runApp(new MyApp());
5 |
6 | class MyApp extends StatelessWidget
7 | {
8 | @override
9 | Widget build(BuildContext context)
10 | {
11 | return new MaterialApp
12 | (
13 | title: 'Dashboard',
14 | theme: new ThemeData(primarySwatch: Colors.blue),
15 | home: new MainPage(),
16 | );
17 | }
18 | }
--------------------------------------------------------------------------------
/lib/pages/item_reviews_page.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class ItemReviewsPage extends StatefulWidget
4 | {
5 | @override
6 | _ItemReviewsPageState createState() => new _ItemReviewsPageState();
7 | }
8 |
9 | class _ItemReviewsPageState extends State
10 | {
11 | @override
12 | Widget build(BuildContext context)
13 | {
14 | return new Scaffold
15 | (
16 | body: new CustomScrollView
17 | (
18 | slivers:
19 | [
20 | new SliverAppBar
21 | (
22 | expandedHeight: 170.0,
23 | backgroundColor: Colors.red,
24 | flexibleSpace: new FlexibleSpaceBar
25 | (
26 | title: new Text('Nike Jordan Air III'),
27 | background: new SizedBox.expand
28 | (
29 | child: new Stack
30 | (
31 | alignment: Alignment.center,
32 | children:
33 | [
34 | new Image.asset('res/shoes1.png'),
35 | new Container(color: Colors.black26)
36 | ],
37 | ),
38 | ),
39 | ),
40 | elevation: 2.0,
41 | forceElevated: true,
42 | pinned: true,
43 | ),
44 | new SliverList
45 | (
46 | delegate: new SliverChildListDelegate
47 | (
48 |
49 | [
50 | /// Rating average
51 | new Center
52 | (
53 | child: new Container
54 | (
55 | margin: new EdgeInsets.only(top: 16.0),
56 | child: new Text
57 | (
58 | '4.6',
59 | style: new TextStyle(color: Colors.black, fontWeight: FontWeight.w700, fontSize: 64.0)
60 | ),
61 | ),
62 | ),
63 | /// Rating stars
64 | new Padding
65 | (
66 | padding: new EdgeInsets.symmetric(horizontal: 60.0),
67 | child: new Row
68 | (
69 | mainAxisAlignment: MainAxisAlignment.spaceEvenly,
70 | children:
71 | [
72 | new Icon(Icons.star, color: Colors.amber, size: 48.0),
73 | new Icon(Icons.star, color: Colors.amber, size: 48.0),
74 | new Icon(Icons.star, color: Colors.amber, size: 48.0),
75 | new Icon(Icons.star, color: Colors.amber, size: 48.0),
76 | new Icon(Icons.star, color: Colors.black12, size: 48.0),
77 | ],
78 | ),
79 | ),
80 | /// Rating chart lines
81 | new Padding
82 | (
83 | padding: new EdgeInsets.symmetric(horizontal: 32.0, vertical: 16.0),
84 | child: new Column
85 | (
86 | mainAxisAlignment: MainAxisAlignment.start,
87 | crossAxisAlignment: CrossAxisAlignment.stretch,
88 | children:
89 | [
90 | /// 5 stars and progress bar
91 | new Padding
92 | (
93 | padding: new EdgeInsets.symmetric(vertical: 4.0),
94 | child: new Row
95 | (
96 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
97 | crossAxisAlignment: CrossAxisAlignment.center,
98 | children:
99 | [
100 | new Row
101 | (
102 | mainAxisAlignment: MainAxisAlignment.start,
103 | crossAxisAlignment: CrossAxisAlignment.center,
104 | children:
105 | [
106 | new Icon(Icons.star, color: Colors.black54, size: 16.0),
107 | new Icon(Icons.star, color: Colors.black54, size: 16.0),
108 | new Icon(Icons.star, color: Colors.black54, size: 16.0),
109 | new Icon(Icons.star, color: Colors.black54, size: 16.0),
110 | new Icon(Icons.star, color: Colors.black54, size: 16.0),
111 | ],
112 | ),
113 | new Padding(padding: new EdgeInsets.only(right: 24.0)),
114 | new Expanded
115 | (
116 | child: new Theme
117 | (
118 | data: new ThemeData(accentColor: Colors.green),
119 | child: new LinearProgressIndicator
120 | (
121 | value: 0.9,
122 | backgroundColor: Colors.black12,
123 | ),
124 | ),
125 | ),
126 | ],
127 | ),
128 | ),
129 | new Padding
130 | (
131 | padding: new EdgeInsets.symmetric(vertical: 4.0),
132 | child: new Row
133 | (
134 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
135 | crossAxisAlignment: CrossAxisAlignment.center,
136 | children:
137 | [
138 | new Row
139 | (
140 | mainAxisAlignment: MainAxisAlignment.start,
141 | crossAxisAlignment: CrossAxisAlignment.center,
142 | children:
143 | [
144 | new Icon(Icons.star, color: Colors.black54, size: 16.0),
145 | new Icon(Icons.star, color: Colors.black54, size: 16.0),
146 | new Icon(Icons.star, color: Colors.black54, size: 16.0),
147 | new Icon(Icons.star, color: Colors.black54, size: 16.0),
148 | new Icon(Icons.star, color: Colors.black12, size: 16.0),
149 | ],
150 | ),
151 | new Padding(padding: new EdgeInsets.only(right: 24.0)),
152 | new Expanded
153 | (
154 | child: new Theme
155 | (
156 | data: new ThemeData(accentColor: Colors.lightGreen),
157 | child: new LinearProgressIndicator
158 | (
159 | value: 0.7,
160 | backgroundColor: Colors.black12,
161 | ),
162 | ),
163 | ),
164 | ],
165 | ),
166 | ),
167 | new Padding
168 | (
169 | padding: new EdgeInsets.symmetric(vertical: 4.0),
170 | child: new Row
171 | (
172 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
173 | crossAxisAlignment: CrossAxisAlignment.center,
174 | children:
175 | [
176 | new Row
177 | (
178 | mainAxisAlignment: MainAxisAlignment.start,
179 | crossAxisAlignment: CrossAxisAlignment.center,
180 | children:
181 | [
182 | new Icon(Icons.star, color: Colors.black54, size: 16.0),
183 | new Icon(Icons.star, color: Colors.black54, size: 16.0),
184 | new Icon(Icons.star, color: Colors.black54, size: 16.0),
185 | new Icon(Icons.star, color: Colors.black12, size: 16.0),
186 | new Icon(Icons.star, color: Colors.black12, size: 16.0),
187 | ],
188 | ),
189 | new Padding(padding: new EdgeInsets.only(right: 24.0)),
190 | new Expanded
191 | (
192 | child: new Theme
193 | (
194 | data: new ThemeData(accentColor: Colors.yellow),
195 | child: new LinearProgressIndicator
196 | (
197 | value: 0.25,
198 | backgroundColor: Colors.black12,
199 | ),
200 | ),
201 | ),
202 | ],
203 | ),
204 | ),
205 | new Padding
206 | (
207 | padding: new EdgeInsets.symmetric(vertical: 4.0),
208 | child: new Row
209 | (
210 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
211 | crossAxisAlignment: CrossAxisAlignment.center,
212 | children:
213 | [
214 | new Row
215 | (
216 | mainAxisAlignment: MainAxisAlignment.start,
217 | crossAxisAlignment: CrossAxisAlignment.center,
218 | children:
219 | [
220 | new Icon(Icons.star, color: Colors.black54, size: 16.0),
221 | new Icon(Icons.star, color: Colors.black54, size: 16.0),
222 | new Icon(Icons.star, color: Colors.black12, size: 16.0),
223 | new Icon(Icons.star, color: Colors.black12, size: 16.0),
224 | new Icon(Icons.star, color: Colors.black12, size: 16.0),
225 | ],
226 | ),
227 | new Padding(padding: new EdgeInsets.only(right: 24.0)),
228 | new Expanded
229 | (
230 | child: new Theme
231 | (
232 | data: new ThemeData(accentColor: Colors.orange),
233 | child: new LinearProgressIndicator
234 | (
235 | value: 0.07,
236 | backgroundColor: Colors.black12,
237 | ),
238 | ),
239 | ),
240 | ],
241 | ),
242 | ),
243 | new Padding
244 | (
245 | padding: new EdgeInsets.symmetric(vertical: 4.0),
246 | child: new Row
247 | (
248 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
249 | crossAxisAlignment: CrossAxisAlignment.center,
250 | children:
251 | [
252 | new Row
253 | (
254 | mainAxisAlignment: MainAxisAlignment.start,
255 | crossAxisAlignment: CrossAxisAlignment.center,
256 | children:
257 | [
258 | new Icon(Icons.star, color: Colors.black54, size: 16.0),
259 | new Icon(Icons.star, color: Colors.black12, size: 16.0),
260 | new Icon(Icons.star, color: Colors.black12, size: 16.0),
261 | new Icon(Icons.star, color: Colors.black12, size: 16.0),
262 | new Icon(Icons.star, color: Colors.black12, size: 16.0),
263 | ],
264 | ),
265 | new Padding(padding: new EdgeInsets.only(right: 24.0)),
266 | new Expanded
267 | (
268 | child: new Theme
269 | (
270 | data: new ThemeData(accentColor: Colors.red),
271 | child: new LinearProgressIndicator
272 | (
273 | value: 0.12,
274 | backgroundColor: Colors.black12,
275 | ),
276 | ),
277 | ),
278 | ],
279 | ),
280 | ),
281 | ],
282 | ),
283 | ),
284 | new Divider(),
285 | /// Review
286 | new Padding
287 | (
288 | padding: new EdgeInsets.only(left: 16.0, right: 16.0, bottom: 16.0),
289 | child: new Material
290 | (
291 | elevation: 12.0,
292 | color: Colors.white,
293 | borderRadius: new BorderRadius.only
294 | (
295 | topRight: new Radius.circular(20.0),
296 | bottomLeft: new Radius.circular(20.0),
297 | bottomRight: new Radius.circular(20.0),
298 | ),
299 | child: new Container
300 | (
301 | margin: new EdgeInsets.symmetric(vertical: 10.0, horizontal: 0.0),
302 | child: new Container
303 | (
304 | child: new ListTile
305 | (
306 | leading: new CircleAvatar
307 | (
308 | backgroundColor: Colors.purple,
309 | child: new Text('AI'),
310 | ),
311 | title: new Text('Ivascu Adrian ★★★★★', style: new TextStyle()),
312 | subtitle: new Text('The shoes were shipped one day before the shipping date, but this wasn\'t at all a problem :). The shoes are very comfortable and good looking.', style: new TextStyle()),
313 | ),
314 | ),
315 | ),
316 | ),
317 | ),
318 | /// Review reply
319 | new Padding
320 | (
321 | padding: new EdgeInsets.only(left: 16.0, right: 16.0, bottom: 16.0),
322 | child: new Row
323 | (
324 | mainAxisSize: MainAxisSize.min,
325 | mainAxisAlignment: MainAxisAlignment.end,
326 | children: [
327 | new Material
328 | (
329 | elevation: 12.0,
330 | color: Colors.tealAccent,
331 | borderRadius: new BorderRadius.only
332 | (
333 | topLeft: new Radius.circular(20.0),
334 | bottomLeft: new Radius.circular(20.0),
335 | bottomRight: new Radius.circular(20.0),
336 | ),
337 | child: new Container
338 | (
339 | margin: new EdgeInsets.symmetric(vertical: 10.0, horizontal: 16.0),
340 | child: new Text('Happy to hear that!', style: Theme.of(context).textTheme.subhead),
341 | ),
342 | ),
343 | ],
344 | ),
345 | ),
346 | new Divider(),
347 | /// Review
348 | new Padding
349 | (
350 | padding: new EdgeInsets.only(left: 16.0, right: 16.0, bottom: 16.0),
351 | child: new Material
352 | (
353 | elevation: 12.0,
354 | color: Colors.white,
355 | borderRadius: new BorderRadius.only
356 | (
357 | topRight: new Radius.circular(20.0),
358 | bottomLeft: new Radius.circular(20.0),
359 | bottomRight: new Radius.circular(20.0),
360 | ),
361 | child: new Container
362 | (
363 | margin: new EdgeInsets.symmetric(vertical: 10.0, horizontal: 0.0),
364 | child: new Column
365 | (
366 | mainAxisAlignment: MainAxisAlignment.start,
367 | crossAxisAlignment: CrossAxisAlignment.end,
368 | children:
369 | [
370 | new Container
371 | (
372 | child: new ListTile
373 | (
374 | leading: new CircleAvatar
375 | (
376 | backgroundColor: Colors.purple,
377 | child: new Text('AI'),
378 | ),
379 | title: new Text('Ivascu Adrian ★★★★★', style: new TextStyle()),
380 | subtitle: new Text('The shoes were shipped one day before the shipping date, but this wasn\'t at all a problem :). The shoes are very comfortable and good looking', style: new TextStyle()),
381 | ),
382 | ),
383 | new Padding
384 | (
385 | padding: new EdgeInsets.only(top: 4.0, right: 10.0),
386 | child: new FlatButton.icon
387 | (
388 | onPressed: () {},
389 | icon: new Icon(Icons.reply, color: Colors.blueAccent),
390 | label: new Text('Reply', style: new TextStyle(color: Colors.blueAccent, fontWeight: FontWeight.w700, fontSize: 16.0))
391 | ),
392 | )
393 | ],
394 | ),
395 | ),
396 | ),
397 | ),
398 | new Divider(),
399 | /// Review
400 | new Padding
401 | (
402 | padding: new EdgeInsets.only(left: 16.0, right: 16.0, bottom: 16.0),
403 | child: new Material
404 | (
405 | elevation: 12.0,
406 | color: Colors.white,
407 | borderRadius: new BorderRadius.only
408 | (
409 | topRight: new Radius.circular(20.0),
410 | bottomLeft: new Radius.circular(20.0),
411 | bottomRight: new Radius.circular(20.0),
412 | ),
413 | child: new Container
414 | (
415 | margin: new EdgeInsets.symmetric(vertical: 10.0, horizontal: 0.0),
416 | child: new Column
417 | (
418 | mainAxisAlignment: MainAxisAlignment.start,
419 | crossAxisAlignment: CrossAxisAlignment.end,
420 | children:
421 | [
422 | new Container
423 | (
424 | child: new ListTile
425 | (
426 | leading: new CircleAvatar
427 | (
428 | backgroundColor: Colors.purple,
429 | child: new Text('AI'),
430 | ),
431 | title: new Text('Ivascu Adrian ★★★★★', style: new TextStyle()),
432 | subtitle: new Text('The shoes were shipped one day before the shipping date, but this wasn\'t at all a problem :). The shoes are very comfortable and good looking', style: new TextStyle()),
433 | ),
434 | ),
435 | new Padding
436 | (
437 | padding: new EdgeInsets.only(top: 4.0, right: 10.0),
438 | child: new FlatButton.icon
439 | (
440 | onPressed: () {},
441 | icon: new Icon(Icons.reply, color: Colors.blueAccent),
442 | label: new Text('Reply', style: new TextStyle(color: Colors.blueAccent, fontWeight: FontWeight.w700, fontSize: 16.0))
443 | ),
444 | )
445 | ],
446 | ),
447 | ),
448 | ),
449 | ),
450 | ]
451 | ),
452 | ),
453 | ],
454 | ),
455 | );
456 | }
457 | }
--------------------------------------------------------------------------------
/lib/pages/main_page.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_sparkline/flutter_sparkline.dart';
3 |
4 | import 'shop_items_page.dart';
5 |
6 | class MainPage extends StatefulWidget
7 | {
8 | @override
9 | _MainPageState createState() => new _MainPageState();
10 | }
11 |
12 | class _MainPageState extends State
13 | {
14 | final List> charts =
15 | [
16 | [0.0, 0.3, 0.7, 0.6, 0.55, 0.8, 1.2, 1.3, 1.35, 0.9, 1.5, 1.7, 1.8, 1.7, 1.2, 0.8, 1.9, 2.0, 2.2, 1.9, 2.2, 2.1, 2.0, 2.3, 2.4, 2.45, 2.6, 3.6, 2.6, 2.7, 2.9, 2.8, 3.4],
17 | [0.0, 0.3, 0.7, 0.6, 0.55, 0.8, 1.2, 1.3, 1.35, 0.9, 1.5, 1.7, 1.8, 1.7, 1.2, 0.8, 1.9, 2.0, 2.2, 1.9, 2.2, 2.1, 2.0, 2.3, 2.4, 2.45, 2.6, 3.6, 2.6, 2.7, 2.9, 2.8, 3.4, 0.0, 0.3, 0.7, 0.6, 0.55, 0.8, 1.2, 1.3, 1.35, 0.9, 1.5, 1.7, 1.8, 1.7, 1.2, 0.8, 1.9, 2.0, 2.2, 1.9, 2.2, 2.1, 2.0, 2.3, 2.4, 2.45, 2.6, 3.6, 2.6, 2.7, 2.9, 2.8, 3.4,],
18 | [0.0, 0.3, 0.7, 0.6, 0.55, 0.8, 1.2, 1.3, 1.35, 0.9, 1.5, 1.7, 1.8, 1.7, 1.2, 0.8, 1.9, 2.0, 2.2, 1.9, 2.2, 2.1, 2.0, 2.3, 2.4, 2.45, 2.6, 3.6, 2.6, 2.7, 2.9, 2.8, 3.4, 0.0, 0.3, 0.7, 0.6, 0.55, 0.8, 1.2, 1.3, 1.35, 0.9, 1.5, 1.7, 1.8, 1.7, 1.2, 0.8, 1.9, 2.0, 2.2, 1.9, 2.2, 2.1, 2.0, 2.3, 2.4, 2.45, 2.6, 3.6, 2.6, 2.7, 2.9, 2.8, 3.4, 0.0, 0.3, 0.7, 0.6, 0.55, 0.8, 1.2, 1.3, 1.35, 0.9, 1.5, 1.7, 1.8, 1.7, 1.2, 0.8, 1.9, 2.0, 2.2, 1.9, 2.2, 2.1, 2.0, 2.3, 2.4, 2.45, 2.6, 3.6, 2.6, 2.7, 2.9, 2.8, 3.4]
19 | ];
20 |
21 | static final List chartDropdownItems = [ 'Last 7 days', 'Last month', 'Last year' ];
22 | String actualDropdown = chartDropdownItems[0];
23 | int actualChart = 0;
24 |
25 | @override
26 | Widget build(BuildContext context)
27 | {
28 | return new Scaffold
29 | (
30 | appBar: new AppBar
31 | (
32 | elevation: 2.0,
33 | backgroundColor: Colors.white,
34 | title: new Text('Dashboard', style: new TextStyle(color: Colors.black, fontWeight: FontWeight.w700, fontSize: 30.0)),
35 | actions:
36 | [
37 | new Container
38 | (
39 | margin: new EdgeInsets.only(right: 8.0),
40 | child: new Row
41 | (
42 | mainAxisAlignment: MainAxisAlignment.center,
43 | crossAxisAlignment: CrossAxisAlignment.center,
44 | children:
45 | [
46 | new Text('beclothed.com', style: new TextStyle(color: Colors.blue, fontWeight: FontWeight.w700, fontSize: 14.0)),
47 | new Icon(Icons.arrow_drop_down, color: Colors.black54)
48 | ],
49 | ),
50 | )
51 | ],
52 | ),
53 | body: new ListView
54 | (
55 | scrollDirection: Axis.vertical,
56 | padding: new EdgeInsets.symmetric(horizontal: 16.0),
57 | children:
58 | [
59 | new Padding(padding: new EdgeInsets.only(top: 16.0)),
60 | new Container
61 | (
62 | margin: new EdgeInsets.only(bottom: 16.0),
63 | child: new Material
64 | (
65 | elevation: 14.0,
66 | borderRadius: new BorderRadius.circular(12.0),
67 | shadowColor: new Color(0x802196F3),
68 | child: new InkWell
69 | (
70 | onTap: () {},
71 | child: new Padding
72 | (
73 | padding: const EdgeInsets.all(24.0),
74 | child: new Row
75 | (
76 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
77 | crossAxisAlignment: CrossAxisAlignment.center,
78 | children:
79 | [
80 | new Column
81 | (
82 | mainAxisAlignment: MainAxisAlignment.center,
83 | crossAxisAlignment: CrossAxisAlignment.start,
84 | children:
85 | [
86 | new Text('Total Views', style: new TextStyle(color: Colors.blueAccent)),
87 | new Text('265K', style: new TextStyle(color: Colors.black, fontWeight: FontWeight.w700, fontSize: 34.0))
88 | ],
89 | ),
90 | new Material
91 | (
92 | color: Colors.blue,
93 | borderRadius: new BorderRadius.circular(24.0),
94 | child: new Center
95 | (
96 | child: new Padding
97 | (
98 | padding: const EdgeInsets.all(16.0),
99 | child: new Icon(Icons.timeline, color: Colors.white, size: 30.0),
100 | )
101 | )
102 | )
103 | ]
104 | ),
105 | ),
106 | )
107 | )
108 | ),
109 | new Container
110 | (
111 | margin: new EdgeInsets.only(bottom: 16.0),
112 | child: new Row
113 | (
114 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
115 | children:
116 | [
117 | new Material
118 | (
119 | elevation: 14.0,
120 | borderRadius: new BorderRadius.circular(12.0),
121 | shadowColor: new Color(0x802196F3),
122 | child: new InkWell
123 | (
124 | onTap: () {},
125 | child: new Padding
126 | (
127 | padding: const EdgeInsets.all(24.0),
128 | child: new Column
129 | (
130 | mainAxisAlignment: MainAxisAlignment.start,
131 | crossAxisAlignment: CrossAxisAlignment.start,
132 | children:
133 | [
134 | new Material
135 | (
136 | color: Colors.teal,
137 | shape: new CircleBorder(),
138 | child: new Padding
139 | (
140 | padding: const EdgeInsets.all(16.0),
141 | child: new Icon(Icons.settings_applications, color: Colors.white, size: 30.0),
142 | )
143 | ),
144 | new Padding(padding: new EdgeInsets.only(bottom: 16.0)),
145 | new Text('General', style: new TextStyle(color: Colors.black, fontWeight: FontWeight.w700, fontSize: 24.0)),
146 | new Text('Images, Videos', style: new TextStyle(color: Colors.black45)),
147 | ]
148 | ),
149 | ),
150 | )
151 | ),
152 | new Material
153 | (
154 | elevation: 14.0,
155 | borderRadius: new BorderRadius.circular(12.0),
156 | shadowColor: new Color(0x802196F3),
157 | child: new InkWell
158 | (
159 | onTap: () {},
160 | child: new Padding
161 | (
162 | padding: const EdgeInsets.all(24.0),
163 | child: new Column
164 | (
165 | mainAxisAlignment: MainAxisAlignment.start,
166 | crossAxisAlignment: CrossAxisAlignment.start,
167 | children:
168 | [
169 | new Material
170 | (
171 | color: Colors.amber,
172 | shape: new CircleBorder(),
173 | child: new Padding
174 | (
175 | padding: const EdgeInsets.all(16.0),
176 | child: new Icon(Icons.notifications, color: Colors.white, size: 30.0),
177 | )
178 | ),
179 | new Padding(padding: new EdgeInsets.only(bottom: 16.0)),
180 | new Text('Notification', style: new TextStyle(color: Colors.black, fontWeight: FontWeight.w700, fontSize: 24.0)),
181 | new Text('All ', style: new TextStyle(color: Colors.black45)),
182 | ]
183 | ),
184 | ),
185 | )
186 | ),
187 | ],
188 | )
189 | ),
190 | new Container
191 | (
192 | margin: new EdgeInsets.only(bottom: 16.0),
193 | child: new Material
194 | (
195 | elevation: 14.0,
196 | borderRadius: new BorderRadius.circular(12.0),
197 | shadowColor: new Color(0x802196F3),
198 | child: new InkWell
199 | (
200 | onTap: () {},
201 | child: new Padding
202 | (
203 | padding: const EdgeInsets.all(24.0),
204 | child: new Column
205 | (
206 | mainAxisAlignment: MainAxisAlignment.start,
207 | crossAxisAlignment: CrossAxisAlignment.start,
208 | children:
209 | [
210 | new Row
211 | (
212 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
213 | crossAxisAlignment: CrossAxisAlignment.start,
214 | children:
215 | [
216 | new Column
217 | (
218 | mainAxisAlignment: MainAxisAlignment.start,
219 | crossAxisAlignment: CrossAxisAlignment.start,
220 | children:
221 | [
222 | new Text('Revenue', style: new TextStyle(color: Colors.green)),
223 | new Text('\$16K', style: new TextStyle(color: Colors.black, fontWeight: FontWeight.w700, fontSize: 34.0)),
224 | ],
225 | ),
226 | new DropdownButton
227 | (
228 | isDense: true,
229 | value: actualDropdown,
230 | onChanged: (String value) => setState(()
231 | {
232 | actualDropdown = value;
233 | actualChart = chartDropdownItems.indexOf(value); // Refresh the chart
234 | }),
235 | items: chartDropdownItems.map((String title)
236 | {
237 | return new DropdownMenuItem
238 | (
239 | value: title,
240 | child: new Text(title, style: new TextStyle(color: Colors.blue, fontWeight: FontWeight.w400, fontSize: 14.0)),
241 | );
242 | }).toList()
243 | )
244 | ],
245 | ),
246 | new Padding(padding: new EdgeInsets.only(bottom: 4.0)),
247 | new Sparkline
248 | (
249 | data: charts[actualChart],
250 | lineWidth: 5.0,
251 | lineColor: Colors.greenAccent,
252 | )
253 | ],
254 | )
255 | ),
256 | )
257 | )
258 | ),
259 | new Container
260 | (
261 | margin: new EdgeInsets.only(bottom: 16.0),
262 | child: new Material
263 | (
264 | elevation: 14.0,
265 | borderRadius: new BorderRadius.circular(12.0),
266 | shadowColor: new Color(0x802196F3),
267 | child: new InkWell
268 | (
269 | onTap: () => Navigator.of(context).push(new MaterialPageRoute(builder: (_) => new ShopItemsPage())),
270 | child: new Padding
271 | (
272 | padding: const EdgeInsets.all(24.0),
273 | child: new Row
274 | (
275 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
276 | crossAxisAlignment: CrossAxisAlignment.center,
277 | children:
278 | [
279 | new Column
280 | (
281 | mainAxisAlignment: MainAxisAlignment.center,
282 | crossAxisAlignment: CrossAxisAlignment.start,
283 | children:
284 | [
285 | new Text('Shop Items', style: new TextStyle(color: Colors.redAccent)),
286 | new Text('173', style: new TextStyle(color: Colors.black, fontWeight: FontWeight.w700, fontSize: 34.0))
287 | ],
288 | ),
289 | new Material
290 | (
291 | color: Colors.red,
292 | borderRadius: new BorderRadius.circular(24.0),
293 | child: new Center
294 | (
295 | child: new Padding
296 | (
297 | padding: new EdgeInsets.all(16.0),
298 | child: new Icon(Icons.store, color: Colors.white, size: 30.0),
299 | )
300 | )
301 | )
302 | ]
303 | ),
304 | ),
305 | )
306 | )
307 | ),
308 | ],
309 | )
310 | );
311 | }
312 | }
--------------------------------------------------------------------------------
/lib/pages/shop_items_page.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'item_reviews_page.dart';
3 |
4 | class ShopItemsPage extends StatefulWidget
5 | {
6 | @override
7 | _ShopItemsPageState createState() => new _ShopItemsPageState();
8 | }
9 |
10 | class _ShopItemsPageState extends State
11 | {
12 | @override
13 | Widget build(BuildContext context)
14 | {
15 | return new Scaffold
16 | (
17 | appBar: new AppBar
18 | (
19 | elevation: 0.0,
20 | backgroundColor: Colors.transparent,
21 | leading: new IconButton
22 | (
23 | color: Colors.black,
24 | onPressed: () => Navigator.of(context).pop(),
25 | icon: new Icon(Icons.arrow_back, color: Colors.black),
26 | ),
27 | title: new Text('Shop Items (3)', style: new TextStyle(color: Colors.black, fontWeight: FontWeight.w700)),
28 | // actions:
29 | // [
30 | // new Container
31 | // (
32 | // margin: new EdgeInsets.only(right: 8.0),
33 | // child: new Row
34 | // (
35 | // mainAxisAlignment: MainAxisAlignment.center,
36 | // crossAxisAlignment: CrossAxisAlignment.center,
37 | // children:
38 | // [
39 | // new Text('beclothed.com', style: new TextStyle(color: Colors.white, fontWeight: FontWeight.w700, fontSize: 14.0)),
40 | // new Icon(Icons.arrow_drop_down, color: Colors.black54)
41 | // ],
42 | // ),
43 | // )
44 | // ],
45 | ),
46 | body: new ListView
47 | (
48 | scrollDirection: Axis.vertical,
49 | padding: new EdgeInsets.symmetric(horizontal: 16.0),
50 | children:
51 | [
52 | new Container
53 | (
54 | margin: new EdgeInsets.symmetric(vertical: 16.0, horizontal: 54.0),
55 | child: new Material
56 | (
57 | elevation: 8.0,
58 | color: Colors.black,
59 | borderRadius: new BorderRadius.circular(32.0),
60 | child: new InkWell
61 | (
62 | onTap: () {},
63 | child: new Padding
64 | (
65 | padding: new EdgeInsets.all(12.0),
66 | child: new Row
67 | (
68 | mainAxisSize: MainAxisSize.min,
69 | mainAxisAlignment: MainAxisAlignment.center,
70 | crossAxisAlignment: CrossAxisAlignment.center,
71 | children:
72 | [
73 | new Icon(Icons.add, color: Colors.white),
74 | new Padding(padding: new EdgeInsets.only(right: 16.0)),
75 | new Text('ADD A NEW ITEM', style: new TextStyle(color: Colors.white))
76 | ],
77 | ),
78 | ),
79 | ),
80 | )
81 | ),
82 | new ShopItem(),
83 | new BadShopItem(),
84 | new NewShopItem()
85 | ],
86 | )
87 | );
88 | }
89 | }
90 |
91 | class ShopItem extends StatelessWidget
92 | {
93 | @override
94 | Widget build(BuildContext context)
95 | {
96 | return new Padding
97 | (
98 | padding: new EdgeInsets.only(bottom: 16.0),
99 | child: new Stack
100 | (
101 | children:
102 | [
103 | /// Item card
104 | new Align
105 | (
106 | alignment: Alignment.topCenter,
107 | child: new SizedBox.fromSize
108 | (
109 | size: new Size.fromHeight(172.0),
110 | child: new Stack
111 | (
112 | fit: StackFit.expand,
113 | children:
114 | [
115 | /// Item description inside a material
116 | new Container
117 | (
118 | margin: new EdgeInsets.only(top: 24.0),
119 | child: new Material
120 | (
121 | elevation: 14.0,
122 | borderRadius: new BorderRadius.circular(12.0),
123 | shadowColor: new Color(0x802196F3),
124 | color: Colors.white,
125 | child: new InkWell
126 | (
127 | onTap: () => Navigator.of(context).push(new MaterialPageRoute(builder: (_) => new ItemReviewsPage())),
128 | child: new Padding
129 | (
130 | padding: new EdgeInsets.all(24.0),
131 | child: new Column
132 | (
133 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
134 | crossAxisAlignment: CrossAxisAlignment.start,
135 | children:
136 | [
137 | /// Title and rating
138 | new Column
139 | (
140 | mainAxisAlignment: MainAxisAlignment.start,
141 | crossAxisAlignment: CrossAxisAlignment.start,
142 | children:
143 | [
144 | new Text('Nike Jordan III', style: new TextStyle(color: Colors.blueAccent)),
145 | new Row
146 | (
147 | mainAxisAlignment: MainAxisAlignment.start,
148 | crossAxisAlignment: CrossAxisAlignment.center,
149 | children:
150 | [
151 | new Text('4.6', style: new TextStyle(color: Colors.black, fontWeight: FontWeight.w700, fontSize: 34.0)),
152 | new Icon(Icons.star, color: Colors.black, size: 24.0),
153 | ],
154 | ),
155 | ],
156 | ),
157 | /// Infos
158 | new Row
159 | (
160 | mainAxisAlignment: MainAxisAlignment.start,
161 | crossAxisAlignment: CrossAxisAlignment.center,
162 | children:
163 | [
164 | new Text('Bought', style: new TextStyle()),
165 | new Padding
166 | (
167 | padding: new EdgeInsets.symmetric(horizontal: 4.0),
168 | child: new Text('1,361', style: new TextStyle(fontWeight: FontWeight.w700)),
169 | ),
170 | new Text('times for a profit of', style: new TextStyle()),
171 | new Padding
172 | (
173 | padding: new EdgeInsets.symmetric(horizontal: 4.0),
174 | child: new Material
175 | (
176 | borderRadius: new BorderRadius.circular(8.0),
177 | color: Colors.green,
178 | child: new Padding
179 | (
180 | padding: new EdgeInsets.all(4.0),
181 | child: new Text('\$ 13K', style: new TextStyle(color: Colors.white)),
182 | ),
183 | ),
184 | ),
185 | ],
186 | ),
187 | ],
188 | ),
189 | ),
190 | ),
191 | ),
192 | ),
193 | /// Item image
194 | new Align
195 | (
196 | alignment: Alignment.topRight,
197 | child: new Padding
198 | (
199 | padding: new EdgeInsets.only(right: 16.0),
200 | child: new SizedBox.fromSize
201 | (
202 | size: new Size.fromRadius(54.0),
203 | child: new Material
204 | (
205 | elevation: 20.0,
206 | shadowColor: new Color(0x802196F3),
207 | shape: new CircleBorder(),
208 | child: new Image.asset('res/shoes1.png'),
209 | ),
210 | ),
211 | ),
212 | ),
213 | ],
214 | )
215 | ),
216 | ),
217 | /// Review
218 | new Padding
219 | (
220 | padding: new EdgeInsets.only(top: 160.0, left: 32.0),
221 | child: new Material
222 | (
223 | elevation: 12.0,
224 | color: Colors.transparent,
225 | borderRadius: new BorderRadius.only
226 | (
227 | topLeft: new Radius.circular(20.0),
228 | bottomLeft: new Radius.circular(20.0),
229 | bottomRight: new Radius.circular(20.0),
230 | ),
231 | child: new Container
232 | (
233 | decoration: new BoxDecoration
234 | (
235 | gradient: new LinearGradient
236 | (
237 | colors: [ new Color(0xFF84fab0), new Color(0xFF8fd3f4) ],
238 | end: Alignment.topLeft,
239 | begin: Alignment.bottomRight
240 | )
241 | ),
242 | child: new Container
243 | (
244 | margin: new EdgeInsets.symmetric(vertical: 4.0),
245 | child: new ListTile
246 | (
247 | leading: new CircleAvatar
248 | (
249 | backgroundColor: Colors.purple,
250 | child: new Text('AI'),
251 | ),
252 | title: new Text('Ivascu Adrian ★★★★★', style: new TextStyle()),
253 | subtitle: new Text('The shoes were shipped one day before the shipping date, but this wasn\'t at all a problem :). The shoes are very comfortable and good looking', maxLines: 2, overflow: TextOverflow.ellipsis, style: new TextStyle()),
254 | ),
255 | ),
256 | ),
257 | ),
258 | )
259 | ],
260 | ),
261 | );
262 | }
263 | }
264 |
265 | class BadShopItem extends StatelessWidget
266 | {
267 | @override
268 | Widget build(BuildContext context)
269 | {
270 | return new Padding
271 | (
272 | padding: new EdgeInsets.only(bottom: 16.0),
273 | child: new Stack
274 | (
275 | children:
276 | [
277 | /// Item card
278 | new Align
279 | (
280 | alignment: Alignment.topCenter,
281 | child: new SizedBox.fromSize
282 | (
283 | size: new Size.fromHeight(172.0),
284 | child: new Stack
285 | (
286 | fit: StackFit.expand,
287 | children:
288 | [
289 | /// Item description inside a material
290 | new Container
291 | (
292 | margin: new EdgeInsets.only(top: 24.0),
293 | child: new Material
294 | (
295 | elevation: 14.0,
296 | borderRadius: new BorderRadius.circular(12.0),
297 | shadowColor: new Color(0x802196F3),
298 | color: Colors.transparent,
299 | child: new Container
300 | (
301 | decoration: new BoxDecoration
302 | (
303 | gradient: new LinearGradient
304 | (
305 | colors: [ new Color(0xFFDA4453), new Color(0xFF89216B) ]
306 | )
307 | ),
308 | child: new Padding
309 | (
310 | padding: new EdgeInsets.all(24.0),
311 | child: new Column
312 | (
313 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
314 | crossAxisAlignment: CrossAxisAlignment.start,
315 | children:
316 | [
317 | /// Title and rating
318 | new Column
319 | (
320 | mainAxisAlignment: MainAxisAlignment.start,
321 | crossAxisAlignment: CrossAxisAlignment.start,
322 | children:
323 | [
324 | new Text('Nike Jordan III', style: new TextStyle(color: Colors.white)),
325 | new Row
326 | (
327 | mainAxisAlignment: MainAxisAlignment.start,
328 | crossAxisAlignment: CrossAxisAlignment.center,
329 | children:
330 | [
331 | new Text('1.3', style: new TextStyle(color: Colors.amber, fontWeight: FontWeight.w700, fontSize: 34.0)),
332 | new Icon(Icons.star, color: Colors.amber, size: 24.0),
333 | ],
334 | ),
335 | ],
336 | ),
337 | /// Infos
338 | new Row
339 | (
340 | mainAxisAlignment: MainAxisAlignment.start,
341 | crossAxisAlignment: CrossAxisAlignment.center,
342 | children:
343 | [
344 | new Text('Bought', style: new TextStyle(color: Colors.white)),
345 | new Padding
346 | (
347 | padding: new EdgeInsets.symmetric(horizontal: 4.0),
348 | child: new Text('3', style: new TextStyle(color: Colors.white, fontWeight: FontWeight.w700)),
349 | ),
350 | new Text('times for a profit of', style: new TextStyle(color: Colors.white)),
351 | new Padding
352 | (
353 | padding: new EdgeInsets.symmetric(horizontal: 4.0),
354 | child: new Material
355 | (
356 | borderRadius: new BorderRadius.circular(8.0),
357 | color: Colors.green,
358 | child: new Padding
359 | (
360 | padding: new EdgeInsets.all(4.0),
361 | child: new Text('\$ 363', style: new TextStyle(color: Colors.white)),
362 | ),
363 | ),
364 | ),
365 | ],
366 | ),
367 | ],
368 | ),
369 | ),
370 | ),
371 | ),
372 | ),
373 | /// Item image
374 | new Align
375 | (
376 | alignment: Alignment.topRight,
377 | child: new Padding
378 | (
379 | padding: new EdgeInsets.only(right: 16.0),
380 | child: new SizedBox.fromSize
381 | (
382 | size: new Size.fromRadius(54.0),
383 | child: new Material
384 | (
385 | elevation: 20.0,
386 | shadowColor: new Color(0x802196F3),
387 | shape: new CircleBorder(),
388 | child: new Image.asset('res/shoes1.png'),
389 | ),
390 | ),
391 | ),
392 | ),
393 | ],
394 | )
395 | ),
396 | ),
397 | /// Review
398 | new Padding
399 | (
400 | padding: new EdgeInsets.only(top: 160.0, right: 32.0,),
401 | child: new Material
402 | (
403 | elevation: 12.0,
404 | color: Colors.white,
405 | borderRadius: new BorderRadius.only
406 | (
407 | topRight: new Radius.circular(20.0),
408 | bottomLeft: new Radius.circular(20.0),
409 | bottomRight: new Radius.circular(20.0),
410 | ),
411 | child: new Container
412 | (
413 | margin: new EdgeInsets.symmetric(vertical: 4.0),
414 | child: new ListTile
415 | (
416 | leading: new CircleAvatar
417 | (
418 | backgroundColor: Colors.purple,
419 | child: new Text('AI'),
420 | ),
421 | title: new Text('Ivascu Adrian ★☆☆☆☆'),
422 | subtitle: new Text('The shoes that arrived weren\'t the same as the ones in the image...', maxLines: 2, overflow: TextOverflow.ellipsis),
423 | ),
424 | ),
425 | ),
426 | )
427 | ],
428 | ),
429 | );
430 | }
431 | }
432 |
433 | class NewShopItem extends StatelessWidget
434 | {
435 | @override
436 | Widget build(BuildContext context)
437 | {
438 | return new Padding
439 | (
440 | padding: new EdgeInsets.only(bottom: 16.0),
441 | child: new Align
442 | (
443 | alignment: Alignment.topCenter,
444 | child: new SizedBox.fromSize
445 | (
446 | size: new Size.fromHeight(172.0),
447 | child: new Stack
448 | (
449 | fit: StackFit.expand,
450 | children:
451 | [
452 | /// Item description inside a material
453 | new Container
454 | (
455 | margin: new EdgeInsets.only(top: 24.0),
456 | child: new Material
457 | (
458 | elevation: 14.0,
459 | borderRadius: new BorderRadius.circular(12.0),
460 | shadowColor: new Color(0x802196F3),
461 | color: Colors.white,
462 | child: new Padding
463 | (
464 | padding: new EdgeInsets.all(24.0),
465 | child: new Column
466 | (
467 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
468 | crossAxisAlignment: CrossAxisAlignment.start,
469 | children:
470 | [
471 | /// Title and rating
472 | new Column
473 | (
474 | mainAxisAlignment: MainAxisAlignment.start,
475 | crossAxisAlignment: CrossAxisAlignment.start,
476 | children:
477 | [
478 | new Text('[New] Nike Jordan III', style: new TextStyle(color: Colors.blueAccent)),
479 | new Row
480 | (
481 | mainAxisAlignment: MainAxisAlignment.start,
482 | crossAxisAlignment: CrossAxisAlignment.center,
483 | children:
484 | [
485 | new Text('No reviews', style: new TextStyle(color: Colors.black, fontWeight: FontWeight.w700, fontSize: 34.0)),
486 | ],
487 | ),
488 | ],
489 | ),
490 | /// Infos
491 | new Row
492 | (
493 | mainAxisAlignment: MainAxisAlignment.start,
494 | crossAxisAlignment: CrossAxisAlignment.center,
495 | children:
496 | [
497 | new Text('Bought', style: new TextStyle()),
498 | new Padding
499 | (
500 | padding: new EdgeInsets.symmetric(horizontal: 4.0),
501 | child: new Text('0', style: new TextStyle(fontWeight: FontWeight.w700)),
502 | ),
503 | new Text('times for a profit of', style: new TextStyle()),
504 | new Padding
505 | (
506 | padding: new EdgeInsets.symmetric(horizontal: 4.0),
507 | child: new Material
508 | (
509 | borderRadius: new BorderRadius.circular(8.0),
510 | color: Colors.green,
511 | child: new Padding
512 | (
513 | padding: new EdgeInsets.all(4.0),
514 | child: new Text('\$ 0', style: new TextStyle(color: Colors.white)),
515 | ),
516 | ),
517 | ),
518 | ],
519 | ),
520 | ],
521 | ),
522 | ),
523 | ),
524 | ),
525 | /// Item image
526 | new Align
527 | (
528 | alignment: Alignment.topRight,
529 | child: new Padding
530 | (
531 | padding: new EdgeInsets.only(right: 16.0),
532 | child: new SizedBox.fromSize
533 | (
534 | size: new Size.fromRadius(54.0),
535 | child: new Material
536 | (
537 | elevation: 20.0,
538 | shadowColor: new Color(0x802196F3),
539 | shape: new CircleBorder(),
540 | child: new Image.asset('res/shoes1.png'),
541 | ),
542 | ),
543 | ),
544 | ),
545 | ],
546 | )
547 | ),
548 | ),
549 | );
550 | }
551 | }
--------------------------------------------------------------------------------
/media/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/media/screenshot.png
--------------------------------------------------------------------------------
/media/screenshot.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/media/screenshot.psd
--------------------------------------------------------------------------------
/pubspec.lock:
--------------------------------------------------------------------------------
1 | # Generated by pub
2 | # See https://www.dartlang.org/tools/pub/glossary#lockfile
3 | packages:
4 | analyzer:
5 | dependency: transitive
6 | description:
7 | name: analyzer
8 | url: "https://pub.dartlang.org"
9 | source: hosted
10 | version: "0.31.1"
11 | args:
12 | dependency: transitive
13 | description:
14 | name: args
15 | url: "https://pub.dartlang.org"
16 | source: hosted
17 | version: "1.4.1"
18 | async:
19 | dependency: transitive
20 | description:
21 | name: async
22 | url: "https://pub.dartlang.org"
23 | source: hosted
24 | version: "2.0.6"
25 | barback:
26 | dependency: transitive
27 | description:
28 | name: barback
29 | url: "https://pub.dartlang.org"
30 | source: hosted
31 | version: "0.15.2+14"
32 | boolean_selector:
33 | dependency: transitive
34 | description:
35 | name: boolean_selector
36 | url: "https://pub.dartlang.org"
37 | source: hosted
38 | version: "1.0.3"
39 | charcode:
40 | dependency: transitive
41 | description:
42 | name: charcode
43 | url: "https://pub.dartlang.org"
44 | source: hosted
45 | version: "1.1.1"
46 | cli_util:
47 | dependency: transitive
48 | description:
49 | name: cli_util
50 | url: "https://pub.dartlang.org"
51 | source: hosted
52 | version: "0.1.2+1"
53 | collection:
54 | dependency: transitive
55 | description:
56 | name: collection
57 | url: "https://pub.dartlang.org"
58 | source: hosted
59 | version: "1.14.6"
60 | convert:
61 | dependency: transitive
62 | description:
63 | name: convert
64 | url: "https://pub.dartlang.org"
65 | source: hosted
66 | version: "2.0.1"
67 | crypto:
68 | dependency: transitive
69 | description:
70 | name: crypto
71 | url: "https://pub.dartlang.org"
72 | source: hosted
73 | version: "2.0.2+1"
74 | csslib:
75 | dependency: transitive
76 | description:
77 | name: csslib
78 | url: "https://pub.dartlang.org"
79 | source: hosted
80 | version: "0.14.1"
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.1"
88 | flutter:
89 | dependency: "direct main"
90 | description: flutter
91 | source: sdk
92 | version: "0.0.0"
93 | flutter_sparkline:
94 | dependency: "direct main"
95 | description:
96 | name: flutter_sparkline
97 | url: "https://pub.dartlang.org"
98 | source: hosted
99 | version: "0.0.4"
100 | flutter_test:
101 | dependency: "direct dev"
102 | description: flutter
103 | source: sdk
104 | version: "0.0.0"
105 | front_end:
106 | dependency: transitive
107 | description:
108 | name: front_end
109 | url: "https://pub.dartlang.org"
110 | source: hosted
111 | version: "0.1.0-alpha.9"
112 | glob:
113 | dependency: transitive
114 | description:
115 | name: glob
116 | url: "https://pub.dartlang.org"
117 | source: hosted
118 | version: "1.1.5"
119 | html:
120 | dependency: transitive
121 | description:
122 | name: html
123 | url: "https://pub.dartlang.org"
124 | source: hosted
125 | version: "0.13.3"
126 | http:
127 | dependency: transitive
128 | description:
129 | name: http
130 | url: "https://pub.dartlang.org"
131 | source: hosted
132 | version: "0.11.3+16"
133 | http_multi_server:
134 | dependency: transitive
135 | description:
136 | name: http_multi_server
137 | url: "https://pub.dartlang.org"
138 | source: hosted
139 | version: "2.0.4"
140 | http_parser:
141 | dependency: transitive
142 | description:
143 | name: http_parser
144 | url: "https://pub.dartlang.org"
145 | source: hosted
146 | version: "3.1.1"
147 | io:
148 | dependency: transitive
149 | description:
150 | name: io
151 | url: "https://pub.dartlang.org"
152 | source: hosted
153 | version: "0.3.2+1"
154 | isolate:
155 | dependency: transitive
156 | description:
157 | name: isolate
158 | url: "https://pub.dartlang.org"
159 | source: hosted
160 | version: "1.1.0"
161 | js:
162 | dependency: transitive
163 | description:
164 | name: js
165 | url: "https://pub.dartlang.org"
166 | source: hosted
167 | version: "0.6.1"
168 | kernel:
169 | dependency: transitive
170 | description:
171 | name: kernel
172 | url: "https://pub.dartlang.org"
173 | source: hosted
174 | version: "0.3.0-alpha.9"
175 | logging:
176 | dependency: transitive
177 | description:
178 | name: logging
179 | url: "https://pub.dartlang.org"
180 | source: hosted
181 | version: "0.11.3+1"
182 | matcher:
183 | dependency: transitive
184 | description:
185 | name: matcher
186 | url: "https://pub.dartlang.org"
187 | source: hosted
188 | version: "0.12.1+4"
189 | meta:
190 | dependency: transitive
191 | description:
192 | name: meta
193 | url: "https://pub.dartlang.org"
194 | source: hosted
195 | version: "1.1.2"
196 | mime:
197 | dependency: transitive
198 | description:
199 | name: mime
200 | url: "https://pub.dartlang.org"
201 | source: hosted
202 | version: "0.9.6"
203 | mockito:
204 | dependency: transitive
205 | description:
206 | name: mockito
207 | url: "https://pub.dartlang.org"
208 | source: hosted
209 | version: "2.2.3"
210 | multi_server_socket:
211 | dependency: transitive
212 | description:
213 | name: multi_server_socket
214 | url: "https://pub.dartlang.org"
215 | source: hosted
216 | version: "1.0.1"
217 | node_preamble:
218 | dependency: transitive
219 | description:
220 | name: node_preamble
221 | url: "https://pub.dartlang.org"
222 | source: hosted
223 | version: "1.4.0"
224 | package_config:
225 | dependency: transitive
226 | description:
227 | name: package_config
228 | url: "https://pub.dartlang.org"
229 | source: hosted
230 | version: "1.0.3"
231 | package_resolver:
232 | dependency: transitive
233 | description:
234 | name: package_resolver
235 | url: "https://pub.dartlang.org"
236 | source: hosted
237 | version: "1.0.2"
238 | path:
239 | dependency: transitive
240 | description:
241 | name: path
242 | url: "https://pub.dartlang.org"
243 | source: hosted
244 | version: "1.5.1"
245 | plugin:
246 | dependency: transitive
247 | description:
248 | name: plugin
249 | url: "https://pub.dartlang.org"
250 | source: hosted
251 | version: "0.2.0+2"
252 | pool:
253 | dependency: transitive
254 | description:
255 | name: pool
256 | url: "https://pub.dartlang.org"
257 | source: hosted
258 | version: "1.3.4"
259 | pub_semver:
260 | dependency: transitive
261 | description:
262 | name: pub_semver
263 | url: "https://pub.dartlang.org"
264 | source: hosted
265 | version: "1.3.2"
266 | quiver:
267 | dependency: transitive
268 | description:
269 | name: quiver
270 | url: "https://pub.dartlang.org"
271 | source: hosted
272 | version: "0.28.0"
273 | shelf:
274 | dependency: transitive
275 | description:
276 | name: shelf
277 | url: "https://pub.dartlang.org"
278 | source: hosted
279 | version: "0.7.2"
280 | shelf_packages_handler:
281 | dependency: transitive
282 | description:
283 | name: shelf_packages_handler
284 | url: "https://pub.dartlang.org"
285 | source: hosted
286 | version: "1.0.3"
287 | shelf_static:
288 | dependency: transitive
289 | description:
290 | name: shelf_static
291 | url: "https://pub.dartlang.org"
292 | source: hosted
293 | version: "0.2.7"
294 | shelf_web_socket:
295 | dependency: transitive
296 | description:
297 | name: shelf_web_socket
298 | url: "https://pub.dartlang.org"
299 | source: hosted
300 | version: "0.2.2"
301 | sky_engine:
302 | dependency: transitive
303 | description: flutter
304 | source: sdk
305 | version: "0.0.99"
306 | source_map_stack_trace:
307 | dependency: transitive
308 | description:
309 | name: source_map_stack_trace
310 | url: "https://pub.dartlang.org"
311 | source: hosted
312 | version: "1.1.4"
313 | source_maps:
314 | dependency: transitive
315 | description:
316 | name: source_maps
317 | url: "https://pub.dartlang.org"
318 | source: hosted
319 | version: "0.10.4"
320 | source_span:
321 | dependency: transitive
322 | description:
323 | name: source_span
324 | url: "https://pub.dartlang.org"
325 | source: hosted
326 | version: "1.4.0"
327 | stack_trace:
328 | dependency: transitive
329 | description:
330 | name: stack_trace
331 | url: "https://pub.dartlang.org"
332 | source: hosted
333 | version: "1.9.2"
334 | stream_channel:
335 | dependency: transitive
336 | description:
337 | name: stream_channel
338 | url: "https://pub.dartlang.org"
339 | source: hosted
340 | version: "1.6.4"
341 | string_scanner:
342 | dependency: transitive
343 | description:
344 | name: string_scanner
345 | url: "https://pub.dartlang.org"
346 | source: hosted
347 | version: "1.0.2"
348 | term_glyph:
349 | dependency: transitive
350 | description:
351 | name: term_glyph
352 | url: "https://pub.dartlang.org"
353 | source: hosted
354 | version: "1.0.0"
355 | test:
356 | dependency: transitive
357 | description:
358 | name: test
359 | url: "https://pub.dartlang.org"
360 | source: hosted
361 | version: "0.12.32+1"
362 | typed_data:
363 | dependency: transitive
364 | description:
365 | name: typed_data
366 | url: "https://pub.dartlang.org"
367 | source: hosted
368 | version: "1.1.5"
369 | utf:
370 | dependency: transitive
371 | description:
372 | name: utf
373 | url: "https://pub.dartlang.org"
374 | source: hosted
375 | version: "0.9.0+4"
376 | vector_math:
377 | dependency: transitive
378 | description:
379 | name: vector_math
380 | url: "https://pub.dartlang.org"
381 | source: hosted
382 | version: "2.0.5"
383 | watcher:
384 | dependency: transitive
385 | description:
386 | name: watcher
387 | url: "https://pub.dartlang.org"
388 | source: hosted
389 | version: "0.9.7+7"
390 | web_socket_channel:
391 | dependency: transitive
392 | description:
393 | name: web_socket_channel
394 | url: "https://pub.dartlang.org"
395 | source: hosted
396 | version: "1.0.7"
397 | yaml:
398 | dependency: transitive
399 | description:
400 | name: yaml
401 | url: "https://pub.dartlang.org"
402 | source: hosted
403 | version: "2.1.13"
404 | sdks:
405 | dart: ">=2.0.0-dev.23.0 <=2.0.0-edge.3c4dccbd46f152be9e1b6ca95c57357e8e48057c"
406 |
--------------------------------------------------------------------------------
/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: dashboard
2 | description: A new Flutter project.
3 |
4 | dependencies:
5 | flutter:
6 | sdk: flutter
7 |
8 | flutter_sparkline: "^0.0.4"
9 | cupertino_icons: ^0.1.0
10 |
11 | dev_dependencies:
12 | flutter_test:
13 | sdk: flutter
14 |
15 |
16 | # For information on the generic Dart part of this file, see the
17 | # following page: https://www.dartlang.org/tools/pub/pubspec
18 |
19 | # The following section is specific to Flutter.
20 | flutter:
21 |
22 | # The following line ensures that the Material Icons font is
23 | # included with your application, so that you can use the icons in
24 | # the material Icons class.
25 | uses-material-design: true
26 |
27 | # To add assets to your application, add an assets section, like this:
28 | assets:
29 | - res/shoes1.png
30 |
31 | # An image asset can refer to one or more resolution-specific "variants", see
32 | # https://flutter.io/assets-and-images/#resolution-aware.
33 |
34 | # For details regarding adding assets from package dependencies, see
35 | # https://flutter.io/assets-and-images/#from-packages
36 |
37 | # To add custom fonts to your application, add a fonts section here,
38 | # in this "flutter" section. Each entry in this list should have a
39 | # "family" key with the font family name, and a "fonts" key with a
40 | # list giving the asset and other descriptors for the font. For
41 | # example:
42 | # fonts:
43 | # - family: Schyler
44 | # fonts:
45 | # - asset: fonts/Schyler-Regular.ttf
46 | # - asset: fonts/Schyler-Italic.ttf
47 | # style: italic
48 | # - family: Trajan Pro
49 | # fonts:
50 | # - asset: fonts/TrajanPro.ttf
51 | # - asset: fonts/TrajanPro_Bold.ttf
52 | # weight: 700
53 | #
54 | # For details regarding fonts from package dependencies,
55 | # see https://flutter.io/custom-fonts/#from-packages
56 |
--------------------------------------------------------------------------------
/res/shoes1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iampawan/dashboard/3ac03fb337fa9cba325d9930bd80927e8ad1f586/res/shoes1.png
--------------------------------------------------------------------------------