├── README.md
└── flutterdo
├── .gitignore
├── .metadata
├── android.iml
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── example
│ │ │ └── flutterdo
│ │ │ └── MainActivity.java
│ │ └── res
│ │ ├── drawable
│ │ └── launch_background.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-ldpi
│ │ └── 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
├── key.properties
└── settings.gradle
├── assets
└── images
│ ├── Images.js
│ └── avatars
│ ├── avatar-1.jpg
│ ├── avatar-2.jpg
│ ├── avatar-3.jpg
│ └── default-avatar.jpg
├── flutterdo.iml
├── flutterdo_android.iml
├── 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-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-57x57@1x.png
│ │ ├── Icon-App-57x57@2x.png
│ │ ├── Icon-App-60x60@1x.png
│ │ ├── Icon-App-60x60@2x.png
│ │ ├── Icon-App-60x60@3x.png
│ │ ├── Icon-App-72x72@1x.png
│ │ ├── Icon-App-72x72@2x.png
│ │ ├── Icon-App-76x76@1x.png
│ │ ├── Icon-App-76x76@2x.png
│ │ ├── Icon-App-76x76@3x.png
│ │ ├── Icon-App-83.5x83.5@2x.png
│ │ ├── Icon-Small-50x50@1x.png
│ │ ├── Icon-Small-50x50@2x.png
│ │ └── ItunesArtwork@2x.png
│ └── LaunchImage.imageset
│ │ ├── Contents.json
│ │ ├── LaunchImage.png
│ │ ├── LaunchImage@2x.png
│ │ ├── LaunchImage@3x.png
│ │ ├── README.md
│ │ ├── iTunesArtwork@1x.png
│ │ ├── iTunesArtwork@2x.png
│ │ └── iTunesArtwork@3x.png
│ ├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
│ ├── Info.plist
│ └── main.m
├── lib
├── Routes.dart
├── components
│ ├── CalenderCell.dart
│ ├── Task.dart
│ ├── calenderView.dart
│ └── calenderWeekly.dart
├── main.dart
└── screens
│ ├── Calender
│ ├── index.dart
│ └── style.dart
│ └── CalenderWeek
│ └── index.dart
├── pubspec.yaml
├── screenGif
├── calenderDemo.gif
├── monthCalender.png
└── weekCalender.png
└── test
└── widget_test.dart
/README.md:
--------------------------------------------------------------------------------
1 | # Calender-LogicDesign Flutter
2 |
3 | A new open-source Flutter project that enables the developer to create calender design both either whole month calender or weekly calender depends on their design.
4 |
5 | This project contains the basic Widgets that are required to build an amazing Flutter application.
6 |
7 | # Demo
8 | 
9 |
10 | # Screen Shots
11 |
12 | Monthly Calender | Weekly Calender
13 | :-------------------------:|:-------------------------:
14 |  | 
15 |
16 |
17 |
18 |
20 |
21 | ## Getting Started
22 | **Note:** Make sure your Flutter environment is setup.
23 |
24 | #### Installation
25 |
26 | In the command terminal, run the following commands:
27 |
28 | $ git clone https://github.com/geekruchika/Calender-LogicDesign/tree/master
29 | $ cd Calender-LogicDesign/flutterdo
30 | $ flutter run
31 |
32 | # Simulate for iOS
33 | #### Method One
34 |
35 | Open the project in Xcode from ios/Runner.xcodeproj.
36 | Hit the play button.
37 |
38 | #### Method Two
39 |
40 | Run the following command in your terminal.
41 | $ open -a Simulator
42 | $ flutter run
43 |
44 | # Simulate for Android
45 |
46 | Make sure you have an Android emulator installed and running.
47 | Run the following command in your terminal.
48 | $ flutter run
49 |
50 | ##### Check out Flutter’s online [documentation](http://flutter.io/) for help getting start with your Flutter Animation project.
--------------------------------------------------------------------------------
/flutterdo/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | .atom/
3 | .idea
4 | .vscode/
5 | .packages
6 | .pub/
7 | build/
8 | ios/.generated/
9 | packages
10 | pubspec.lock
11 | .flutter-plugins
12 | .key.properties
--------------------------------------------------------------------------------
/flutterdo/.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: 8a65872ef922ccf62bb09cbf88b0734f74f9a305
8 | channel: dev
9 |
--------------------------------------------------------------------------------
/flutterdo/android.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/flutterdo/android/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | *.class
3 | .gradle
4 | .key.properties
5 | /local.properties
6 | /.idea/workspace.xml
7 | /.idea/libraries
8 | .DS_Store
9 | /build
10 | /captures
11 | GeneratedPluginRegistrant.java
12 |
--------------------------------------------------------------------------------
/flutterdo/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 | def keystorePropertiesFile = rootProject.file("key.properties")
18 | def keystoreProperties = new Properties()
19 | keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
20 |
21 | android {
22 | compileSdkVersion 27
23 |
24 | lintOptions {
25 | disable 'InvalidPackage'
26 | }
27 |
28 | defaultConfig {
29 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
30 | applicationId "io.market.nativebase.geekyants.flutter.flutterdoui"
31 | minSdkVersion 16
32 | targetSdkVersion 27
33 | versionCode 2
34 | versionName "1.0"
35 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
36 | }
37 |
38 | // buildTypes {
39 | // release {
40 | // // TODO: Add your own signing config for the release build.
41 | // // Signing with the debug keys for now, so `flutter run --release` works.
42 | // signingConfig signingConfigs.debug
43 | // }
44 | // }
45 | signingConfigs {
46 | release {
47 | keyAlias keystoreProperties['keyAlias']
48 | keyPassword keystoreProperties['keyPassword']
49 | storeFile file(keystoreProperties['storeFile'])
50 | storePassword keystoreProperties['storePassword']
51 | }
52 | }
53 | buildTypes {
54 | release {
55 | signingConfig signingConfigs.release
56 | }
57 | }
58 | }
59 |
60 | flutter {
61 | source '../..'
62 | }
63 |
64 | dependencies {
65 | testImplementation 'junit:junit:4.12'
66 | androidTestImplementation 'com.android.support.test:runner:1.0.1'
67 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
68 | }
69 |
--------------------------------------------------------------------------------
/flutterdo/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
8 |
9 |
10 |
15 |
19 |
26 |
30 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/flutterdo/android/app/src/main/java/com/example/flutterdo/MainActivity.java:
--------------------------------------------------------------------------------
1 | package io.market.nativebase.geekyants.flutter.flutterdoui;
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 |
--------------------------------------------------------------------------------
/flutterdo/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/flutterdo/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/flutterdo/android/app/src/main/res/mipmap-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/android/app/src/main/res/mipmap-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/flutterdo/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/flutterdo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/flutterdo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/flutterdo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/flutterdo/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
--------------------------------------------------------------------------------
/flutterdo/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 |
--------------------------------------------------------------------------------
/flutterdo/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 |
--------------------------------------------------------------------------------
/flutterdo/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/flutterdo/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 |
--------------------------------------------------------------------------------
/flutterdo/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 |
--------------------------------------------------------------------------------
/flutterdo/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 |
--------------------------------------------------------------------------------
/flutterdo/android/key.properties:
--------------------------------------------------------------------------------
1 |
2 | storePassword=goldtree9
3 | keyPassword=goldtree9
4 | keyAlias=key
5 | storeFile=/Users/ruchika/key.jks
--------------------------------------------------------------------------------
/flutterdo/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 |
--------------------------------------------------------------------------------
/flutterdo/assets/images/Images.js:
--------------------------------------------------------------------------------
1 | // @flow
2 | import {Asset} from "expo";
3 |
4 | export default class Images {
5 |
6 | static login = require("./login.jpg");
7 | static signUp = require("./signUp.jpg");
8 | static drawer = require("./drawer.jpg");
9 | static home = require("./home.jpg");
10 | static lists = require("./lists.jpg");
11 | static timeline = require("./timeline.jpg");
12 |
13 | static defaultAvatar = require("./avatars/default-avatar.jpg");
14 | static avatar1 = require("./avatars/avatar-1.jpg");
15 | static avatar2 = require("./avatars/avatar-2.jpg");
16 | static avatar3 = require("./avatars/avatar-3.jpg");
17 |
18 | static foodGroup = require("./groups/food.jpg");
19 | static workGroup = require("./groups/work.jpg");
20 | static vacationGroup = require("./groups/vacation.jpg");
21 | static citiesGroup = require("./groups/cities.jpg");
22 |
23 | static downloadAsync(): Promise<*>[] {
24 | return [
25 | Asset.fromModule(Images.login).downloadAsync(),
26 | Asset.fromModule(Images.signUp).downloadAsync(),
27 | Asset.fromModule(Images.drawer).downloadAsync(),
28 | Asset.fromModule(Images.home).downloadAsync(),
29 | Asset.fromModule(Images.lists).downloadAsync(),
30 | Asset.fromModule(Images.timeline).downloadAsync(),
31 |
32 | Asset.fromModule(Images.defaultAvatar).downloadAsync(),
33 | Asset.fromModule(Images.avatar1).downloadAsync(),
34 | Asset.fromModule(Images.avatar2).downloadAsync(),
35 | Asset.fromModule(Images.avatar3).downloadAsync(),
36 |
37 | Asset.fromModule(Images.foodGroup).downloadAsync(),
38 | Asset.fromModule(Images.workGroup).downloadAsync(),
39 | Asset.fromModule(Images.vacationGroup).downloadAsync(),
40 | Asset.fromModule(Images.citiesGroup).downloadAsync()
41 | ];
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/flutterdo/assets/images/avatars/avatar-1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/assets/images/avatars/avatar-1.jpg
--------------------------------------------------------------------------------
/flutterdo/assets/images/avatars/avatar-2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/assets/images/avatars/avatar-2.jpg
--------------------------------------------------------------------------------
/flutterdo/assets/images/avatars/avatar-3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/assets/images/avatars/avatar-3.jpg
--------------------------------------------------------------------------------
/flutterdo/assets/images/avatars/default-avatar.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/assets/images/avatars/default-avatar.jpg
--------------------------------------------------------------------------------
/flutterdo/flutterdo.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/flutterdo/flutterdo_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 |
--------------------------------------------------------------------------------
/flutterdo/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 |
--------------------------------------------------------------------------------
/flutterdo/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 |
--------------------------------------------------------------------------------
/flutterdo/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/flutterdo/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/flutterdo/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 | );
95 | sourceTree = "";
96 | };
97 | 97C146EF1CF9000F007C117D /* Products */ = {
98 | isa = PBXGroup;
99 | children = (
100 | 97C146EE1CF9000F007C117D /* Runner.app */,
101 | );
102 | name = Products;
103 | sourceTree = "";
104 | };
105 | 97C146F01CF9000F007C117D /* Runner */ = {
106 | isa = PBXGroup;
107 | children = (
108 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */,
109 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */,
110 | 97C146FA1CF9000F007C117D /* Main.storyboard */,
111 | 97C146FD1CF9000F007C117D /* Assets.xcassets */,
112 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
113 | 97C147021CF9000F007C117D /* Info.plist */,
114 | 97C146F11CF9000F007C117D /* Supporting Files */,
115 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
116 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
117 | );
118 | path = Runner;
119 | sourceTree = "";
120 | };
121 | 97C146F11CF9000F007C117D /* Supporting Files */ = {
122 | isa = PBXGroup;
123 | children = (
124 | 97C146F21CF9000F007C117D /* main.m */,
125 | );
126 | name = "Supporting Files";
127 | sourceTree = "";
128 | };
129 | /* End PBXGroup section */
130 |
131 | /* Begin PBXNativeTarget section */
132 | 97C146ED1CF9000F007C117D /* Runner */ = {
133 | isa = PBXNativeTarget;
134 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
135 | buildPhases = (
136 | 9740EEB61CF901F6004384FC /* Run Script */,
137 | 97C146EA1CF9000F007C117D /* Sources */,
138 | 97C146EB1CF9000F007C117D /* Frameworks */,
139 | 97C146EC1CF9000F007C117D /* Resources */,
140 | 9705A1C41CF9048500538489 /* Embed Frameworks */,
141 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
142 | );
143 | buildRules = (
144 | );
145 | dependencies = (
146 | );
147 | name = Runner;
148 | productName = Runner;
149 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
150 | productType = "com.apple.product-type.application";
151 | };
152 | /* End PBXNativeTarget section */
153 |
154 | /* Begin PBXProject section */
155 | 97C146E61CF9000F007C117D /* Project object */ = {
156 | isa = PBXProject;
157 | attributes = {
158 | LastUpgradeCheck = 0910;
159 | ORGANIZATIONNAME = "The Chromium Authors";
160 | TargetAttributes = {
161 | 97C146ED1CF9000F007C117D = {
162 | CreatedOnToolsVersion = 7.3.1;
163 | DevelopmentTeam = 3F25347H8E;
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 | DEVELOPMENT_TEAM = 3F25347H8E;
375 | ENABLE_BITCODE = NO;
376 | FRAMEWORK_SEARCH_PATHS = (
377 | "$(inherited)",
378 | "$(PROJECT_DIR)/Flutter",
379 | );
380 | INFOPLIST_FILE = Runner/Info.plist;
381 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
382 | LIBRARY_SEARCH_PATHS = (
383 | "$(inherited)",
384 | "$(PROJECT_DIR)/Flutter",
385 | );
386 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterdo;
387 | PRODUCT_NAME = "$(TARGET_NAME)";
388 | };
389 | name = Debug;
390 | };
391 | 97C147071CF9000F007C117D /* Release */ = {
392 | isa = XCBuildConfiguration;
393 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
394 | buildSettings = {
395 | ARCHS = arm64;
396 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
397 | DEVELOPMENT_TEAM = 3F25347H8E;
398 | ENABLE_BITCODE = NO;
399 | FRAMEWORK_SEARCH_PATHS = (
400 | "$(inherited)",
401 | "$(PROJECT_DIR)/Flutter",
402 | );
403 | INFOPLIST_FILE = Runner/Info.plist;
404 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
405 | LIBRARY_SEARCH_PATHS = (
406 | "$(inherited)",
407 | "$(PROJECT_DIR)/Flutter",
408 | );
409 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterdo;
410 | PRODUCT_NAME = "$(TARGET_NAME)";
411 | };
412 | name = Release;
413 | };
414 | /* End XCBuildConfiguration section */
415 |
416 | /* Begin XCConfigurationList section */
417 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
418 | isa = XCConfigurationList;
419 | buildConfigurations = (
420 | 97C147031CF9000F007C117D /* Debug */,
421 | 97C147041CF9000F007C117D /* Release */,
422 | );
423 | defaultConfigurationIsVisible = 0;
424 | defaultConfigurationName = Release;
425 | };
426 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
427 | isa = XCConfigurationList;
428 | buildConfigurations = (
429 | 97C147061CF9000F007C117D /* Debug */,
430 | 97C147071CF9000F007C117D /* Release */,
431 | );
432 | defaultConfigurationIsVisible = 0;
433 | defaultConfigurationName = Release;
434 | };
435 | /* End XCConfigurationList section */
436 | };
437 | rootObject = 97C146E61CF9000F007C117D /* Project object */;
438 | }
439 |
--------------------------------------------------------------------------------
/flutterdo/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/flutterdo/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 |
--------------------------------------------------------------------------------
/flutterdo/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/AppDelegate.h:
--------------------------------------------------------------------------------
1 | #import
2 | #import
3 |
4 | @interface AppDelegate : FlutterAppDelegate
5 |
6 | @end
7 |
--------------------------------------------------------------------------------
/flutterdo/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 |
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images":[
3 | {
4 | "idiom":"iphone",
5 | "size":"20x20",
6 | "scale":"2x",
7 | "filename":"Icon-App-20x20@2x.png"
8 | },
9 | {
10 | "idiom":"iphone",
11 | "size":"20x20",
12 | "scale":"3x",
13 | "filename":"Icon-App-20x20@3x.png"
14 | },
15 | {
16 | "idiom":"iphone",
17 | "size":"29x29",
18 | "scale":"1x",
19 | "filename":"Icon-App-29x29@1x.png"
20 | },
21 | {
22 | "idiom":"iphone",
23 | "size":"29x29",
24 | "scale":"2x",
25 | "filename":"Icon-App-29x29@2x.png"
26 | },
27 | {
28 | "idiom":"iphone",
29 | "size":"29x29",
30 | "scale":"3x",
31 | "filename":"Icon-App-29x29@3x.png"
32 | },
33 | {
34 | "idiom":"iphone",
35 | "size":"40x40",
36 | "scale":"1x",
37 | "filename":"Icon-App-40x40@1x.png"
38 | },
39 | {
40 | "idiom":"iphone",
41 | "size":"40x40",
42 | "scale":"2x",
43 | "filename":"Icon-App-40x40@2x.png"
44 | },
45 | {
46 | "idiom":"iphone",
47 | "size":"40x40",
48 | "scale":"3x",
49 | "filename":"Icon-App-40x40@3x.png"
50 | },
51 | {
52 | "idiom":"iphone",
53 | "size":"57x57",
54 | "scale":"1x",
55 | "filename":"Icon-App-57x57@1x.png"
56 | },
57 | {
58 | "idiom":"iphone",
59 | "size":"57x57",
60 | "scale":"2x",
61 | "filename":"Icon-App-57x57@2x.png"
62 | },
63 | {
64 | "idiom":"iphone",
65 | "size":"60x60",
66 | "scale":"1x",
67 | "filename":"Icon-App-60x60@1x.png"
68 | },
69 | {
70 | "idiom":"iphone",
71 | "size":"60x60",
72 | "scale":"2x",
73 | "filename":"Icon-App-60x60@2x.png"
74 | },
75 | {
76 | "idiom":"iphone",
77 | "size":"60x60",
78 | "scale":"3x",
79 | "filename":"Icon-App-60x60@3x.png"
80 | },
81 | {
82 | "idiom":"iphone",
83 | "size":"76x76",
84 | "scale":"1x",
85 | "filename":"Icon-App-76x76@1x.png"
86 | },
87 | {
88 | "idiom":"ipad",
89 | "size":"20x20",
90 | "scale":"1x",
91 | "filename":"Icon-App-20x20@1x.png"
92 | },
93 | {
94 | "idiom":"ipad",
95 | "size":"20x20",
96 | "scale":"2x",
97 | "filename":"Icon-App-20x20@2x.png"
98 | },
99 | {
100 | "idiom":"ipad",
101 | "size":"29x29",
102 | "scale":"1x",
103 | "filename":"Icon-App-29x29@1x.png"
104 | },
105 | {
106 | "idiom":"ipad",
107 | "size":"29x29",
108 | "scale":"2x",
109 | "filename":"Icon-App-29x29@2x.png"
110 | },
111 | {
112 | "idiom":"ipad",
113 | "size":"40x40",
114 | "scale":"1x",
115 | "filename":"Icon-App-40x40@1x.png"
116 | },
117 | {
118 | "idiom":"ipad",
119 | "size":"40x40",
120 | "scale":"2x",
121 | "filename":"Icon-App-40x40@2x.png"
122 | },
123 | {
124 | "size" : "50x50",
125 | "idiom" : "ipad",
126 | "filename" : "Icon-Small-50x50@1x.png",
127 | "scale" : "1x"
128 | },
129 | {
130 | "size" : "50x50",
131 | "idiom" : "ipad",
132 | "filename" : "Icon-Small-50x50@2x.png",
133 | "scale" : "2x"
134 | },
135 | {
136 | "idiom":"ipad",
137 | "size":"72x72",
138 | "scale":"1x",
139 | "filename":"Icon-App-72x72@1x.png"
140 | },
141 | {
142 | "idiom":"ipad",
143 | "size":"72x72",
144 | "scale":"2x",
145 | "filename":"Icon-App-72x72@2x.png"
146 | },
147 | {
148 | "idiom":"ipad",
149 | "size":"76x76",
150 | "scale":"1x",
151 | "filename":"Icon-App-76x76@1x.png"
152 | },
153 | {
154 | "idiom":"ipad",
155 | "size":"76x76",
156 | "scale":"2x",
157 | "filename":"Icon-App-76x76@2x.png"
158 | },
159 | {
160 | "idiom":"ipad",
161 | "size":"76x76",
162 | "scale":"3x",
163 | "filename":"Icon-App-76x76@3x.png"
164 | },
165 | {
166 | "idiom":"ipad",
167 | "size":"83.5x83.5",
168 | "scale":"2x",
169 | "filename":"Icon-App-83.5x83.5@2x.png"
170 | },
171 | {
172 | "size" : "1024x1024",
173 | "idiom" : "ios-marketing",
174 | "filename" : "ItunesArtwork@2x.png",
175 | "scale" : "1x"
176 | }
177 | ],
178 | "info":{
179 | "version":1,
180 | "author":"makeappicon"
181 | }
182 | }
183 |
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@1x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@3x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png
--------------------------------------------------------------------------------
/flutterdo/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 |
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/flutterdo/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.
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/LaunchImage.imageset/iTunesArtwork@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/LaunchImage.imageset/iTunesArtwork@1x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/LaunchImage.imageset/iTunesArtwork@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/LaunchImage.imageset/iTunesArtwork@2x.png
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Assets.xcassets/LaunchImage.imageset/iTunesArtwork@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/ios/Runner/Assets.xcassets/LaunchImage.imageset/iTunesArtwork@3x.png
--------------------------------------------------------------------------------
/flutterdo/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 |
--------------------------------------------------------------------------------
/flutterdo/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 |
--------------------------------------------------------------------------------
/flutterdo/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | FlutterDo
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | flutterdo
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | 1.0
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | 1
25 | LSRequiresIPhoneOS
26 |
27 | UILaunchStoryboardName
28 | LaunchScreen
29 | UIMainStoryboardFile
30 | Main
31 | UIRequiredDeviceCapabilities
32 |
33 | arm64
34 |
35 | UISupportedInterfaceOrientations
36 |
37 | UIInterfaceOrientationPortrait
38 | UIInterfaceOrientationLandscapeLeft
39 | UIInterfaceOrientationLandscapeRight
40 |
41 | UISupportedInterfaceOrientations~ipad
42 |
43 | UIInterfaceOrientationPortrait
44 | UIInterfaceOrientationPortraitUpsideDown
45 | UIInterfaceOrientationLandscapeLeft
46 | UIInterfaceOrientationLandscapeRight
47 |
48 | UIViewControllerBasedStatusBarAppearance
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/flutterdo/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 |
--------------------------------------------------------------------------------
/flutterdo/lib/Routes.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import 'package:flutterdo/screens/Calender/index.dart';
4 | import 'package:flutterdo/screens/CalenderWeek/index.dart';
5 |
6 | class Routes {
7 | var routes = {
8 | "/calender": (BuildContext context) => new Calender(),
9 | "/calenderweek": (BuildContext context) => new CalenderWeek(),
10 | };
11 |
12 | Routes() {
13 | runApp(new MaterialApp(
14 | title: "Flutter Calender Design",
15 | debugShowCheckedModeBanner: false,
16 | home: new Calender(),
17 | routes: routes,
18 | ));
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/flutterdo/lib/components/CalenderCell.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class CalenderCell extends StatelessWidget {
4 | final String week;
5 | final String day;
6 | final bool today;
7 | CalenderCell({this.week, this.day, this.today});
8 | @override
9 | Widget build(BuildContext context) {
10 | return (new Column(
11 | crossAxisAlignment: CrossAxisAlignment.center,
12 | children: [
13 | new Text(
14 | week,
15 | style: new TextStyle(
16 | color: const Color.fromRGBO(204, 204, 204, 1.0),
17 | fontSize: 12.0,
18 | fontWeight: FontWeight.w400),
19 | ),
20 | new Padding(
21 | padding: new EdgeInsets.only(top: 10.0, bottom: 5.0),
22 | child: new Container(
23 | width: 35.0,
24 | height: 35.0,
25 | alignment: Alignment.center,
26 | decoration: new BoxDecoration(
27 | shape: BoxShape.circle,
28 | color: today
29 | ? const Color.fromRGBO(204, 204, 204, 0.3)
30 | : Colors.transparent),
31 | child: new Column(
32 | mainAxisAlignment: MainAxisAlignment.center,
33 | children: [
34 | new Text(
35 | day,
36 | style: new TextStyle(
37 | fontSize: 12.0, fontWeight: FontWeight.w400),
38 | ),
39 | today
40 | ? new Container(
41 | padding: new EdgeInsets.only(top: 3.0),
42 | width: 3.0,
43 | height: 3.0,
44 | decoration: new BoxDecoration(
45 | shape: BoxShape.circle,
46 | color: const Color.fromRGBO(247, 64, 106, 1.0)),
47 | )
48 | : new Container()
49 | ],
50 | )),
51 | )
52 | ],
53 | ));
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/flutterdo/lib/components/Task.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class Task extends StatelessWidget {
4 | final String title;
5 | final String subtitle;
6 | final String time;
7 | final String ampm;
8 | final bool completed;
9 | final DecorationImage av1, av2, av3;
10 | Task(
11 | {this.title,
12 | this.subtitle,
13 | this.time,
14 | this.completed,
15 | this.ampm,
16 | this.av1,
17 | this.av2,
18 | this.av3});
19 | @override
20 | Widget build(BuildContext context) {
21 | return (new Container(
22 | decoration: new BoxDecoration(
23 | border: new Border(
24 | bottom: new BorderSide(
25 | width: 1.0, color: const Color.fromRGBO(204, 204, 204, 1.0)),
26 | ),
27 | ),
28 | child: new Padding(
29 | padding: const EdgeInsets.only(top: 8.0, bottom: 8.0),
30 | child: new Padding(
31 | padding: const EdgeInsets.only(top: 15.0, bottom: 15.0),
32 | child: new ListTile(
33 | title: new Column(
34 | mainAxisAlignment: MainAxisAlignment.start,
35 | crossAxisAlignment: CrossAxisAlignment.start,
36 | children: [
37 | new Container(
38 | child: new Row(
39 | children: [
40 | new Row(
41 | children: [
42 | new Text(
43 | time,
44 | style: new TextStyle(
45 | fontSize: 15.0,
46 | fontWeight: FontWeight.w400,
47 | color: Colors.black),
48 | ),
49 | new Text(
50 | " " + ampm,
51 | style: new TextStyle(
52 | fontSize: 12.0,
53 | fontWeight: FontWeight.w300,
54 | color: Colors.black),
55 | ),
56 | ],
57 | ),
58 | new Padding(
59 | padding: const EdgeInsets.only(left: 20.0),
60 | child: new Column(
61 | mainAxisAlignment: MainAxisAlignment.start,
62 | crossAxisAlignment: CrossAxisAlignment.start,
63 | children: [
64 | new Text(
65 | title,
66 | style: new TextStyle(
67 | fontSize: 18.0,
68 | fontWeight: FontWeight.w400,
69 | color: Colors.black),
70 | ),
71 | new Padding(
72 | padding: const EdgeInsets.only(
73 | top: 5.0, bottom: 8.0),
74 | child: new Text(
75 | subtitle,
76 | style: new TextStyle(
77 | fontSize: 12.0,
78 | fontWeight: FontWeight.w300,
79 | color: Colors.black45),
80 | ),
81 | ),
82 | av1 != null
83 | ? new Row(
84 | children: [
85 | new Container(
86 | width: 25.0,
87 | height: 25.0,
88 | margin: new EdgeInsets.only(
89 | right: 5.0),
90 | decoration: new BoxDecoration(
91 | shape: BoxShape.circle,
92 | image: av1,
93 | )),
94 | new Container(
95 | width: 25.0,
96 | height: 25.0,
97 | margin: new EdgeInsets.only(
98 | right: 5.0),
99 | decoration: new BoxDecoration(
100 | shape: BoxShape.circle,
101 | image: av2,
102 | )),
103 | new Container(
104 | width: 25.0,
105 | height: 25.0,
106 | margin: new EdgeInsets.only(
107 | right: 5.0),
108 | decoration: new BoxDecoration(
109 | shape: BoxShape.circle,
110 | image: av3,
111 | )),
112 | ],
113 | )
114 | : new Container(),
115 | ],
116 | ),
117 | ),
118 | ],
119 | ),
120 | ),
121 | ],
122 | ),
123 | onTap: null,
124 | trailing: new Container(
125 | height: 10.0,
126 | width: 10.0,
127 | decoration: new BoxDecoration(
128 | shape: BoxShape.circle,
129 | color: completed
130 | ? const Color.fromRGBO(80, 210, 194, 1.0)
131 | : const Color.fromRGBO(214, 103, 206, 1.0)),
132 | )),
133 | ),
134 | )));
135 | }
136 | }
137 |
--------------------------------------------------------------------------------
/flutterdo/lib/components/calenderView.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:intl/intl.dart';
3 | import 'package:flutterdo/screens/Calender/index.dart';
4 |
5 | class CalenderView extends StatefulWidget {
6 | final int month;
7 | CalenderView({this.month});
8 |
9 | @override
10 | CalenderViewState createState() => new CalenderViewState(month: month);
11 | }
12 |
13 | class CalenderViewState extends State {
14 | final int month;
15 | String select;
16 | CalenderViewState({this.month});
17 |
18 | void initState() {
19 | super.initState();
20 | }
21 |
22 | List week = ["M", "T", "W", "T", "F", "S", "S"];
23 |
24 | GestureDetector cell(String day) {
25 | var d = new DateFormat.d().format(new DateTime.now());
26 | var m = new DateFormat.M().format(new DateTime.now());
27 | return (new GestureDetector(
28 | onTap: () {
29 | setState(() {
30 | select = day;
31 | });
32 | },
33 | child: new Container(
34 | width: 25.0,
35 | height: 25.0,
36 | decoration: new BoxDecoration(
37 | shape: BoxShape.rectangle,
38 | color: (day == select) || (m == (month1).toString() && day == d)
39 | ? const Color.fromRGBO(80, 210, 194, 1.0)
40 | : const Color.fromRGBO(101, 99, 164, 1.0)),
41 | child: new Center(
42 | child: new Text(
43 | day,
44 | style: new TextStyle(
45 | color: const Color(0XFFFFFFFF),
46 | fontSize: 16.0,
47 | fontWeight: FontWeight.normal),
48 | ),
49 | ),
50 | ),
51 | ));
52 | }
53 |
54 | double dayofweek(int d, int m, int y) {
55 | List t = [0, 3, 2, 5, 0, 3, 5, 1, 4, 6, 2, 4];
56 | if (m < 3) y = y - m;
57 | return (y + y / 4 - y / 100 + y / 400 + t[m - 1] + d) % 7;
58 | }
59 |
60 | int totaldays(int month) {
61 | if (month == 2)
62 | return (28);
63 | else if (month == 4 || month == 6 || month == 9 || month == 11)
64 | return (30);
65 | else
66 | return (31);
67 | }
68 |
69 | @override
70 | Widget build(BuildContext context) {
71 | double a = dayofweek(1, month1, new DateTime.now().year);
72 | var firstDayMonth = a.round();
73 | var totalDaysMonth = totaldays(month1);
74 | var i = 0;
75 | var j = 0;
76 | var k = 0;
77 | var s = 0;
78 | return (new Column(
79 | mainAxisAlignment: MainAxisAlignment.spaceEvenly,
80 | children: [
81 | new Row(
82 | mainAxisAlignment: MainAxisAlignment.spaceAround,
83 | children: week.map((String w) {
84 | return (cell(w));
85 | }).toList(),
86 | ),
87 | new Row(
88 | mainAxisAlignment: MainAxisAlignment.spaceAround,
89 | children: week.map((String w) {
90 | if ((s < 1 && firstDayMonth == 6) ||
91 | (s < 2 && firstDayMonth == 7)) {
92 | s++;
93 | ++j;
94 | return (cell((totalDaysMonth - k++).toString()));
95 | } else if (++j >= firstDayMonth) {
96 | i++;
97 | return (cell(i.toString()));
98 | } else
99 | return (cell(" "));
100 | }).toList(),
101 | ),
102 | new Row(
103 | mainAxisAlignment: MainAxisAlignment.spaceAround,
104 | children: week.map((String w) {
105 | i++;
106 | return (cell(i.toString()));
107 | }).toList(),
108 | ),
109 | new Row(
110 | mainAxisAlignment: MainAxisAlignment.spaceAround,
111 | children: week.map((String w) {
112 | i++;
113 | return (cell(i.toString()));
114 | }).toList(),
115 | ),
116 | new Row(
117 | mainAxisAlignment: MainAxisAlignment.spaceAround,
118 | children: week.map((String w) {
119 | i++;
120 | return (cell(i.toString()));
121 | }).toList(),
122 | ),
123 | new Row(
124 | mainAxisAlignment: MainAxisAlignment.spaceAround,
125 | children: week.map((String w) {
126 | i++;
127 | return (i <= totalDaysMonth ? cell(i.toString()) : cell(" "));
128 | }).toList(),
129 | ),
130 | ],
131 | ));
132 | }
133 | }
134 |
--------------------------------------------------------------------------------
/flutterdo/lib/components/calenderWeekly.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutterdo/components/CalenderCell.dart';
3 |
4 | class Calender extends StatelessWidget {
5 | final List week = ["SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT"];
6 | final List arrayDay = [];
7 | Calender();
8 |
9 | int totaldays(int month) {
10 | if (month == 2)
11 | return (28);
12 | else if (month == 4 || month == 6 || month == 9 || month == 11)
13 | return (30);
14 | else
15 | return (31);
16 | }
17 |
18 | @override
19 | Widget build(BuildContext context) {
20 | int element = new DateTime.now().day - new DateTime.now().weekday;
21 | int totalDay = totaldays(new DateTime.now().month);
22 | for (var i = 0; i < 7; i++) {
23 | if (element > totalDay) element = 1;
24 | arrayDay.add(element);
25 | element++;
26 | }
27 | var i = -1;
28 | return (new Container(
29 | height: 100.0,
30 | alignment: Alignment.center,
31 | padding: new EdgeInsets.only(top: 20.0),
32 | decoration: new BoxDecoration(
33 | color: Colors.white,
34 | border: new Border(
35 | bottom: new BorderSide(
36 | width: 1.0, color: const Color.fromRGBO(204, 204, 204, 1.0)),
37 | ),
38 | ),
39 | child: new Row(
40 | mainAxisAlignment: MainAxisAlignment.spaceEvenly,
41 | children: week.map((String week) {
42 | ++i;
43 | return new CalenderCell(
44 | week: week,
45 | day: arrayDay[i].toString(),
46 | today: arrayDay[i] != new DateTime.now().day ? false : true);
47 | }).toList()),
48 | ));
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/flutterdo/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutterdo/Routes.dart';
2 | import 'package:intl/date_symbol_data_local.dart';
3 |
4 | void main() {
5 | initializeDateFormatting("pt_BR", null).then((_) => new Routes());
6 | }
7 |
--------------------------------------------------------------------------------
/flutterdo/lib/screens/Calender/index.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'style.dart';
3 | import 'package:flutterdo/components/Task.dart';
4 | import 'package:flutterdo/components/calenderView.dart';
5 | import 'package:intl/intl.dart';
6 | import 'package:flutter/services.dart';
7 |
8 | int month1 = 0;
9 |
10 | class Calender extends StatefulWidget {
11 | const Calender({Key key}) : super(key: key);
12 |
13 | @override
14 | CalenderState createState() => new CalenderState();
15 | }
16 |
17 | class CalenderState extends State {
18 | final GlobalKey _scaffoldKey = new GlobalKey();
19 | int m = new DateTime.now().month - 1;
20 | String month = new DateFormat.MMMM().format(
21 | new DateTime.now(),
22 | );
23 | DateTime now = new DateTime.now();
24 | List months = [
25 | "January",
26 | "February",
27 | "March",
28 | "April",
29 | "May",
30 | "June",
31 | "July",
32 | "August",
33 | "September",
34 | "October",
35 | "November",
36 | "December"
37 | ];
38 |
39 | void _select(String selectedMonth) {
40 | setState(() {
41 | month = selectedMonth;
42 | m = months.indexOf(selectedMonth);
43 | });
44 | }
45 |
46 | void initState() {
47 | super.initState();
48 | }
49 |
50 | @override
51 | Widget build(BuildContext context) {
52 | Size screenSize = MediaQuery.of(context).size;
53 | SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle.dark);
54 |
55 | month1 = m + 1;
56 | return new Scaffold(
57 | key: _scaffoldKey,
58 | appBar: new AppBar(
59 | bottomOpacity: 0.0,
60 | backgroundColor: const Color.fromRGBO(80, 210, 194, 1.0),
61 | elevation: 0.0,
62 | leading: new IconButton(
63 | icon: new Icon(
64 | Icons.menu,
65 | color: Colors.white,
66 | ),
67 | onPressed: null,
68 | ),
69 | title: new Text(
70 | month,
71 | style: new TextStyle(color: Colors.white, fontSize: 20.0),
72 | ),
73 | centerTitle: true,
74 | actions: [
75 | new PopupMenuButton(
76 | icon: new Icon(
77 | Icons.arrow_drop_down,
78 | size: 35.0,
79 | color: Colors.white,
80 | ),
81 | onSelected: _select,
82 | itemBuilder: (BuildContext context) => months
83 | .map((String usertoshow) => new PopupMenuItem(
84 | value: usertoshow,
85 | child: new Text(usertoshow),
86 | ))
87 | .toList()),
88 | new IconButton(
89 | icon: new Icon(
90 | Icons.add,
91 | color: Colors.white,
92 | ),
93 | iconSize: 40.0,
94 | onPressed: null,
95 | ),
96 | ],
97 | ),
98 | floatingActionButton: new IconButton(
99 | iconSize: 60.0,
100 | color: Colors.blueAccent,
101 | icon: new Icon(
102 | Icons.next_week,
103 | color: const Color.fromRGBO(80, 210, 194, 1.0),
104 | ),
105 | onPressed: () {
106 | Navigator.pushNamed(context, "/calenderweek");
107 | }),
108 | body: new SingleChildScrollView(
109 | child: new Column(
110 | mainAxisAlignment: MainAxisAlignment.start,
111 | crossAxisAlignment: CrossAxisAlignment.start,
112 | children: [
113 | new Container(
114 | width: screenSize.width,
115 | height: screenSize.height / 3,
116 | decoration: new BoxDecoration(
117 | color: const Color.fromRGBO(101, 99, 164, 1.0),
118 | ),
119 | child: new CalenderView(
120 | month: m + 1,
121 | ),
122 | ),
123 | new Task(
124 | title: "New Icons",
125 | subtitle: "Mobile App",
126 | time: "08:30",
127 | ampm: "AM",
128 | completed: true,
129 | ),
130 | new Task(
131 | title: "Design Stand Up",
132 | subtitle: "Hangouts",
133 | time: "14:00",
134 | ampm: "PM",
135 | completed: false,
136 | av1: avatar1,
137 | av2: avatar2,
138 | av3: avatar3),
139 | new Task(
140 | title: "Design Stand Up",
141 | subtitle: "Hangouts",
142 | time: "14:00",
143 | ampm: "PM",
144 | completed: false,
145 | av1: avatar1,
146 | av2: avatar2,
147 | av3: avatar3),
148 | new Task(
149 | title: "Design Stand Up",
150 | subtitle: "Hangouts",
151 | time: "14:00",
152 | ampm: "PM",
153 | completed: false,
154 | av1: avatar1,
155 | av2: avatar2,
156 | av3: avatar3),
157 | new Task(
158 | title: "Design Stand Up",
159 | subtitle: "Hangouts",
160 | time: "14:00",
161 | ampm: "PM",
162 | completed: false,
163 | av1: avatar1,
164 | av2: avatar2,
165 | av3: avatar3),
166 | ],
167 | ),
168 | ),
169 | );
170 | }
171 | }
172 |
--------------------------------------------------------------------------------
/flutterdo/lib/screens/Calender/style.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | DecorationImage profileImage = new DecorationImage(
4 | image: new ExactAssetImage('assets/images/avatars/default-avatar.jpg'),
5 | fit: BoxFit.cover,
6 | );
7 | DecorationImage avatar1 = new DecorationImage(
8 | image: new ExactAssetImage('assets/images/avatars/avatar-1.jpg'),
9 | fit: BoxFit.cover,
10 | );
11 | DecorationImage avatar2 = new DecorationImage(
12 | image: new ExactAssetImage('assets/images/avatars/avatar-2.jpg'),
13 | fit: BoxFit.cover,
14 | );
15 | DecorationImage avatar3 = new DecorationImage(
16 | image: new ExactAssetImage('assets/images/avatars/avatar-3.jpg'),
17 | fit: BoxFit.cover,
18 | );
19 | DecorationImage backgroundSignUpImage = new DecorationImage(
20 | image: new ExactAssetImage('assets/images/signUp.jpg'),
21 | fit: BoxFit.cover,
22 | );
23 |
--------------------------------------------------------------------------------
/flutterdo/lib/screens/CalenderWeek/index.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter/services.dart';
3 | import 'package:flutterdo/components/calenderWeekly.dart';
4 | import 'package:intl/intl.dart';
5 |
6 | class CalenderWeek extends StatefulWidget {
7 | const CalenderWeek({Key key}) : super(key: key);
8 |
9 | @override
10 | CalenderWeekState createState() => new CalenderWeekState();
11 | }
12 |
13 | class CalenderWeekState extends State {
14 | final GlobalKey _scaffoldKey = new GlobalKey();
15 | List months = [
16 | "January",
17 | "February",
18 | "March",
19 | "April",
20 | "May",
21 | "June",
22 | "July",
23 | "August",
24 | "September",
25 | "October",
26 | "November",
27 | "December"
28 | ];
29 | String month = new DateFormat.MMMM().format(
30 | new DateTime.now(),
31 | );
32 | int index = new DateTime.now().month;
33 | void _selectforward() {
34 | if (index < 12)
35 | setState(() {
36 | ++index;
37 | month = months[index - 1];
38 | });
39 | }
40 |
41 | void _selectbackward() {
42 | if (index > 1)
43 | setState(() {
44 | --index;
45 | month = months[index - 1];
46 | });
47 | }
48 |
49 | void initState() {
50 | super.initState();
51 | }
52 |
53 | @override
54 | Widget build(BuildContext context) {
55 | SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle.dark);
56 |
57 | return new Scaffold(
58 | key: _scaffoldKey,
59 | appBar: new AppBar(
60 | automaticallyImplyLeading: false,
61 | bottomOpacity: 0.0,
62 | backgroundColor: const Color.fromRGBO(80, 210, 194, 1.0),
63 | elevation: 0.0,
64 | title: new Row(
65 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
66 | children: [
67 | new IconButton(
68 | icon: new Icon(
69 | Icons.arrow_back_ios,
70 | color: Colors.white,
71 | ),
72 | onPressed: _selectbackward,
73 | ),
74 | new Text(
75 | month.toUpperCase(),
76 | textAlign: TextAlign.center,
77 | style: new TextStyle(
78 | fontSize: 18.0,
79 | letterSpacing: 1.2,
80 | fontWeight: FontWeight.w400,
81 | color: Colors.white),
82 | ),
83 | new IconButton(
84 | icon: new Icon(
85 | Icons.arrow_forward_ios,
86 | color: Colors.white,
87 | ),
88 | onPressed: _selectforward,
89 | ),
90 | ],
91 | ),
92 | ),
93 | floatingActionButton: new IconButton(
94 | iconSize: 60.0,
95 | color: Colors.blueAccent,
96 | icon: new Icon(
97 | Icons.next_week,
98 | color: const Color.fromRGBO(80, 210, 194, 1.0),
99 | ),
100 | onPressed: () {
101 | Navigator.pop(context);
102 | }),
103 | body: new SingleChildScrollView(child: new Calender()),
104 | );
105 | }
106 | }
107 |
--------------------------------------------------------------------------------
/flutterdo/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: flutterdo
2 | description: A new Flutter project.
3 |
4 | dependencies:
5 | flutter:
6 | sdk: flutter
7 |
8 | # The following adds the Cupertino Icons font to your application.
9 | # Use with the CupertinoIcons class for iOS style icons.
10 | cupertino_icons: ^0.1.0
11 | intl: "^0.15.2"
12 |
13 |
14 |
15 | dev_dependencies:
16 | flutter_test:
17 | sdk: flutter
18 |
19 |
20 | # For information on the generic Dart part of this file, see the
21 | # following page: https://www.dartlang.org/tools/pub/pubspec
22 |
23 | # The following section is specific to Flutter.
24 | flutter:
25 |
26 | # The following line ensures that the Material Icons font is
27 | # included with your application, so that you can use the icons in
28 | # the material Icons class.
29 | uses-material-design: true
30 |
31 | # To add assets to your application, add an assets section, like this:
32 | assets:
33 |
34 | - assets/images/avatars/default-avatar.jpg
35 | - assets/images/avatars/avatar-1.jpg
36 | - assets/images/avatars/avatar-2.jpg
37 | - assets/images/avatars/avatar-3.jpg
38 |
39 |
40 |
41 | # - images/a_dot_burr.jpeg
42 | # - images/a_dot_ham.jpeg
43 |
44 | # An image asset can refer to one or more resolution-specific "variants", see
45 | # https://flutter.io/assets-and-images/#resolution-aware.
46 |
47 | # For details regarding adding assets from package dependencies, see
48 | # https://flutter.io/assets-and-images/#from-packages
49 |
50 | # To add custom fonts to your application, add a fonts section here,
51 | # in this "flutter" section. Each entry in this list should have a
52 | # "family" key with the font family name, and a "fonts" key with a
53 | # list giving the asset and other descriptors for the font. For
54 | # example:
55 | # fonts:
56 | # - family: Schyler
57 | # fonts:
58 | # - asset: fonts/Schyler-Regular.ttf
59 | # - asset: fonts/Schyler-Italic.ttf
60 | # style: italic
61 | # - family: Trajan Pro
62 | # fonts:
63 | # - asset: fonts/TrajanPro.ttf
64 | # - asset: fonts/TrajanPro_Bold.ttf
65 | # weight: 700
66 | #
67 | # For details regarding fonts from package dependencies,
68 | # see https://flutter.io/custom-fonts/#from-packages
69 |
--------------------------------------------------------------------------------
/flutterdo/screenGif/calenderDemo.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/screenGif/calenderDemo.gif
--------------------------------------------------------------------------------
/flutterdo/screenGif/monthCalender.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/screenGif/monthCalender.png
--------------------------------------------------------------------------------
/flutterdo/screenGif/weekCalender.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geekruchika/Calender-LogicDesign/d3041e5440100b704b1a003526f8f8aa605a67b9/flutterdo/screenGif/weekCalender.png
--------------------------------------------------------------------------------
/flutterdo/test/widget_test.dart:
--------------------------------------------------------------------------------
1 | // This is a basic Flutter widget test.
2 | // To perform an interaction with a widget in your test, use the WidgetTester utility that Flutter
3 | // provides. For example, you can send tap and scroll gestures. You can also use WidgetTester to
4 | // find child widgets in the widget tree, read text, and verify that the values of widget properties
5 | // are correct.
6 |
7 | import 'package:flutter/material.dart';
8 | import 'package:flutter_test/flutter_test.dart';
9 |
10 | import 'package:flutterdo/main.dart';
11 |
12 | void main() {
13 | testWidgets('Counter increments smoke test', (WidgetTester tester) async {
14 | // Build our app and trigger a frame.
15 | await tester.pumpWidget(new MyApp());
16 |
17 | // Verify that our counter starts at 0.
18 | expect(find.text('0'), findsOneWidget);
19 | expect(find.text('1'), findsNothing);
20 |
21 | // Tap the '+' icon and trigger a frame.
22 | await tester.tap(find.byIcon(Icons.add));
23 | await tester.pump();
24 |
25 | // Verify that our counter has incremented.
26 | expect(find.text('0'), findsNothing);
27 | expect(find.text('1'), findsOneWidget);
28 | });
29 | }
30 |
--------------------------------------------------------------------------------