├── App Demo.gif
├── FlutterAnimation
├── README.md
├── android
│ ├── android.iml
│ ├── app
│ │ ├── app.iml
│ │ ├── build.gradle
│ │ └── src
│ │ │ ├── debug
│ │ │ └── AndroidManifest.xml
│ │ │ ├── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── java
│ │ │ │ └── io
│ │ │ │ │ └── flutter
│ │ │ │ │ └── plugins
│ │ │ │ │ └── GeneratedPluginRegistrant.java
│ │ │ ├── kotlin
│ │ │ │ └── com
│ │ │ │ │ └── example
│ │ │ │ │ └── toolbaranimation
│ │ │ │ │ └── MainActivity.kt
│ │ │ └── res
│ │ │ │ ├── drawable
│ │ │ │ └── launch_background.xml
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ │ └── values
│ │ │ │ └── styles.xml
│ │ │ └── profile
│ │ │ └── AndroidManifest.xml
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ ├── local.properties
│ ├── settings.gradle
│ └── toolbaranimation_android.iml
├── assets
│ ├── Icon
│ │ ├── bridge.jpg
│ │ ├── build.jpg
│ │ ├── facebook.png
│ │ ├── google.png
│ │ ├── iconn.jpg
│ │ ├── iconn.png
│ │ ├── myphoto.png
│ │ └── staue.jpg
│ ├── flar
│ │ ├── Loading.flr
│ │ ├── SplashScreen.flr
│ │ ├── background_flow.flr
│ │ └── button.flr
│ └── fonts
│ │ ├── Karla-Bold.ttf
│ │ ├── Karla-BoldItalic.ttf
│ │ ├── Karla-Italic.ttf
│ │ ├── Karla-Regular.ttf
│ │ ├── OpenSans-ExtraBold.ttf
│ │ ├── OpenSans-Light.ttf
│ │ ├── OpenSans-Regular.ttf
│ │ └── OpenSans-SemiBold.ttf
├── ios
│ ├── Flutter
│ │ ├── AppFrameworkInfo.plist
│ │ ├── Debug.xcconfig
│ │ ├── Generated.xcconfig
│ │ ├── Release.xcconfig
│ │ └── flutter_export_environment.sh
│ ├── Runner.xcodeproj
│ │ ├── project.pbxproj
│ │ ├── project.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ └── xcschemes
│ │ │ └── Runner.xcscheme
│ ├── Runner.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── Runner
│ │ ├── AppDelegate.swift
│ │ ├── Assets.xcassets
│ │ ├── AppIcon.appiconset
│ │ │ ├── Contents.json
│ │ │ ├── Icon-App-1024x1024@1x.png
│ │ │ ├── Icon-App-20x20@1x.png
│ │ │ ├── Icon-App-20x20@2x.png
│ │ │ ├── Icon-App-20x20@3x.png
│ │ │ ├── Icon-App-29x29@1x.png
│ │ │ ├── Icon-App-29x29@2x.png
│ │ │ ├── Icon-App-29x29@3x.png
│ │ │ ├── Icon-App-40x40@1x.png
│ │ │ ├── Icon-App-40x40@2x.png
│ │ │ ├── Icon-App-40x40@3x.png
│ │ │ ├── Icon-App-60x60@2x.png
│ │ │ ├── Icon-App-60x60@3x.png
│ │ │ ├── Icon-App-76x76@1x.png
│ │ │ ├── Icon-App-76x76@2x.png
│ │ │ └── Icon-App-83.5x83.5@2x.png
│ │ └── LaunchImage.imageset
│ │ │ ├── Contents.json
│ │ │ ├── LaunchImage.png
│ │ │ ├── LaunchImage@2x.png
│ │ │ ├── LaunchImage@3x.png
│ │ │ └── README.md
│ │ ├── Base.lproj
│ │ ├── LaunchScreen.storyboard
│ │ └── Main.storyboard
│ │ ├── GeneratedPluginRegistrant.h
│ │ ├── GeneratedPluginRegistrant.m
│ │ ├── Info.plist
│ │ └── Runner-Bridging-Header.h
├── lib
│ ├── Animation
│ │ ├── AnimationBuildHome.dart
│ │ └── AnimationBuildLogin.dart
│ ├── Auth
│ │ ├── AuthButton.dart
│ │ ├── Login.dart
│ │ └── SignUpPage.dart
│ ├── Constant
│ │ ├── ColorGlobal.dart
│ │ ├── ReactForAnimation.dart
│ │ ├── TextField.dart
│ │ └── frequentWidget.dart
│ ├── HomePage
│ │ └── HomePage.dart
│ ├── SplashScreen
│ │ └── Splash.dart
│ └── main.dart
├── pubspec.lock
├── pubspec.yaml
├── test
│ └── widget_test.dart
└── toolbaranimation.iml
├── Home Screen.png
├── README.md
├── Sign In.png
└── Sign Up.png
/App Demo.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/App Demo.gif
--------------------------------------------------------------------------------
/FlutterAnimation/README.md:
--------------------------------------------------------------------------------
1 | # FlutterAnimations
2 |
3 | A new Flutter application.
4 |
5 | ## Getting Started
6 |
7 | This project is a starting point for a Flutter application.
8 |
9 | A few resources to get you started if this is your first Flutter project:
10 |
11 | - [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
12 | - [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
13 |
14 | For help getting started with Flutter, view our
15 | [online documentation](https://flutter.dev/docs), which offers tutorials,
16 | samples, guidance on mobile development, and a full API reference.
17 |
--------------------------------------------------------------------------------
/FlutterAnimation/android/android.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/FlutterAnimation/android/app/app.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | generateDebugSources
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
43 |
46 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
--------------------------------------------------------------------------------
/FlutterAnimation/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 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15 | if (flutterVersionCode == null) {
16 | flutterVersionCode = '1'
17 | }
18 |
19 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
20 | if (flutterVersionName == null) {
21 | flutterVersionName = '1.0'
22 | }
23 |
24 | apply plugin: 'com.android.application'
25 | apply plugin: 'kotlin-android'
26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27 |
28 | android {
29 | compileSdkVersion 28
30 |
31 | sourceSets {
32 | main.java.srcDirs += 'src/main/kotlin'
33 | }
34 |
35 | lintOptions {
36 | disable 'InvalidPackage'
37 | }
38 |
39 | defaultConfig {
40 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
41 | applicationId "com.example.toolbaranimation"
42 | minSdkVersion 16
43 | targetSdkVersion 28
44 | versionCode flutterVersionCode.toInteger()
45 | versionName flutterVersionName
46 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
47 | }
48 |
49 | buildTypes {
50 | release {
51 | // TODO: Add your own signing config for the release build.
52 | // Signing with the debug keys for now, so `flutter run --release` works.
53 | signingConfig signingConfigs.debug
54 | }
55 | }
56 | }
57 |
58 | flutter {
59 | source '../..'
60 | }
61 |
62 | dependencies {
63 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
64 | testImplementation 'junit:junit:4.12'
65 | androidTestImplementation 'androidx.test:runner:1.1.1'
66 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
67 | }
68 |
--------------------------------------------------------------------------------
/FlutterAnimation/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/FlutterAnimation/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
8 |
12 |
19 |
20 |
21 |
22 |
23 |
24 |
26 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/FlutterAnimation/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:
--------------------------------------------------------------------------------
1 | package io.flutter.plugins;
2 |
3 | import androidx.annotation.Keep;
4 | import androidx.annotation.NonNull;
5 | import io.flutter.embedding.engine.FlutterEngine;
6 |
7 | /**
8 | * Generated file. Do not edit.
9 | * This file is generated by the Flutter tool based on the
10 | * plugins that support the Android platform.
11 | */
12 | @Keep
13 | public final class GeneratedPluginRegistrant {
14 | public static void registerWith(@NonNull FlutterEngine flutterEngine) {
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/FlutterAnimation/android/app/src/main/kotlin/com/example/toolbaranimation/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.example.toolbaranimation
2 |
3 | import androidx.annotation.NonNull;
4 | import io.flutter.embedding.android.FlutterActivity
5 | import io.flutter.embedding.engine.FlutterEngine
6 | import io.flutter.plugins.GeneratedPluginRegistrant
7 |
8 | class MainActivity: FlutterActivity() {
9 | override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) {
10 | GeneratedPluginRegistrant.registerWith(flutterEngine);
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/FlutterAnimation/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/FlutterAnimation/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/FlutterAnimation/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/FlutterAnimation/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/FlutterAnimation/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/FlutterAnimation/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/FlutterAnimation/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
--------------------------------------------------------------------------------
/FlutterAnimation/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/FlutterAnimation/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.3.50'
3 | repositories {
4 | google()
5 | jcenter()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:3.5.0'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | }
12 | }
13 |
14 | allprojects {
15 | repositories {
16 | google()
17 | jcenter()
18 | }
19 | }
20 |
21 | rootProject.buildDir = '../build'
22 | subprojects {
23 | project.buildDir = "${rootProject.buildDir}/${project.name}"
24 | }
25 | subprojects {
26 | project.evaluationDependsOn(':app')
27 | }
28 |
29 | task clean(type: Delete) {
30 | delete rootProject.buildDir
31 | }
32 |
--------------------------------------------------------------------------------
/FlutterAnimation/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.enableR8=true
3 | android.useAndroidX=true
4 | android.enableJetifier=true
5 |
--------------------------------------------------------------------------------
/FlutterAnimation/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/FlutterAnimation/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-5.6.2-all.zip
7 |
--------------------------------------------------------------------------------
/FlutterAnimation/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 |
--------------------------------------------------------------------------------
/FlutterAnimation/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 |
--------------------------------------------------------------------------------
/FlutterAnimation/android/local.properties:
--------------------------------------------------------------------------------
1 | sdk.dir=C:/Users/Raj/AppData/Local/Android/Sdk
2 | flutter.sdk=D:\\Flutter\\Flutter Sdk\\flutter_windows_v1.12.13+hotfix.5-stable\\flutter
3 | flutter.buildMode=debug
4 | flutter.versionName=1.0.0
5 | flutter.versionCode=1
--------------------------------------------------------------------------------
/FlutterAnimation/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 |
--------------------------------------------------------------------------------
/FlutterAnimation/android/toolbaranimation_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 |
--------------------------------------------------------------------------------
/FlutterAnimation/assets/Icon/bridge.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/assets/Icon/bridge.jpg
--------------------------------------------------------------------------------
/FlutterAnimation/assets/Icon/build.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/assets/Icon/build.jpg
--------------------------------------------------------------------------------
/FlutterAnimation/assets/Icon/facebook.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/assets/Icon/facebook.png
--------------------------------------------------------------------------------
/FlutterAnimation/assets/Icon/google.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/assets/Icon/google.png
--------------------------------------------------------------------------------
/FlutterAnimation/assets/Icon/iconn.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/assets/Icon/iconn.jpg
--------------------------------------------------------------------------------
/FlutterAnimation/assets/Icon/iconn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/assets/Icon/iconn.png
--------------------------------------------------------------------------------
/FlutterAnimation/assets/Icon/myphoto.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/assets/Icon/myphoto.png
--------------------------------------------------------------------------------
/FlutterAnimation/assets/Icon/staue.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/assets/Icon/staue.jpg
--------------------------------------------------------------------------------
/FlutterAnimation/assets/flar/Loading.flr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/assets/flar/Loading.flr
--------------------------------------------------------------------------------
/FlutterAnimation/assets/flar/SplashScreen.flr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/assets/flar/SplashScreen.flr
--------------------------------------------------------------------------------
/FlutterAnimation/assets/flar/background_flow.flr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/assets/flar/background_flow.flr
--------------------------------------------------------------------------------
/FlutterAnimation/assets/flar/button.flr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/assets/flar/button.flr
--------------------------------------------------------------------------------
/FlutterAnimation/assets/fonts/Karla-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/assets/fonts/Karla-Bold.ttf
--------------------------------------------------------------------------------
/FlutterAnimation/assets/fonts/Karla-BoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/assets/fonts/Karla-BoldItalic.ttf
--------------------------------------------------------------------------------
/FlutterAnimation/assets/fonts/Karla-Italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/assets/fonts/Karla-Italic.ttf
--------------------------------------------------------------------------------
/FlutterAnimation/assets/fonts/Karla-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/assets/fonts/Karla-Regular.ttf
--------------------------------------------------------------------------------
/FlutterAnimation/assets/fonts/OpenSans-ExtraBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/assets/fonts/OpenSans-ExtraBold.ttf
--------------------------------------------------------------------------------
/FlutterAnimation/assets/fonts/OpenSans-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/assets/fonts/OpenSans-Light.ttf
--------------------------------------------------------------------------------
/FlutterAnimation/assets/fonts/OpenSans-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/assets/fonts/OpenSans-Regular.ttf
--------------------------------------------------------------------------------
/FlutterAnimation/assets/fonts/OpenSans-SemiBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/assets/fonts/OpenSans-SemiBold.ttf
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 8.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Flutter/Generated.xcconfig:
--------------------------------------------------------------------------------
1 | // This is a generated file; do not edit or check into version control.
2 | FLUTTER_ROOT=D:\Flutter\Flutter Sdk\flutter_windows_v1.12.13+hotfix.5-stable\flutter
3 | FLUTTER_APPLICATION_PATH=D:\Flutter\InFicial\ToolbarAnimationDesign\FlutterAnimations
4 | FLUTTER_TARGET=lib\main.dart
5 | FLUTTER_BUILD_DIR=build
6 | SYMROOT=${SOURCE_ROOT}/../build\ios
7 | FLUTTER_FRAMEWORK_DIR=D:\Flutter\Flutter Sdk\flutter_windows_v1.12.13+hotfix.5-stable\flutter\bin\cache\artifacts\engine\ios
8 | FLUTTER_BUILD_NAME=1.0.0
9 | FLUTTER_BUILD_NUMBER=1
10 |
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Flutter/flutter_export_environment.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | # This is a generated file; do not edit or check into version control.
3 | export "FLUTTER_ROOT=D:\Flutter\Flutter Sdk\flutter_windows_v1.12.13+hotfix.5-stable\flutter"
4 | export "FLUTTER_APPLICATION_PATH=D:\Flutter\InFicial\ToolbarAnimationDesign\FlutterAnimations"
5 | export "FLUTTER_TARGET=lib\main.dart"
6 | export "FLUTTER_BUILD_DIR=build"
7 | export "SYMROOT=${SOURCE_ROOT}/../build\ios"
8 | export "FLUTTER_FRAMEWORK_DIR=D:\Flutter\Flutter Sdk\flutter_windows_v1.12.13+hotfix.5-stable\flutter\bin\cache\artifacts\engine\ios"
9 | export "FLUTTER_BUILD_NAME=1.0.0"
10 | export "FLUTTER_BUILD_NUMBER=1"
11 |
--------------------------------------------------------------------------------
/FlutterAnimation/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 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
12 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; };
13 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
14 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
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 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
18 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
19 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
20 | /* End PBXBuildFile section */
21 |
22 | /* Begin PBXCopyFilesBuildPhase section */
23 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
24 | isa = PBXCopyFilesBuildPhase;
25 | buildActionMask = 2147483647;
26 | dstPath = "";
27 | dstSubfolderSpec = 10;
28 | files = (
29 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */,
30 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */,
31 | );
32 | name = "Embed Frameworks";
33 | runOnlyForDeploymentPostprocessing = 0;
34 | };
35 | /* End PBXCopyFilesBuildPhase section */
36 |
37 | /* Begin PBXFileReference section */
38 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
39 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
40 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
41 | 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; };
42 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
43 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
44 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
45 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
46 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
47 | 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; };
48 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
49 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
50 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
51 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
52 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
53 | /* End PBXFileReference section */
54 |
55 | /* Begin PBXFrameworksBuildPhase section */
56 | 97C146EB1CF9000F007C117D /* Frameworks */ = {
57 | isa = PBXFrameworksBuildPhase;
58 | buildActionMask = 2147483647;
59 | files = (
60 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */,
61 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */,
62 | );
63 | runOnlyForDeploymentPostprocessing = 0;
64 | };
65 | /* End PBXFrameworksBuildPhase section */
66 |
67 | /* Begin PBXGroup section */
68 | 9740EEB11CF90186004384FC /* Flutter */ = {
69 | isa = PBXGroup;
70 | children = (
71 | 3B80C3931E831B6300D905FE /* App.framework */,
72 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
73 | 9740EEBA1CF902C7004384FC /* Flutter.framework */,
74 | 9740EEB21CF90195004384FC /* Debug.xcconfig */,
75 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
76 | 9740EEB31CF90195004384FC /* Generated.xcconfig */,
77 | );
78 | name = Flutter;
79 | sourceTree = "";
80 | };
81 | 97C146E51CF9000F007C117D = {
82 | isa = PBXGroup;
83 | children = (
84 | 9740EEB11CF90186004384FC /* Flutter */,
85 | 97C146F01CF9000F007C117D /* Runner */,
86 | 97C146EF1CF9000F007C117D /* Products */,
87 | );
88 | sourceTree = "";
89 | };
90 | 97C146EF1CF9000F007C117D /* Products */ = {
91 | isa = PBXGroup;
92 | children = (
93 | 97C146EE1CF9000F007C117D /* Runner.app */,
94 | );
95 | name = Products;
96 | sourceTree = "";
97 | };
98 | 97C146F01CF9000F007C117D /* Runner */ = {
99 | isa = PBXGroup;
100 | children = (
101 | 97C146FA1CF9000F007C117D /* Main.storyboard */,
102 | 97C146FD1CF9000F007C117D /* Assets.xcassets */,
103 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
104 | 97C147021CF9000F007C117D /* Info.plist */,
105 | 97C146F11CF9000F007C117D /* Supporting Files */,
106 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
107 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
108 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
109 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
110 | );
111 | path = Runner;
112 | sourceTree = "";
113 | };
114 | 97C146F11CF9000F007C117D /* Supporting Files */ = {
115 | isa = PBXGroup;
116 | children = (
117 | );
118 | name = "Supporting Files";
119 | sourceTree = "";
120 | };
121 | /* End PBXGroup section */
122 |
123 | /* Begin PBXNativeTarget section */
124 | 97C146ED1CF9000F007C117D /* Runner */ = {
125 | isa = PBXNativeTarget;
126 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
127 | buildPhases = (
128 | 9740EEB61CF901F6004384FC /* Run Script */,
129 | 97C146EA1CF9000F007C117D /* Sources */,
130 | 97C146EB1CF9000F007C117D /* Frameworks */,
131 | 97C146EC1CF9000F007C117D /* Resources */,
132 | 9705A1C41CF9048500538489 /* Embed Frameworks */,
133 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
134 | );
135 | buildRules = (
136 | );
137 | dependencies = (
138 | );
139 | name = Runner;
140 | productName = Runner;
141 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
142 | productType = "com.apple.product-type.application";
143 | };
144 | /* End PBXNativeTarget section */
145 |
146 | /* Begin PBXProject section */
147 | 97C146E61CF9000F007C117D /* Project object */ = {
148 | isa = PBXProject;
149 | attributes = {
150 | LastUpgradeCheck = 1020;
151 | ORGANIZATIONNAME = "The Chromium Authors";
152 | TargetAttributes = {
153 | 97C146ED1CF9000F007C117D = {
154 | CreatedOnToolsVersion = 7.3.1;
155 | LastSwiftMigration = 1100;
156 | };
157 | };
158 | };
159 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
160 | compatibilityVersion = "Xcode 3.2";
161 | developmentRegion = en;
162 | hasScannedForEncodings = 0;
163 | knownRegions = (
164 | en,
165 | Base,
166 | );
167 | mainGroup = 97C146E51CF9000F007C117D;
168 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
169 | projectDirPath = "";
170 | projectRoot = "";
171 | targets = (
172 | 97C146ED1CF9000F007C117D /* Runner */,
173 | );
174 | };
175 | /* End PBXProject section */
176 |
177 | /* Begin PBXResourcesBuildPhase section */
178 | 97C146EC1CF9000F007C117D /* Resources */ = {
179 | isa = PBXResourcesBuildPhase;
180 | buildActionMask = 2147483647;
181 | files = (
182 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
183 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
184 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
185 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
186 | );
187 | runOnlyForDeploymentPostprocessing = 0;
188 | };
189 | /* End PBXResourcesBuildPhase section */
190 |
191 | /* Begin PBXShellScriptBuildPhase section */
192 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
193 | isa = PBXShellScriptBuildPhase;
194 | buildActionMask = 2147483647;
195 | files = (
196 | );
197 | inputPaths = (
198 | );
199 | name = "Thin Binary";
200 | outputPaths = (
201 | );
202 | runOnlyForDeploymentPostprocessing = 0;
203 | shellPath = /bin/sh;
204 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin";
205 | };
206 | 9740EEB61CF901F6004384FC /* Run Script */ = {
207 | isa = PBXShellScriptBuildPhase;
208 | buildActionMask = 2147483647;
209 | files = (
210 | );
211 | inputPaths = (
212 | );
213 | name = "Run Script";
214 | outputPaths = (
215 | );
216 | runOnlyForDeploymentPostprocessing = 0;
217 | shellPath = /bin/sh;
218 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
219 | };
220 | /* End PBXShellScriptBuildPhase section */
221 |
222 | /* Begin PBXSourcesBuildPhase section */
223 | 97C146EA1CF9000F007C117D /* Sources */ = {
224 | isa = PBXSourcesBuildPhase;
225 | buildActionMask = 2147483647;
226 | files = (
227 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
228 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
229 | );
230 | runOnlyForDeploymentPostprocessing = 0;
231 | };
232 | /* End PBXSourcesBuildPhase section */
233 |
234 | /* Begin PBXVariantGroup section */
235 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
236 | isa = PBXVariantGroup;
237 | children = (
238 | 97C146FB1CF9000F007C117D /* Base */,
239 | );
240 | name = Main.storyboard;
241 | sourceTree = "";
242 | };
243 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
244 | isa = PBXVariantGroup;
245 | children = (
246 | 97C147001CF9000F007C117D /* Base */,
247 | );
248 | name = LaunchScreen.storyboard;
249 | sourceTree = "";
250 | };
251 | /* End PBXVariantGroup section */
252 |
253 | /* Begin XCBuildConfiguration section */
254 | 249021D3217E4FDB00AE95B9 /* Profile */ = {
255 | isa = XCBuildConfiguration;
256 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
257 | buildSettings = {
258 | ALWAYS_SEARCH_USER_PATHS = NO;
259 | CLANG_ANALYZER_NONNULL = YES;
260 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
261 | CLANG_CXX_LIBRARY = "libc++";
262 | CLANG_ENABLE_MODULES = YES;
263 | CLANG_ENABLE_OBJC_ARC = YES;
264 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
265 | CLANG_WARN_BOOL_CONVERSION = YES;
266 | CLANG_WARN_COMMA = YES;
267 | CLANG_WARN_CONSTANT_CONVERSION = YES;
268 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
269 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
270 | CLANG_WARN_EMPTY_BODY = YES;
271 | CLANG_WARN_ENUM_CONVERSION = YES;
272 | CLANG_WARN_INFINITE_RECURSION = YES;
273 | CLANG_WARN_INT_CONVERSION = YES;
274 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
275 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
276 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
277 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
278 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
279 | CLANG_WARN_STRICT_PROTOTYPES = YES;
280 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
281 | CLANG_WARN_UNREACHABLE_CODE = YES;
282 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
283 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
284 | COPY_PHASE_STRIP = NO;
285 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
286 | ENABLE_NS_ASSERTIONS = NO;
287 | ENABLE_STRICT_OBJC_MSGSEND = YES;
288 | GCC_C_LANGUAGE_STANDARD = gnu99;
289 | GCC_NO_COMMON_BLOCKS = YES;
290 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
291 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
292 | GCC_WARN_UNDECLARED_SELECTOR = YES;
293 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
294 | GCC_WARN_UNUSED_FUNCTION = YES;
295 | GCC_WARN_UNUSED_VARIABLE = YES;
296 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
297 | MTL_ENABLE_DEBUG_INFO = NO;
298 | SDKROOT = iphoneos;
299 | SUPPORTED_PLATFORMS = iphoneos;
300 | TARGETED_DEVICE_FAMILY = "1,2";
301 | VALIDATE_PRODUCT = YES;
302 | };
303 | name = Profile;
304 | };
305 | 249021D4217E4FDB00AE95B9 /* Profile */ = {
306 | isa = XCBuildConfiguration;
307 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
308 | buildSettings = {
309 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
310 | CLANG_ENABLE_MODULES = YES;
311 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
312 | ENABLE_BITCODE = NO;
313 | FRAMEWORK_SEARCH_PATHS = (
314 | "$(inherited)",
315 | "$(PROJECT_DIR)/Flutter",
316 | );
317 | INFOPLIST_FILE = Runner/Info.plist;
318 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
319 | LIBRARY_SEARCH_PATHS = (
320 | "$(inherited)",
321 | "$(PROJECT_DIR)/Flutter",
322 | );
323 | PRODUCT_BUNDLE_IDENTIFIER = com.example.toolbaranimation;
324 | PRODUCT_NAME = "$(TARGET_NAME)";
325 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
326 | SWIFT_VERSION = 5.0;
327 | VERSIONING_SYSTEM = "apple-generic";
328 | };
329 | name = Profile;
330 | };
331 | 97C147031CF9000F007C117D /* Debug */ = {
332 | isa = XCBuildConfiguration;
333 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
334 | buildSettings = {
335 | ALWAYS_SEARCH_USER_PATHS = NO;
336 | CLANG_ANALYZER_NONNULL = YES;
337 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
338 | CLANG_CXX_LIBRARY = "libc++";
339 | CLANG_ENABLE_MODULES = YES;
340 | CLANG_ENABLE_OBJC_ARC = YES;
341 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
342 | CLANG_WARN_BOOL_CONVERSION = YES;
343 | CLANG_WARN_COMMA = YES;
344 | CLANG_WARN_CONSTANT_CONVERSION = YES;
345 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
346 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
347 | CLANG_WARN_EMPTY_BODY = YES;
348 | CLANG_WARN_ENUM_CONVERSION = YES;
349 | CLANG_WARN_INFINITE_RECURSION = YES;
350 | CLANG_WARN_INT_CONVERSION = YES;
351 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
352 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
353 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
354 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
355 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
356 | CLANG_WARN_STRICT_PROTOTYPES = YES;
357 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
358 | CLANG_WARN_UNREACHABLE_CODE = YES;
359 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
360 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
361 | COPY_PHASE_STRIP = NO;
362 | DEBUG_INFORMATION_FORMAT = dwarf;
363 | ENABLE_STRICT_OBJC_MSGSEND = YES;
364 | ENABLE_TESTABILITY = YES;
365 | GCC_C_LANGUAGE_STANDARD = gnu99;
366 | GCC_DYNAMIC_NO_PIC = NO;
367 | GCC_NO_COMMON_BLOCKS = YES;
368 | GCC_OPTIMIZATION_LEVEL = 0;
369 | GCC_PREPROCESSOR_DEFINITIONS = (
370 | "DEBUG=1",
371 | "$(inherited)",
372 | );
373 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
374 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
375 | GCC_WARN_UNDECLARED_SELECTOR = YES;
376 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
377 | GCC_WARN_UNUSED_FUNCTION = YES;
378 | GCC_WARN_UNUSED_VARIABLE = YES;
379 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
380 | MTL_ENABLE_DEBUG_INFO = YES;
381 | ONLY_ACTIVE_ARCH = YES;
382 | SDKROOT = iphoneos;
383 | TARGETED_DEVICE_FAMILY = "1,2";
384 | };
385 | name = Debug;
386 | };
387 | 97C147041CF9000F007C117D /* Release */ = {
388 | isa = XCBuildConfiguration;
389 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
390 | buildSettings = {
391 | ALWAYS_SEARCH_USER_PATHS = NO;
392 | CLANG_ANALYZER_NONNULL = YES;
393 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
394 | CLANG_CXX_LIBRARY = "libc++";
395 | CLANG_ENABLE_MODULES = YES;
396 | CLANG_ENABLE_OBJC_ARC = YES;
397 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
398 | CLANG_WARN_BOOL_CONVERSION = YES;
399 | CLANG_WARN_COMMA = YES;
400 | CLANG_WARN_CONSTANT_CONVERSION = YES;
401 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
402 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
403 | CLANG_WARN_EMPTY_BODY = YES;
404 | CLANG_WARN_ENUM_CONVERSION = YES;
405 | CLANG_WARN_INFINITE_RECURSION = YES;
406 | CLANG_WARN_INT_CONVERSION = YES;
407 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
408 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
409 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
410 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
411 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
412 | CLANG_WARN_STRICT_PROTOTYPES = YES;
413 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
414 | CLANG_WARN_UNREACHABLE_CODE = YES;
415 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
416 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
417 | COPY_PHASE_STRIP = NO;
418 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
419 | ENABLE_NS_ASSERTIONS = NO;
420 | ENABLE_STRICT_OBJC_MSGSEND = YES;
421 | GCC_C_LANGUAGE_STANDARD = gnu99;
422 | GCC_NO_COMMON_BLOCKS = YES;
423 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
424 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
425 | GCC_WARN_UNDECLARED_SELECTOR = YES;
426 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
427 | GCC_WARN_UNUSED_FUNCTION = YES;
428 | GCC_WARN_UNUSED_VARIABLE = YES;
429 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
430 | MTL_ENABLE_DEBUG_INFO = NO;
431 | SDKROOT = iphoneos;
432 | SUPPORTED_PLATFORMS = iphoneos;
433 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
434 | TARGETED_DEVICE_FAMILY = "1,2";
435 | VALIDATE_PRODUCT = YES;
436 | };
437 | name = Release;
438 | };
439 | 97C147061CF9000F007C117D /* Debug */ = {
440 | isa = XCBuildConfiguration;
441 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
442 | buildSettings = {
443 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
444 | CLANG_ENABLE_MODULES = YES;
445 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
446 | ENABLE_BITCODE = NO;
447 | FRAMEWORK_SEARCH_PATHS = (
448 | "$(inherited)",
449 | "$(PROJECT_DIR)/Flutter",
450 | );
451 | INFOPLIST_FILE = Runner/Info.plist;
452 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
453 | LIBRARY_SEARCH_PATHS = (
454 | "$(inherited)",
455 | "$(PROJECT_DIR)/Flutter",
456 | );
457 | PRODUCT_BUNDLE_IDENTIFIER = com.example.toolbaranimation;
458 | PRODUCT_NAME = "$(TARGET_NAME)";
459 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
460 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
461 | SWIFT_VERSION = 5.0;
462 | VERSIONING_SYSTEM = "apple-generic";
463 | };
464 | name = Debug;
465 | };
466 | 97C147071CF9000F007C117D /* Release */ = {
467 | isa = XCBuildConfiguration;
468 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
469 | buildSettings = {
470 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
471 | CLANG_ENABLE_MODULES = YES;
472 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
473 | ENABLE_BITCODE = NO;
474 | FRAMEWORK_SEARCH_PATHS = (
475 | "$(inherited)",
476 | "$(PROJECT_DIR)/Flutter",
477 | );
478 | INFOPLIST_FILE = Runner/Info.plist;
479 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
480 | LIBRARY_SEARCH_PATHS = (
481 | "$(inherited)",
482 | "$(PROJECT_DIR)/Flutter",
483 | );
484 | PRODUCT_BUNDLE_IDENTIFIER = com.example.toolbaranimation;
485 | PRODUCT_NAME = "$(TARGET_NAME)";
486 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
487 | SWIFT_VERSION = 5.0;
488 | VERSIONING_SYSTEM = "apple-generic";
489 | };
490 | name = Release;
491 | };
492 | /* End XCBuildConfiguration section */
493 |
494 | /* Begin XCConfigurationList section */
495 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
496 | isa = XCConfigurationList;
497 | buildConfigurations = (
498 | 97C147031CF9000F007C117D /* Debug */,
499 | 97C147041CF9000F007C117D /* Release */,
500 | 249021D3217E4FDB00AE95B9 /* Profile */,
501 | );
502 | defaultConfigurationIsVisible = 0;
503 | defaultConfigurationName = Release;
504 | };
505 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
506 | isa = XCConfigurationList;
507 | buildConfigurations = (
508 | 97C147061CF9000F007C117D /* Debug */,
509 | 97C147071CF9000F007C117D /* Release */,
510 | 249021D4217E4FDB00AE95B9 /* Profile */,
511 | );
512 | defaultConfigurationIsVisible = 0;
513 | defaultConfigurationName = Release;
514 | };
515 | /* End XCConfigurationList section */
516 | };
517 | rootObject = 97C146E61CF9000F007C117D /* Project object */;
518 | }
519 |
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
39 |
40 |
41 |
42 |
43 |
44 |
54 |
56 |
62 |
63 |
64 |
65 |
66 |
67 |
73 |
75 |
81 |
82 |
83 |
84 |
86 |
87 |
90 |
91 |
92 |
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-App-20x20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-App-20x20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-App-29x29@1x.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-App-29x29@2x.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-App-29x29@3x.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-App-40x40@2x.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-App-40x40@3x.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-App-60x60@2x.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "60x60",
53 | "idiom" : "iphone",
54 | "filename" : "Icon-App-60x60@3x.png",
55 | "scale" : "3x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "Icon-App-20x20@1x.png",
61 | "scale" : "1x"
62 | },
63 | {
64 | "size" : "20x20",
65 | "idiom" : "ipad",
66 | "filename" : "Icon-App-20x20@2x.png",
67 | "scale" : "2x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "Icon-App-29x29@1x.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "29x29",
77 | "idiom" : "ipad",
78 | "filename" : "Icon-App-29x29@2x.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "Icon-App-40x40@1x.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "40x40",
89 | "idiom" : "ipad",
90 | "filename" : "Icon-App-40x40@2x.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "Icon-App-76x76@1x.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "76x76",
101 | "idiom" : "ipad",
102 | "filename" : "Icon-App-76x76@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "83.5x83.5",
107 | "idiom" : "ipad",
108 | "filename" : "Icon-App-83.5x83.5@2x.png",
109 | "scale" : "2x"
110 | },
111 | {
112 | "size" : "1024x1024",
113 | "idiom" : "ios-marketing",
114 | "filename" : "Icon-App-1024x1024@1x.png",
115 | "scale" : "1x"
116 | }
117 | ],
118 | "info" : {
119 | "version" : 1,
120 | "author" : "xcode"
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/FlutterAnimation/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 |
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/FlutterAnimation/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/FlutterAnimation/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.
--------------------------------------------------------------------------------
/FlutterAnimation/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 |
--------------------------------------------------------------------------------
/FlutterAnimation/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 |
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner/GeneratedPluginRegistrant.h:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | #ifndef GeneratedPluginRegistrant_h
6 | #define GeneratedPluginRegistrant_h
7 |
8 | #import
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface GeneratedPluginRegistrant : NSObject
13 | + (void)registerWithRegistry:(NSObject*)registry;
14 | @end
15 |
16 | NS_ASSUME_NONNULL_END
17 | #endif /* GeneratedPluginRegistrant_h */
18 |
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner/GeneratedPluginRegistrant.m:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | #import "GeneratedPluginRegistrant.h"
6 |
7 | @implementation GeneratedPluginRegistrant
8 |
9 | + (void)registerWithRegistry:(NSObject*)registry {
10 | }
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | toolbaranimation
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | $(FLUTTER_BUILD_NAME)
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | $(FLUTTER_BUILD_NUMBER)
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UISupportedInterfaceOrientations
30 |
31 | UIInterfaceOrientationPortrait
32 | UIInterfaceOrientationLandscapeLeft
33 | UIInterfaceOrientationLandscapeRight
34 |
35 | UISupportedInterfaceOrientations~ipad
36 |
37 | UIInterfaceOrientationPortrait
38 | UIInterfaceOrientationPortraitUpsideDown
39 | UIInterfaceOrientationLandscapeLeft
40 | UIInterfaceOrientationLandscapeRight
41 |
42 | UIViewControllerBasedStatusBarAppearance
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/FlutterAnimation/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
--------------------------------------------------------------------------------
/FlutterAnimation/lib/Animation/AnimationBuildHome.dart:
--------------------------------------------------------------------------------
1 | import 'dart:math';
2 | import 'dart:ui' as ui;
3 | import 'package:FlutterAnimations/Constant/ColorGlobal.dart';
4 | import 'package:vector_math/vector_math.dart' as Vector;
5 | import 'package:flutter/foundation.dart';
6 | import 'package:flutter/widgets.dart';
7 | import 'package:flutter/animation.dart';
8 | import 'package:flutter/material.dart';
9 | import 'package:flutter/scheduler.dart' show timeDilation;
10 | import 'dart:math' as math;
11 |
12 | class AnimationBuild extends StatefulWidget {
13 | @override
14 | _AnimationBuildState createState() => _AnimationBuildState();
15 |
16 | }
17 |
18 | class _AnimationBuildState extends State {
19 | @override
20 | Widget build(BuildContext context) {
21 | Size size = Size(MediaQuery.of(context).size.width, 200.0);
22 | return Scaffold(
23 | body: Stack(
24 | children: [
25 | Opacity(
26 | opacity: 0.9,
27 | child: DemoBody(
28 | size: size,
29 | xOffset: 50,
30 | yOffset: 20,
31 | color: ColorGlobal.colorAccent,
32 | ),
33 | ),
34 | DemoBody(
35 | size: size,
36 | xOffset: 0,
37 | yOffset: 0,
38 | color: ColorGlobal.colorPrimaryDark,
39 | ),
40 | DemoBody(
41 | size: size,
42 | xOffset: 60,
43 | yOffset: 10,
44 | color: ColorGlobal.colorPrimary.withOpacity(0.85),
45 | ),
46 | //
47 | ],
48 | ),
49 | );
50 | }
51 | }
52 |
53 | class DemoBody extends StatefulWidget {
54 | final Size size;
55 | final int xOffset;
56 | final int yOffset;
57 | final Color color;
58 |
59 | DemoBody(
60 | {Key key, @required this.size, this.xOffset, this.yOffset, this.color})
61 | : super(key: key);
62 |
63 | @override
64 | State createState() {
65 | return _DemoBodyState();
66 | }
67 | }
68 |
69 | class _DemoBodyState extends State with TickerProviderStateMixin {
70 | AnimationController animationController;
71 | List animList1 = [];
72 |
73 | @override
74 | void initState() {
75 | super.initState();
76 |
77 | animationController =
78 | AnimationController(vsync: this, duration: Duration(seconds: 2));
79 |
80 | animationController.addListener(() {
81 | animList1.clear();
82 | for (int i = -2 - widget.xOffset;
83 | i <= widget.size.width.toInt() + 2;
84 | i++) {
85 | animList1.add(Offset(
86 | i.toDouble() + widget.xOffset,
87 | sin((animationController.value * 180 - i) % 180 * math.pi / 90.0) *
88 | 12 +
89 | 120 +
90 | widget.yOffset));
91 | }
92 | });
93 | animationController.repeat();
94 | }
95 |
96 | @override
97 | void dispose() {
98 | animationController.dispose();
99 | super.dispose();
100 | }
101 |
102 | @override
103 | Widget build(BuildContext context) {
104 | return Container(
105 | child: AnimatedBuilder(
106 | animation: CurvedAnimation(
107 | parent: animationController,
108 | curve: Curves.easeInOut,
109 | ),
110 | builder: (context, child) => ClipPath(
111 | child: Container(
112 | width: widget.size.width,
113 | height: widget.size.height,
114 | color: widget.color,
115 | ),
116 | clipper: WaveClipper(animationController.value, animList1),
117 | ),
118 | ),
119 | );
120 | }
121 | }
122 |
123 | class WaveClipper extends CustomClipper {
124 | final double animation;
125 |
126 | List waveList1 = [];
127 |
128 | WaveClipper(this.animation, this.waveList1);
129 |
130 | @override
131 | Path getClip(Size size) {
132 | Path path = Path();
133 |
134 | path.addPolygon(waveList1, false);
135 |
136 | path.lineTo(size.width, 0);
137 | path.lineTo(0.0, 0);
138 | path.close();
139 | return path;
140 | }
141 |
142 | @override
143 | bool shouldReclip(WaveClipper oldClipper) =>
144 | animation != oldClipper.animation;
145 | }
--------------------------------------------------------------------------------
/FlutterAnimation/lib/Animation/AnimationBuildLogin.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'dart:math' as Math;
3 |
4 | class AnimationBuildLogin extends StatefulWidget {
5 | final Size size;
6 | final double yOffset;
7 | final Color color;
8 |
9 | AnimationBuildLogin({
10 | this.size,
11 | this.yOffset,
12 | this.color,
13 | });
14 |
15 | @override
16 | _AnimationBuildLoginState createState() => _AnimationBuildLoginState();
17 | }
18 |
19 | class _AnimationBuildLoginState extends State with TickerProviderStateMixin {
20 | AnimationController animationController;
21 | List wavePoints = [];
22 |
23 | @override
24 | void initState() {
25 | super.initState();
26 |
27 | animationController =
28 | AnimationController(vsync: this, duration: Duration(milliseconds: 5000))
29 | ..addListener(() {
30 | wavePoints.clear();
31 |
32 | final double waveSpeed = animationController.value * 1080;
33 | final double fullSphere = animationController.value * Math.pi * 2;
34 | final double normalizer = Math.cos(fullSphere);
35 | final double waveWidth = Math.pi / 270;
36 | final double waveHeight = 30.0;
37 |
38 | for (int i = 0; i <= widget.size.width.toInt(); ++i) {
39 | double calc = Math.sin((waveSpeed - i) * waveWidth);
40 | wavePoints.add(
41 | Offset(
42 | i.toDouble(), //X
43 | calc * waveHeight * normalizer + widget.yOffset, //Y
44 | ),
45 | );
46 |
47 | }
48 | });
49 |
50 | animationController.repeat();
51 | }
52 |
53 | @override
54 | void dispose() {
55 | animationController.dispose();
56 | super.dispose();
57 | }
58 |
59 | @override
60 | Widget build(BuildContext context) {
61 | return AnimatedBuilder(
62 | animation: animationController,
63 | builder: (context, _) {
64 | return ClipPath(
65 | clipper: ClipperWidget(
66 | waveList: wavePoints,
67 | ),
68 | child: Container(
69 | width: widget.size.width,
70 | height: widget.size.height,
71 | color: widget.color,
72 | ),
73 | );
74 | },
75 | );
76 | }
77 | }
78 |
79 | class ClipperWidget extends CustomClipper {
80 | final List waveList;
81 |
82 | ClipperWidget({this.waveList});
83 |
84 | @override
85 | getClip(Size size) {
86 | final Path path = Path();
87 | path.addPolygon(waveList, false);
88 | path.lineTo(size.width, size.height);
89 | path.lineTo(0.0, size.height);
90 | path.close();
91 | return path;
92 | }
93 |
94 | @override
95 | bool shouldReclip(CustomClipper oldClipper) => true;
96 | }
97 |
--------------------------------------------------------------------------------
/FlutterAnimation/lib/Auth/AuthButton.dart:
--------------------------------------------------------------------------------
1 | import 'package:FlutterAnimations/Constant/ColorGlobal.dart';
2 | import 'package:FlutterAnimations/HomePage/HomePage.dart';
3 | import 'package:flutter/material.dart';
4 |
5 | class AuthButton extends StatefulWidget {
6 | @override
7 | _AuthButtonState createState() => _AuthButtonState();
8 | }
9 |
10 | class _AuthButtonState extends State with TickerProviderStateMixin {
11 | String _buttonText = 'BUY TICKET';
12 |
13 | AnimationController _controller;
14 | Animation _roundnessAnimation;
15 |
16 | @override
17 | void initState() {
18 | super.initState();
19 |
20 | _controller = AnimationController(
21 | vsync: this,
22 | duration: Duration(
23 | milliseconds: 500,
24 | ),
25 | )..addListener(() {
26 | setState(() {});
27 | });
28 |
29 | _controller.addStatusListener((status) {
30 | if (status == AnimationStatus.completed) {
31 | Navigator.push(
32 | context,
33 | MaterialPageRoute(builder: (context) {
34 | return Screen2();
35 | }),
36 | );
37 | }
38 | });
39 |
40 | _roundnessAnimation = Tween(begin: 10.0, end: 25.0).animate(CurvedAnimation(
41 | parent: _controller,
42 | curve: Curves.linear,
43 | ));
44 | }
45 |
46 | @override
47 | Widget build(BuildContext context) {
48 | return Material(
49 | color: Colors.transparent,
50 | child: GestureDetector(
51 | onTap: () {
52 | setState(() {
53 | //Starts animation
54 | _controller.forward();
55 | });
56 | },
57 | child: Hero(
58 | tag: 'blackBox',
59 | flightShuttleBuilder: (
60 | BuildContext flightContext,
61 | Animation animation,
62 | HeroFlightDirection flightDirection,
63 | BuildContext fromHeroContext,
64 | BuildContext toHeroContext,
65 | ) {
66 | return Container(
67 | decoration: BoxDecoration(
68 | color: ColorGlobal.colorPrimaryDark,
69 | shape: BoxShape.circle,
70 | ),
71 | );
72 | },
73 | child: Container(
74 | height: (60.0),
75 | decoration: BoxDecoration(
76 | gradient: new LinearGradient(
77 | colors: [
78 | ColorGlobal.whiteColor,
79 | ColorGlobal.whiteColor.withOpacity(0.7),
80 | ],
81 | begin: Alignment.topLeft,
82 | end: Alignment.bottomRight,
83 | ),
84 | boxShadow: [
85 | BoxShadow(
86 | color: ColorGlobal.colorPrimary.withOpacity(0.6),
87 | spreadRadius: 5,
88 | blurRadius: 20,
89 | // changes position of shadow
90 | ),
91 | ],
92 | border: Border.all(
93 | width: 2,
94 | color: ColorGlobal
95 | .colorPrimaryDark, // <--- border width here
96 | ),
97 | color: ColorGlobal.whiteColor,
98 | borderRadius: BorderRadius.all(Radius.circular((22.0)))),
99 | child: Container(
100 | // margin: EdgeInsets.only(left: (10)),
101 | alignment: Alignment.center,
102 | child: Text(
103 | "SIGN IN",
104 | textAlign: TextAlign.center,
105 | style: TextStyle(
106 | fontSize: 18,
107 | letterSpacing: 1,
108 | color: ColorGlobal.colorPrimary,
109 | fontWeight: FontWeight.w700,
110 | ),
111 | ),
112 | ),
113 | ),
114 | ),
115 | ),
116 | );
117 | }
118 | }
119 |
--------------------------------------------------------------------------------
/FlutterAnimation/lib/Auth/Login.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:page_transition/page_transition.dart';
3 | import 'package:FlutterAnimations/Animation/AnimationBuildLogin.dart';
4 | import 'package:FlutterAnimations/Constant/ColorGlobal.dart';
5 | import 'package:FlutterAnimations/Constant/TextField.dart';
6 | import 'package:FlutterAnimations/Constant/frequentWidget.dart';
7 | import 'package:FlutterAnimations/HomePage/HomePage.dart';
8 |
9 | import 'AuthButton.dart';
10 | import 'SignUpPage.dart';
11 |
12 | class Login extends StatefulWidget {
13 | @override
14 | LoginState createState() {
15 | return new LoginState();
16 | }
17 | }
18 |
19 | class LoginState extends State {
20 | var top = FractionalOffset.topCenter;
21 | var bottom = FractionalOffset.bottomCenter;
22 | double width = 190.0;
23 | double widthIcon = 200.0;
24 | TextEditingController email = new TextEditingController();
25 | TextEditingController password = new TextEditingController();
26 |
27 | FocusNode emailFocus = new FocusNode();
28 | FocusNode passwordFocus = new FocusNode();
29 |
30 | getDisposeController() {
31 | email.clear();
32 | password.clear();
33 | emailFocus.unfocus();
34 | passwordFocus.unfocus();
35 | }
36 |
37 | @override
38 | void initState() {
39 | // TODO: implement initState
40 | super.initState();
41 | getDisposeController();
42 | }
43 |
44 | @override
45 | void dispose() {
46 | getDisposeController();
47 | // TODO: implement dispose
48 | super.dispose();
49 | }
50 |
51 | var list = [
52 | Colors.lightGreen,
53 | Colors.redAccent,
54 | ];
55 |
56 | @override
57 | Widget build(BuildContext context) {
58 | final size = MediaQuery.of(context).size;
59 | final bool keyboardOpen = MediaQuery.of(context).viewInsets.bottom > 0;
60 |
61 | return Scaffold(
62 | backgroundColor: ColorGlobal.whiteColor,
63 | body: SingleChildScrollView(
64 | child: Container(
65 | child: Stack(
66 | children: [
67 | Container(
68 | padding: EdgeInsets.only(),
69 | height: size.height,
70 | decoration: BoxDecoration(
71 | gradient: new LinearGradient(
72 | colors: [
73 | ColorGlobal.colorPrimaryDark.withOpacity(0.7),
74 | ColorGlobal.colorPrimary,
75 | ],
76 | begin: Alignment.topLeft,
77 | end: Alignment.bottomRight,
78 | ),
79 | ),
80 | ),
81 | AnimatedPositioned(
82 | duration: Duration(milliseconds: 500),
83 | curve: Curves.easeOutQuad,
84 | // top: keyboardOpen ? -size.height / 3.2 : 0.0,
85 | child: AnimationBuildLogin(
86 | size: size,
87 | yOffset: size.height / getSize(1.36),
88 | color: ColorGlobal.whiteColor,
89 | ),
90 | ),
91 | Padding(
92 | padding: EdgeInsets.only(top: getSize(70)),
93 | child: Row(
94 | mainAxisAlignment: MainAxisAlignment.center,
95 | children: [
96 | Image.asset(
97 | 'assets/Icon/iconn.png',
98 | height: 100,
99 | width: 100,
100 | color: ColorGlobal.whiteColor,
101 | ),
102 | ],
103 | ),
104 | ),
105 | Padding(
106 | padding: EdgeInsets.only(top: getSize(200)),
107 | child: Row(
108 | mainAxisAlignment: MainAxisAlignment.center,
109 | children: [
110 | Text(
111 | 'Welcome Back !',
112 | style: TextStyle(
113 | color: ColorGlobal.whiteColor,
114 | fontSize: 24.0,
115 | letterSpacing: 2,
116 | fontWeight: FontWeight.w900,
117 | ),
118 | ),
119 | ],
120 | ),
121 | ),
122 | Padding(
123 | padding: EdgeInsets.only(
124 | right: 22,
125 | left: 22,
126 | bottom: 22,
127 | top: getSize(270),
128 | ),
129 | child: Column(
130 | crossAxisAlignment: CrossAxisAlignment.stretch,
131 | children: [
132 | Container(
133 | child: TextFieldWidget(
134 | hintText: 'Email',
135 | obscureText: false,
136 | prefixIconData: Icons.mail_outline,
137 | textEditingController: email,
138 | focusNode: emailFocus,
139 | ),
140 | ),
141 | SizedBox(
142 | height: 22,
143 | ),
144 | Container(
145 | child: TextFieldWidget(
146 | hintText: 'Password',
147 | obscureText: true,
148 | prefixIconData: Icons.lock,
149 | textEditingController: password,
150 | focusNode: passwordFocus,
151 | ),
152 | ),
153 | Container(
154 | margin: EdgeInsets.only(right: 8, top: getSize(18)),
155 | child: Text(
156 | "Forget Password ?",
157 | textAlign: TextAlign.end,
158 | style: TextStyle(
159 | fontSize: 18,
160 | color: ColorGlobal.whiteColor.withOpacity(0.9),
161 | fontWeight: FontWeight.w600,
162 | ),
163 | ),
164 | ),
165 | Container(
166 | alignment: Alignment.center,
167 | color: Colors.transparent,
168 | margin: EdgeInsets.only(
169 | top: getSize(40),
170 | right: (8),
171 | left: (8),
172 | bottom: (20),
173 | ),
174 | child: AuthButton(),
175 | ),
176 | ],
177 | ),
178 | )
179 | ],
180 | ),
181 | ),
182 | ),
183 | bottomNavigationBar: Container(
184 | color: ColorGlobal.whiteColor,
185 | height: 70,
186 | margin: EdgeInsets.only(bottom: 30),
187 | child: Column(
188 | children: [
189 | Row(
190 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
191 | children: [
192 | AnimatedContainer(
193 | width: widthIcon,
194 | duration: Duration(seconds: 1),
195 | curve: Curves.linear,
196 | child: Row(
197 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
198 | children: [
199 | getAuth(
200 | "assets/Icon/google.png",
201 | margin: EdgeInsets.only(left: 30.0),
202 | ),
203 | getAuth(
204 | "assets/Icon/facebook.png",
205 | margin: EdgeInsets.only(right: 30.0),
206 | ),
207 | ],
208 | ),
209 | ),
210 | InkWell(
211 | onTap: () {
212 | getDisposeController();
213 | Navigator.push(
214 | context,
215 | PageTransition(
216 | type: PageTransitionType.rightToLeft,
217 | duration: Duration(milliseconds: 800),
218 | child: SignUpPage()))
219 | .then((value) {
220 | Future.delayed(Duration(milliseconds: 300), () {
221 | setState(() {
222 | width = 190;
223 | widthIcon = 200;
224 | });
225 | });
226 | });
227 | setState(() {
228 | width = 400.0;
229 | widthIcon = 0;
230 | });
231 | },
232 | child: AnimatedContainer(
233 | height: 65.0,
234 | width: width,
235 | duration: Duration(milliseconds: 1000),
236 | child: Row(
237 | children: [
238 | Container(
239 | margin: EdgeInsets.only(left: 10),
240 | child: Icon(
241 | Icons.arrow_back_ios,
242 | color: ColorGlobal.whiteColor,
243 | ),
244 | ),
245 | Container(
246 | margin: EdgeInsets.only(left: 10),
247 | child: Column(
248 | mainAxisAlignment: MainAxisAlignment.center,
249 | crossAxisAlignment: CrossAxisAlignment.start,
250 | children: [
251 | Container(
252 | // margin: EdgeInsets.only(right: 8,top: 15),
253 | child: Text(
254 | "Not Yet Register ?",
255 | textAlign: TextAlign.end,
256 | style: TextStyle(
257 | fontSize: 14,
258 | letterSpacing: 1,
259 | color:
260 | ColorGlobal.whiteColor.withOpacity(0.9),
261 | fontWeight: FontWeight.w400,
262 | ),
263 | ),
264 | ),
265 | SizedBox(height: 5),
266 | Container(
267 | // margin: EdgeInsets.only(right: 8,top: 15),
268 | child: Text(
269 | "Sign Up",
270 | textAlign: TextAlign.end,
271 | style: TextStyle(
272 | fontSize: 16,
273 | letterSpacing: 1,
274 | color:
275 | ColorGlobal.whiteColor.withOpacity(0.9),
276 | fontWeight: FontWeight.w600,
277 | ),
278 | ),
279 | ),
280 | ],
281 | ),
282 | ),
283 | ],
284 | ),
285 | curve: Curves.linear,
286 | decoration: BoxDecoration(
287 | borderRadius: BorderRadius.only(
288 | bottomLeft: Radius.circular(40),
289 | topLeft: Radius.circular(40),
290 | ),
291 | color: ColorGlobal.colorPrimaryDark,
292 | ),
293 | ),
294 | ),
295 | ],
296 | ),
297 | ],
298 | ),
299 | ),
300 | );
301 | }
302 | }
303 |
304 |
--------------------------------------------------------------------------------
/FlutterAnimation/lib/Auth/SignUpPage.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:page_transition/page_transition.dart';
3 | import 'package:FlutterAnimations/Constant/ColorGlobal.dart';
4 |
5 | import 'package:flutter/material.dart';
6 | import 'package:page_transition/page_transition.dart';
7 | import 'package:FlutterAnimations/Animation/AnimationBuildLogin.dart';
8 | import 'package:FlutterAnimations/Constant/ColorGlobal.dart';
9 | import 'package:FlutterAnimations/Constant/TextField.dart';
10 | import 'package:FlutterAnimations/Constant/frequentWidget.dart';
11 |
12 | import 'SignUpPage.dart';
13 |
14 | class SignUpPage extends StatefulWidget {
15 |
16 |
17 | @override
18 | SignUpPageState createState() {
19 | return new SignUpPageState();
20 | }
21 | }
22 |
23 | class SignUpPageState extends State {
24 | var top = FractionalOffset.topCenter;
25 | var bottom = FractionalOffset.bottomCenter;
26 | double width = 400.0;
27 | double widthIcon = 200.0;
28 | TextEditingController name = new TextEditingController();
29 | TextEditingController email = new TextEditingController();
30 | TextEditingController password = new TextEditingController();
31 |
32 | FocusNode nameFocus = new FocusNode();
33 | FocusNode emailFocus = new FocusNode();
34 | FocusNode passwordFocus = new FocusNode();
35 |
36 | var list = [
37 | Colors.lightGreen,
38 | Colors.redAccent,
39 | ];
40 |
41 | @override
42 | void initState() {
43 | // TODO: implement initState
44 | super.initState();
45 | Future.delayed(Duration(milliseconds: 200), () {
46 | setState(() {
47 | width = 190.0;
48 | });
49 | });
50 | }
51 |
52 | @override
53 | Widget build(BuildContext context) {
54 | final size = MediaQuery.of(context).size;
55 | final bool keyboardOpen = MediaQuery.of(context).viewInsets.bottom > 0;
56 | return Scaffold(
57 | backgroundColor: ColorGlobal.whiteColor,
58 | body: SingleChildScrollView(
59 | child: Container(
60 | child: Stack(
61 | children: [
62 | Container(
63 | padding: EdgeInsets.only(),
64 | height: size.height,
65 | decoration: BoxDecoration(
66 | gradient: new LinearGradient(
67 | colors: [
68 | ColorGlobal.colorPrimaryDark.withOpacity(0.8),
69 | ColorGlobal.colorPrimary,
70 | ],
71 | begin: Alignment.topLeft,
72 | end: Alignment.bottomRight,
73 | ),
74 | ),
75 | ),
76 | AnimatedPositioned(
77 | duration: Duration(milliseconds: 500),
78 | curve: Curves.easeOutQuad,
79 | child: AnimationBuildLogin(
80 | size: size,
81 | yOffset: size.height / 1.26,
82 | color: ColorGlobal.whiteColor,
83 | ),
84 | ),
85 | Padding(
86 | padding: const EdgeInsets.only(top: 70.0),
87 | child: Row(
88 | mainAxisAlignment: MainAxisAlignment.center,
89 | children: [
90 | Image.asset(
91 | 'assets/Icon/iconn.png',
92 | height: 120,
93 | width: 120,
94 | color: ColorGlobal.whiteColor,
95 | ),
96 | ],
97 | ),
98 | ),
99 | Padding(
100 | padding: const EdgeInsets.only(top: 210.0),
101 | child: Row(
102 | mainAxisAlignment: MainAxisAlignment.center,
103 | children: [
104 | Text(
105 | 'Create Account !',
106 | style: TextStyle(
107 | color: ColorGlobal.whiteColor,
108 | fontSize: 24.0,
109 | letterSpacing: 2,
110 | fontWeight: FontWeight.w900,
111 | ),
112 | ),
113 | ],
114 | ),
115 | ),
116 | Padding(
117 | padding: const EdgeInsets.only(
118 | right: 22,
119 | left: 22,
120 | bottom: 22,
121 | top: 270,
122 | ),
123 | child: Column(
124 | crossAxisAlignment: CrossAxisAlignment.stretch,
125 | children: [
126 | Container(
127 | child: TextFieldWidget(
128 | hintText: 'Name',
129 | obscureText: false,
130 | prefixIconData: Icons.account_circle,
131 | textEditingController: name,
132 | focusNode: nameFocus,
133 | ),
134 | ),
135 | SizedBox(
136 | height: 20,
137 | ),
138 | Container(
139 | child: TextFieldWidget(
140 | hintText: 'Email',
141 | obscureText: false,
142 | prefixIconData: Icons.email,
143 | textEditingController: email,
144 | focusNode: emailFocus,
145 | ),
146 | ),
147 | SizedBox(
148 | height: 20,
149 | ),
150 | Container(
151 | child: TextFieldWidget(
152 | hintText: 'Password',
153 | obscureText: true,
154 | prefixIconData: Icons.lock,
155 | focusNode: passwordFocus,
156 | textEditingController: password,
157 | ),
158 | ),
159 | InkWell(
160 | onTap: () {
161 | Navigator.push(
162 | context,
163 | PageTransition(
164 | type: PageTransitionType.rightToLeft,
165 | duration: Duration(milliseconds: 400),
166 | child: SignUpPage()));
167 | },
168 | child: Container(
169 | margin: EdgeInsets.only(
170 | top: (30),
171 | right: (8),
172 | left: (8),
173 | bottom: (20),
174 | ),
175 | height: (60.0),
176 | decoration: BoxDecoration(
177 | gradient: new LinearGradient(
178 | colors: [
179 | ColorGlobal.whiteColor,
180 | ColorGlobal.whiteColor.withOpacity(0.7),
181 | ],
182 | begin: Alignment.topLeft,
183 | end: Alignment.bottomRight,
184 | ),
185 | boxShadow: [
186 | BoxShadow(
187 | color: ColorGlobal.colorPrimary.withOpacity(0.6),
188 | spreadRadius: 5,
189 | blurRadius: 20,
190 | // changes position of shadow
191 | ),
192 | ],
193 | border: Border.all(
194 | width: 2,
195 | color: ColorGlobal
196 | .colorPrimaryDark, // <--- border width here
197 | ),
198 | color: ColorGlobal.whiteColor,
199 | borderRadius: BorderRadius.all(
200 | Radius.circular(
201 | (22.0),
202 | ),
203 | ),
204 | ),
205 | child: Container(
206 | // margin: EdgeInsets.only(left: (10)),
207 | alignment: Alignment.center,
208 | child: Text(
209 | "SIGN UP",
210 | textAlign: TextAlign.center,
211 | style: TextStyle(
212 | fontSize: 18,
213 | letterSpacing: 1,
214 | color: ColorGlobal.colorPrimary,
215 | fontWeight: FontWeight.w700,
216 | ),
217 | ),
218 | ),
219 | ),
220 | ),
221 | ],
222 | ),
223 | ),
224 | ],
225 | ),
226 | ),
227 | ),
228 | bottomNavigationBar: Container(
229 | margin: EdgeInsets.only(bottom: 30),
230 | color: ColorGlobal.whiteColor,
231 | height: 70,
232 | child: Column(
233 | children: [
234 | Row(
235 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
236 | children: [
237 | InkWell(
238 | onTap: () {
239 | Navigator.pop(
240 | context,
241 | PageTransition(
242 | type: PageTransitionType.leftToRight,
243 | duration: Duration(milliseconds: 800),
244 | ));
245 | setState(() {
246 | width = 500;
247 | widthIcon = 0;
248 | });
249 | },
250 | child: AnimatedContainer(
251 | height: 65.0,
252 | width: width,
253 | duration: Duration(milliseconds: 1000),
254 | curve: Curves.linear,
255 | child: Row(
256 | children: [
257 | Container(
258 | margin: EdgeInsets.only(left: 10),
259 | child: Column(
260 | mainAxisAlignment: MainAxisAlignment.center,
261 | crossAxisAlignment: CrossAxisAlignment.start,
262 | children: [
263 | Container(
264 | // margin: EdgeInsets.only(right: 8,top: 15),
265 | child: Text(
266 | "Have an Account",
267 | textAlign: TextAlign.end,
268 | style: TextStyle(
269 | fontSize: 14,
270 | letterSpacing: 1,
271 | color:
272 | ColorGlobal.whiteColor.withOpacity(0.9),
273 | fontWeight: FontWeight.w400,
274 | ),
275 | ),
276 | ),
277 | SizedBox(height: 5),
278 | Container(
279 | // margin: EdgeInsets.only(right: 8,top: 15),
280 | child: Text(
281 | "Sign In",
282 | textAlign: TextAlign.end,
283 | style: TextStyle(
284 | fontSize: 16,
285 | letterSpacing: 1,
286 | color:
287 | ColorGlobal.whiteColor.withOpacity(0.9),
288 | fontWeight: FontWeight.w600,
289 | ),
290 | ),
291 | ),
292 | ],
293 | ),
294 | ),
295 | Container(
296 | margin: EdgeInsets.only(left: 10),
297 | child: Icon(
298 | Icons.arrow_forward_ios,
299 | color: ColorGlobal.whiteColor,
300 | ),
301 | ),
302 | ],
303 | ),
304 | decoration: BoxDecoration(
305 | borderRadius: BorderRadius.only(
306 | bottomRight: Radius.circular(40),
307 | topRight: Radius.circular(40),
308 | ),
309 | color: ColorGlobal.colorPrimaryDark,
310 | ),
311 | ),
312 | ),
313 | AnimatedContainer(
314 | width: widthIcon,
315 | duration: Duration(seconds: 1),
316 | curve: Curves.linear,
317 | child: Row(
318 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
319 | children: [
320 | getAuth(
321 | "assets/Icon/google.png",
322 | margin: EdgeInsets.only(left: 35),
323 | ),
324 | getAuth(
325 | "assets/Icon/facebook.png",
326 | margin: EdgeInsets.only(right: 30.0),
327 | ),
328 | ],
329 | ),
330 | ),
331 | ],
332 | ),
333 | ],
334 | ),
335 | ),
336 |
337 | // floatingActionButtonLocation: FloatingActionButtonLocation.centerFloat,
338 | // floatingActionButton: FloatingActionButton.extended(
339 | //
340 | // icon: Icon(Icons.update),
341 | // label: Text("Transform")),
342 | );
343 | }
344 | }
345 |
--------------------------------------------------------------------------------
/FlutterAnimation/lib/Constant/ColorGlobal.dart:
--------------------------------------------------------------------------------
1 | import 'dart:ui';
2 | import 'package:flutter/material.dart';
3 |
4 | class ColorGlobal {
5 | static const Color colorPrimary = const Color(0xFF373564);
6 | static const Color colorPrimaryDark= const Color(0xFF5d5c7f);
7 | static const Color colorAccent= const Color(0XFFbfbeca);
8 | static const Color whiteColor= const Color(0xFFFFFFFF);
9 | static const Color accentSecond= const Color(0xFFfc948b);
10 | static const Color blueColor= const Color(0xFF5d6afa);
11 |
12 | }
13 |
--------------------------------------------------------------------------------
/FlutterAnimation/lib/Constant/ReactForAnimation.dart:
--------------------------------------------------------------------------------
1 | import 'dart:ui';
2 |
3 | import 'package:flutter/animation.dart';
4 |
5 | class RectForAnimation extends RectTween {
6 | RectForAnimation({Rect begin, Rect end}) : super(begin: begin, end: end) {}
7 |
8 | @override
9 | Rect lerp(double t) {
10 | final double width = lerpDouble(begin.width, end.width, t);
11 | double startWidthCenter = begin.left + (begin.width / 2);
12 | double startHeightCenter = begin.top + (begin.height / 2);
13 |
14 | return Rect.fromCircle(
15 | center: Offset(startWidthCenter, startHeightCenter),
16 | radius: width * 1.7,
17 | );
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/FlutterAnimation/lib/Constant/TextField.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import 'ColorGlobal.dart';
4 |
5 | class TextFieldWidget extends StatelessWidget {
6 | final String hintText;
7 | final IconData prefixIconData;
8 | final IconData suffixIconData;
9 | final bool obscureText;
10 | final Function onChanged;
11 | final FocusNode focusNode;
12 | final TextEditingController textEditingController;
13 |
14 | TextFieldWidget({
15 | this.hintText,
16 | this.prefixIconData,
17 | this.suffixIconData,
18 | this.obscureText,
19 | this.onChanged,
20 | this.textEditingController,
21 | this.focusNode,
22 | });
23 |
24 | @override
25 | Widget build(BuildContext context) {
26 | return TextField(
27 | onChanged: onChanged,
28 | obscureText: obscureText,
29 | controller: textEditingController,
30 | cursorColor: ColorGlobal.colorPrimary,
31 | focusNode: focusNode,
32 | style: TextStyle(
33 | color: ColorGlobal.whiteColor,
34 | fontWeight: FontWeight.w600,
35 | fontSize: 16.0,
36 | ),
37 | decoration: InputDecoration(
38 | labelStyle: TextStyle(color: ColorGlobal.whiteColor),
39 | focusColor: ColorGlobal.whiteColor,
40 | filled: true,
41 | enabledBorder: UnderlineInputBorder(
42 | borderRadius: BorderRadius.circular(10),
43 | borderSide: BorderSide.none,
44 | ),
45 | focusedBorder: OutlineInputBorder(
46 | borderRadius: BorderRadius.circular(15),
47 | borderSide: BorderSide(color: ColorGlobal.whiteColor),
48 | ),
49 | labelText: hintText,
50 | hintStyle: TextStyle(color: ColorGlobal.colorPrimary, fontSize: 14),
51 | prefixIcon: Icon(
52 | prefixIconData,
53 | size: 20,
54 | color: ColorGlobal.whiteColor,
55 | ),
56 | suffixIcon: GestureDetector(
57 | child: Icon(
58 | suffixIconData,
59 | size: 20,
60 | color: ColorGlobal.whiteColor,
61 | ),
62 | ),
63 | ),
64 | );
65 | }
66 | }
67 |
--------------------------------------------------------------------------------
/FlutterAnimation/lib/Constant/frequentWidget.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import 'ColorGlobal.dart';
4 |
5 |
6 | Widget getImage(String imgName){
7 | return Container(
8 | child: ClipRRect(
9 | borderRadius: BorderRadius.circular(8.0),
10 | child: Image.asset(
11 | imgName ?? "assets/Icon/staue.jpg",
12 | width: 100,
13 | height: 100,
14 | ),
15 | ),
16 | );
17 | }
18 | Widget getAuth(String imageName, {EdgeInsetsGeometry margin}) {
19 | return Container(
20 | // margin: EdgeInsets.only(left: 35.0),
21 | margin: margin,
22 | decoration: BoxDecoration(
23 | // boxShadow: [
24 | // BoxShadow(
25 | // color: ColorGlobal.colorPrimary.withOpacity(0.4),
26 | // spreadRadius: 1,
27 | // blurRadius: 10,
28 | // // changes position of shadow
29 | // ),
30 | // ],
31 | color: ColorGlobal.colorPrimary.withOpacity(0.1),
32 | shape: BoxShape.circle,
33 | ),
34 | child: Padding(
35 | padding: EdgeInsets.all(10.0),
36 | child: Image.asset(
37 | imageName,
38 | height: 28,
39 | width: 28,
40 | ),
41 | ),
42 | );
43 | }
44 |
45 |
46 |
--------------------------------------------------------------------------------
/FlutterAnimation/lib/HomePage/HomePage.dart:
--------------------------------------------------------------------------------
1 | import 'dart:ui';
2 |
3 | import 'package:FlutterAnimations/Animation/AnimationBuildHome.dart';
4 | import 'package:flutter/material.dart';
5 | import 'package:FlutterAnimations/Animation/AnimationBuildHome.dart';
6 | import 'package:FlutterAnimations/Constant/ColorGlobal.dart';
7 | import 'package:FlutterAnimations/Constant/ReactForAnimation.dart';
8 | import 'package:FlutterAnimations/Constant/frequentWidget.dart';
9 |
10 | class Screen2 extends StatelessWidget {
11 | @override
12 | Widget build(BuildContext context) {
13 | return Material(
14 | child: Hero(
15 | tag: 'blackBox',
16 | createRectTween: _createRectTween,
17 | child: Scaffold(
18 | body: SingleChildScrollView(
19 | child: Column(
20 | children: [
21 | Container(
22 | height: 180,
23 | child: Stack(
24 | children: [
25 | AnimationBuild(),
26 | Row(
27 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
28 | crossAxisAlignment: CrossAxisAlignment.start,
29 | children: [
30 | Container(
31 | margin: EdgeInsets.only(top: 40, left: 20),
32 | child: Column(
33 | crossAxisAlignment: CrossAxisAlignment.start,
34 | children: [
35 | Container(
36 | child: Text(
37 | "Home",
38 | style: TextStyle(
39 | fontWeight: FontWeight.w600,
40 | color: ColorGlobal.whiteColor,
41 | fontSize: 24),
42 | ),
43 | ),
44 | Container(
45 | child: Text(
46 | "Welcome home, Raj",
47 | style: TextStyle(
48 | fontWeight: FontWeight.w500,
49 | color: ColorGlobal.whiteColor,
50 | fontSize: 18),
51 | ),
52 | ),
53 | ],
54 | ),
55 | ),
56 | Container(
57 | height:40,
58 | width: 40,
59 | margin: EdgeInsets.only(top: 50, right: 20),
60 | decoration: BoxDecoration(
61 | shape: BoxShape.circle,
62 | border:
63 | Border.all(color: Colors.white, width: 1.5),
64 | ),
65 | child: Image.asset("assets/Icon/myphoto.png"),
66 | ),
67 | ],
68 | )
69 | ],
70 | ),
71 | ),
72 | Container(
73 | margin: EdgeInsets.only(left: 20, right: 20),
74 | decoration: BoxDecoration(
75 | border: Border.all(color: Colors.grey.withOpacity(0.5)),
76 | borderRadius: BorderRadius.all(
77 | Radius.circular(30),
78 | ),
79 | ),
80 | child: Padding(
81 | padding: EdgeInsets.all(8.0),
82 | child: Row(
83 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
84 | children: [
85 | Row(
86 | children: [
87 | Container(
88 | decoration: BoxDecoration(
89 | shape: BoxShape.circle,
90 | color: ColorGlobal.accentSecond,
91 | ),
92 | height: 22,
93 | width: 22,
94 | child: Icon(
95 | Icons.attach_money,
96 | size: 15,
97 | color: ColorGlobal.whiteColor,
98 | ),
99 | ),
100 | Container(
101 | margin: EdgeInsets.only(left: 20),
102 | child: Text(
103 | "Watch Your Transaction",
104 | style: TextStyle(
105 | color: ColorGlobal.colorPrimary,
106 | fontWeight: FontWeight.w500,
107 | fontSize: 16),
108 | ),
109 | )
110 | ],
111 | ),
112 | Container(
113 | child: Icon(
114 | Icons.arrow_forward,
115 | size: 20,
116 | color: ColorGlobal.colorPrimary,
117 | ))
118 | ],
119 | ),
120 | ),
121 | ),
122 | Container(
123 | margin:
124 | EdgeInsets.only(left: 20, right: 20, top: 30, bottom: 30),
125 | decoration: BoxDecoration(
126 | color: ColorGlobal.whiteColor,
127 | boxShadow: [
128 | BoxShadow(
129 | color: Colors.grey.withOpacity(0.2),
130 | spreadRadius: 1,
131 | blurRadius: 20,
132 | // changes position of shadow
133 | ),
134 | ],
135 | borderRadius: BorderRadius.all(Radius.circular(11)),
136 | ),
137 | child: Column(
138 | crossAxisAlignment: CrossAxisAlignment.start,
139 | children: [
140 | Padding(
141 | padding: EdgeInsets.only(left: 15, right: 15, top: 15),
142 | child: Row(
143 | crossAxisAlignment: CrossAxisAlignment.start,
144 | children: [
145 | Container(
146 | height: 40,
147 | width: 40,
148 | decoration: BoxDecoration(
149 | borderRadius:
150 | BorderRadius.all(Radius.circular(10)),
151 | color:
152 | ColorGlobal.blueColor.withOpacity(0.25)),
153 | child: Column(
154 | mainAxisAlignment: MainAxisAlignment.center,
155 | children: [
156 | Text(
157 | "29",
158 | textAlign: TextAlign.center,
159 | style: TextStyle(
160 | fontSize: 16,
161 | fontWeight: FontWeight.w600,
162 | color: ColorGlobal.blueColor),
163 | ),
164 | Text(
165 | "Jan",
166 | textAlign: TextAlign.center,
167 | style: TextStyle(
168 | fontSize: 10,
169 | fontWeight: FontWeight.w600,
170 | color: ColorGlobal.blueColor),
171 | ),
172 | ],
173 | ),
174 | ),
175 | Container(
176 | margin: EdgeInsets.only(left: 10),
177 | child: Column(
178 | crossAxisAlignment: CrossAxisAlignment.start,
179 | mainAxisAlignment: MainAxisAlignment.start,
180 | children: [
181 | Text(
182 | "New York",
183 | style: TextStyle(
184 | fontSize: 24,
185 | fontWeight: FontWeight.w800,
186 | color: ColorGlobal.colorPrimary),
187 | ),
188 | Text(
189 | "In 2 month",
190 | style: TextStyle(
191 | fontSize: 14,
192 | fontWeight: FontWeight.w800,
193 | color: ColorGlobal.colorPrimary),
194 | ),
195 | ],
196 | ),
197 | ),
198 | ],
199 | ),
200 | ),
201 | Padding(
202 | padding: EdgeInsets.only(left: 15, right: 15),
203 | child: Container(
204 | margin: EdgeInsets.only(top: 20),
205 | child: Row(
206 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
207 | children: [
208 | getImage(
209 | "assets/Icon/staue.jpg",
210 | ),
211 | getImage(
212 | "assets/Icon/bridge.jpg",
213 | ),
214 | getImage(
215 | "assets/Icon/build.jpg",
216 | ),
217 | ],
218 | )),
219 | ),
220 | Padding(
221 | padding: EdgeInsets.only(top: 10, bottom: 10),
222 | child: Divider(
223 | color: Colors.grey.withOpacity(0.4),
224 | ),
225 | ),
226 | Padding(
227 | padding: EdgeInsets.only(left: 15, right: 15),
228 | child: Column(
229 | crossAxisAlignment: CrossAxisAlignment.start,
230 | children: [
231 | Text(
232 | "Offer in New York",
233 | style: TextStyle(
234 | fontSize: 16,
235 | color: ColorGlobal.colorPrimary,
236 | fontWeight: FontWeight.w600,
237 | ),
238 | ),
239 | Container(
240 | margin: EdgeInsets.only(top: 8),
241 | decoration: BoxDecoration(
242 | border:
243 | Border.all(color: Colors.red, width: 1.5),
244 | borderRadius: BorderRadius.all(
245 | Radius.circular(30),
246 | ),
247 | ),
248 | child: Padding(
249 | padding: EdgeInsets.only(
250 | left: 10.0, right: 10.0, top: 8, bottom: 8),
251 | child: Container(
252 | child: Text(
253 | "+50 Dollars",
254 | style: TextStyle(
255 | color: Colors.red,
256 | fontWeight: FontWeight.w500,
257 | fontSize: 16),
258 | ),
259 | ),
260 | ),
261 | ),
262 | ],
263 | ),
264 | ),
265 | Padding(
266 | padding: EdgeInsets.only(
267 | top: 10,
268 | ),
269 | child: Divider(
270 | color: Colors.grey.withOpacity(0.4),
271 | ),
272 | ),
273 | Padding(
274 | padding:
275 | EdgeInsets.only(left: 20, right: 20, bottom: 15),
276 | child: Row(
277 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
278 | children: [
279 | Row(
280 | children: [
281 | Container(
282 | margin: EdgeInsets.only(top: 8),
283 | decoration: BoxDecoration(
284 | shape: BoxShape.rectangle,
285 | borderRadius: BorderRadius.all(
286 | Radius.circular(20),
287 | ),
288 | color: ColorGlobal.blueColor,
289 | ),
290 | child: Padding(
291 | padding: EdgeInsets.only(
292 | left: 10.0,
293 | right: 10.0,
294 | top: 5,
295 | bottom: 5),
296 | child: Container(
297 | child: Icon(
298 | Icons.add,
299 | size: 20,
300 | color: ColorGlobal.whiteColor,
301 | )),
302 | ),
303 | ),
304 | Container(
305 | margin: EdgeInsets.only(left: 20,top: 5),
306 | child: Text(
307 | "Add to wishlist",
308 |
309 | style: TextStyle(
310 | fontSize: 16,
311 | color: ColorGlobal.colorPrimary,
312 | fontWeight: FontWeight.w700,
313 | ),
314 | ),
315 | ),
316 | ],
317 | ),
318 | Container(
319 | margin: EdgeInsets.only(top: 5),
320 | child: Icon(
321 | Icons.arrow_forward_ios,
322 | size: 15,
323 | color: ColorGlobal.colorPrimary,
324 | ),
325 | )
326 | ],
327 | ),
328 | ),
329 |
330 | // Padding(
331 | // padding: EdgeInsets.only(left:15,right: 15,top: 15),
332 | // )
333 | ],
334 | ),
335 | )
336 | ],
337 | ),
338 | ),
339 | ),
340 | ),
341 | );
342 | }
343 |
344 | static RectTween _createRectTween(Rect begin, Rect end) {
345 | return RectForAnimation(begin: begin, end: end);
346 | // return Future.delayed(Duration(microseconds: ),())
347 | }
348 | }
349 |
--------------------------------------------------------------------------------
/FlutterAnimation/lib/SplashScreen/Splash.dart:
--------------------------------------------------------------------------------
1 | import 'package:FlutterAnimations/Auth/Login.dart';
2 | import 'package:flare_flutter/flare_actor.dart';
3 | import 'package:flutter/cupertino.dart';
4 | import 'package:flutter/material.dart';
5 | import 'package:page_transition/page_transition.dart';
6 |
7 | class SplashScreen extends StatefulWidget {
8 | @override
9 | _SplashScreenState createState() => _SplashScreenState();
10 | }
11 |
12 | class _SplashScreenState extends State {
13 | String animation;
14 |
15 | @override
16 | void initState() {
17 | // TODO: implement initState
18 | super.initState();
19 | Future.delayed(Duration(milliseconds: 2550), () {
20 | Navigator.pushReplacement(
21 | context,
22 | PageTransition(
23 | type: PageTransitionType.rightToLeftWithFade,
24 | child: Login()));
25 | });
26 | }
27 |
28 | @override
29 | Widget build(BuildContext context) {
30 | return Scaffold(
31 | body: Container(
32 | child: FlareActor(
33 | "assets/flar/SplashScreen.flr",
34 | fit: BoxFit.cover,
35 | animation: "Untitled",
36 | ),
37 | ),
38 | );
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/FlutterAnimation/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter/services.dart';
3 | import 'package:FlutterAnimations/Constant/ColorGlobal.dart';
4 |
5 | import 'Animation/AnimationBuildHome.dart';
6 | import 'Constant/frequentWidget.dart';
7 | import 'HomePage/HomePage.dart';
8 | import 'SplashScreen/Splash.dart';
9 | import 'package:flutter/scheduler.dart' show timeDilation;
10 |
11 | void main() => runApp(MyApp());
12 |
13 | class MyApp extends StatelessWidget {
14 | // This widget is the root of your application.
15 | @override
16 | Widget build(BuildContext context) {
17 | // timeDilation = 2.0;
18 |
19 | SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
20 | systemNavigationBarColor: Colors.white, // navigation bar color
21 | statusBarColor: Colors.transparent, // status bar color
22 | statusBarIconBrightness: Brightness.dark, // status bar icons' color
23 | systemNavigationBarIconBrightness:
24 | Brightness.dark, //navigation bar icons' color
25 | ));
26 | return MaterialApp(
27 | debugShowCheckedModeBanner: false,
28 | navigatorKey: SizeFixed.key,
29 | theme: ThemeData(
30 | fontFamily: "OpenSans",
31 | ),
32 | home: SplashScreen(),
33 | );
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/FlutterAnimation/pubspec.lock:
--------------------------------------------------------------------------------
1 | # Generated by pub
2 | # See https://dart.dev/tools/pub/glossary#lockfile
3 | packages:
4 | archive:
5 | dependency: transitive
6 | description:
7 | name: archive
8 | url: "https://pub.dartlang.org"
9 | source: hosted
10 | version: "2.0.11"
11 | args:
12 | dependency: transitive
13 | description:
14 | name: args
15 | url: "https://pub.dartlang.org"
16 | source: hosted
17 | version: "1.5.2"
18 | async:
19 | dependency: transitive
20 | description:
21 | name: async
22 | url: "https://pub.dartlang.org"
23 | source: hosted
24 | version: "2.4.0"
25 | boolean_selector:
26 | dependency: transitive
27 | description:
28 | name: boolean_selector
29 | url: "https://pub.dartlang.org"
30 | source: hosted
31 | version: "1.0.5"
32 | charcode:
33 | dependency: transitive
34 | description:
35 | name: charcode
36 | url: "https://pub.dartlang.org"
37 | source: hosted
38 | version: "1.1.2"
39 | collection:
40 | dependency: transitive
41 | description:
42 | name: collection
43 | url: "https://pub.dartlang.org"
44 | source: hosted
45 | version: "1.14.11"
46 | convert:
47 | dependency: transitive
48 | description:
49 | name: convert
50 | url: "https://pub.dartlang.org"
51 | source: hosted
52 | version: "2.1.1"
53 | crypto:
54 | dependency: transitive
55 | description:
56 | name: crypto
57 | url: "https://pub.dartlang.org"
58 | source: hosted
59 | version: "2.1.3"
60 | cupertino_icons:
61 | dependency: "direct main"
62 | description:
63 | name: cupertino_icons
64 | url: "https://pub.dartlang.org"
65 | source: hosted
66 | version: "0.1.3"
67 | duration:
68 | dependency: "direct main"
69 | description:
70 | name: duration
71 | url: "https://pub.dartlang.org"
72 | source: hosted
73 | version: "2.0.11"
74 | flare_dart:
75 | dependency: transitive
76 | description:
77 | name: flare_dart
78 | url: "https://pub.dartlang.org"
79 | source: hosted
80 | version: "2.3.4"
81 | flare_flutter:
82 | dependency: "direct main"
83 | description:
84 | name: flare_flutter
85 | url: "https://pub.dartlang.org"
86 | source: hosted
87 | version: "2.0.3"
88 | flutter:
89 | dependency: "direct main"
90 | description: flutter
91 | source: sdk
92 | version: "0.0.0"
93 | flutter_test:
94 | dependency: "direct dev"
95 | description: flutter
96 | source: sdk
97 | version: "0.0.0"
98 | image:
99 | dependency: transitive
100 | description:
101 | name: image
102 | url: "https://pub.dartlang.org"
103 | source: hosted
104 | version: "2.1.4"
105 | matcher:
106 | dependency: transitive
107 | description:
108 | name: matcher
109 | url: "https://pub.dartlang.org"
110 | source: hosted
111 | version: "0.12.6"
112 | meta:
113 | dependency: transitive
114 | description:
115 | name: meta
116 | url: "https://pub.dartlang.org"
117 | source: hosted
118 | version: "1.1.8"
119 | page_transition:
120 | dependency: "direct main"
121 | description:
122 | name: page_transition
123 | url: "https://pub.dartlang.org"
124 | source: hosted
125 | version: "1.1.5"
126 | path:
127 | dependency: transitive
128 | description:
129 | name: path
130 | url: "https://pub.dartlang.org"
131 | source: hosted
132 | version: "1.6.4"
133 | pedantic:
134 | dependency: transitive
135 | description:
136 | name: pedantic
137 | url: "https://pub.dartlang.org"
138 | source: hosted
139 | version: "1.8.0+1"
140 | petitparser:
141 | dependency: transitive
142 | description:
143 | name: petitparser
144 | url: "https://pub.dartlang.org"
145 | source: hosted
146 | version: "2.4.0"
147 | quiver:
148 | dependency: transitive
149 | description:
150 | name: quiver
151 | url: "https://pub.dartlang.org"
152 | source: hosted
153 | version: "2.0.5"
154 | rect_getter:
155 | dependency: "direct main"
156 | description:
157 | name: rect_getter
158 | url: "https://pub.dartlang.org"
159 | source: hosted
160 | version: "0.1.0"
161 | sky_engine:
162 | dependency: transitive
163 | description: flutter
164 | source: sdk
165 | version: "0.0.99"
166 | source_span:
167 | dependency: transitive
168 | description:
169 | name: source_span
170 | url: "https://pub.dartlang.org"
171 | source: hosted
172 | version: "1.5.5"
173 | stack_trace:
174 | dependency: transitive
175 | description:
176 | name: stack_trace
177 | url: "https://pub.dartlang.org"
178 | source: hosted
179 | version: "1.9.3"
180 | stream_channel:
181 | dependency: transitive
182 | description:
183 | name: stream_channel
184 | url: "https://pub.dartlang.org"
185 | source: hosted
186 | version: "2.0.0"
187 | string_scanner:
188 | dependency: transitive
189 | description:
190 | name: string_scanner
191 | url: "https://pub.dartlang.org"
192 | source: hosted
193 | version: "1.0.5"
194 | term_glyph:
195 | dependency: transitive
196 | description:
197 | name: term_glyph
198 | url: "https://pub.dartlang.org"
199 | source: hosted
200 | version: "1.1.0"
201 | test_api:
202 | dependency: transitive
203 | description:
204 | name: test_api
205 | url: "https://pub.dartlang.org"
206 | source: hosted
207 | version: "0.2.11"
208 | typed_data:
209 | dependency: transitive
210 | description:
211 | name: typed_data
212 | url: "https://pub.dartlang.org"
213 | source: hosted
214 | version: "1.1.6"
215 | vector_math:
216 | dependency: transitive
217 | description:
218 | name: vector_math
219 | url: "https://pub.dartlang.org"
220 | source: hosted
221 | version: "2.0.8"
222 | xml:
223 | dependency: transitive
224 | description:
225 | name: xml
226 | url: "https://pub.dartlang.org"
227 | source: hosted
228 | version: "3.5.0"
229 | sdks:
230 | dart: ">=2.4.0 <3.0.0"
231 | flutter: ">=0.1.4 <2.0.0"
232 |
--------------------------------------------------------------------------------
/FlutterAnimation/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: FlutterAnimations
2 | description: A new Flutter application.
3 |
4 | # The following defines the version and build number for your application.
5 | # A version number is three numbers separated by dots, like 1.2.43
6 | # followed by an optional build number separated by a +.
7 | # Both the version and the builder number may be overridden in flutter
8 | # build by specifying --build-name and --build-number, respectively.
9 | # In Android, build-name is used as versionName while build-number used as versionCode.
10 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
11 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
12 | # Read more about iOS versioning at
13 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
14 | version: 1.0.0+1
15 |
16 | environment:
17 | sdk: ">=2.1.0 <3.0.0"
18 |
19 | dependencies:
20 | flutter:
21 | sdk: flutter
22 | page_transition: ^1.1.5
23 | flare_flutter: ^2.0.3
24 | duration: ^2.0.11
25 | rect_getter: ^0.1.0
26 |
27 |
28 | # The following adds the Cupertino Icons font to your application.
29 | # Use with the CupertinoIcons class for iOS style icons.
30 | cupertino_icons: ^0.1.2
31 |
32 | dev_dependencies:
33 | flutter_test:
34 | sdk: flutter
35 |
36 |
37 | # For information on the generic Dart part of this file, see the
38 | # following page: https://dart.dev/tools/pub/pubspec
39 |
40 | # The following section is specific to Flutter.
41 | flutter:
42 |
43 | # The following line ensures that the Material Icons font is
44 | # included with your application, so that you can use the icons in
45 | # the material Icons class.
46 | uses-material-design: true
47 |
48 | # To add assets to your application, add an assets section, like this:
49 | assets:
50 | - assets/Icon/
51 | - assets/flar/
52 | # - images/a_dot_ham.jpeg
53 |
54 | # An image asset can refer to one or more resolution-specific "variants", see
55 | # https://flutter.dev/assets-and-images/#resolution-aware.
56 |
57 | # For details regarding adding assets from package dependencies, see
58 | # https://flutter.dev/assets-and-images/#from-packages
59 |
60 | # To add custom fonts to your application, add a fonts section here,
61 | # in this "flutter" section. Each entry in this list should have a
62 | # "family" key with the font family name, and a "fonts" key with a
63 | # list giving the asset and other descriptors for the font. For
64 | # example:
65 | fonts:
66 | - family: OpenSans
67 | fonts:
68 | # - asset: assets/fonts/OpenSans-Light.ttf
69 | # weight: 300
70 | - asset: assets/fonts/Karla-Regular.ttf
71 | - asset: assets/fonts/Karla-Bold.ttf
72 | weight: 900
73 |
74 | # For details regarding fonts from package dependencies,
75 | # see https://flutter.dev/custom-fonts/#from-packages
76 |
--------------------------------------------------------------------------------
/FlutterAnimation/test/widget_test.dart:
--------------------------------------------------------------------------------
1 | // This is a basic Flutter widget test.
2 | //
3 | // To perform an interaction with a widget in your test, use the WidgetTester
4 | // utility that Flutter provides. For example, you can send tap and scroll
5 | // gestures. You can also use WidgetTester to find child widgets in the widget
6 | // tree, read text, and verify that the values of widget properties are correct.
7 |
8 | import 'package:flutter/material.dart';
9 | import 'package:flutter_test/flutter_test.dart';
10 |
11 | import 'package:FlutterAnimations/main.dart';
12 |
13 | void main() {
14 | testWidgets('Counter increments smoke test', (WidgetTester tester) async {
15 | // Build our app and trigger a frame.
16 | await tester.pumpWidget(MyApp());
17 |
18 | // Verify that our counter starts at 0.
19 | expect(find.text('0'), findsOneWidget);
20 | expect(find.text('1'), findsNothing);
21 |
22 | // Tap the '+' icon and trigger a frame.
23 | await tester.tap(find.byIcon(Icons.add));
24 | await tester.pump();
25 |
26 | // Verify that our counter has incremented.
27 | expect(find.text('0'), findsNothing);
28 | expect(find.text('1'), findsOneWidget);
29 | });
30 | }
31 |
--------------------------------------------------------------------------------
/FlutterAnimation/toolbaranimation.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Home Screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/Home Screen.png
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # 🚀 Flutter Application Demo
2 |
3 |
4 | Hello Folks,
5 |
6 | I made this application via Flutter. It consists of minimal animations and attractive widgets.
7 |
8 | The main purpose of building this demo was to show actually flutter is all about animation and building a beautiful UI. I have created wave animation, animated slider, flare animation and for those, I used custom Animated builder, Custom Paint, Animated Container, and Flare widget.
9 |
10 | All suggestions are welcomed. Enjoy the app!! 👍
11 |
12 |
13 | ## 📥 Try-It-Out
14 |
15 |
16 | ## 📱 Take A Tour
17 |
18 |
19 |
20 |
21 |
22 | ## 📝 Contact
23 |
24 | rajvarasdiya535@gmail.com
25 |
--------------------------------------------------------------------------------
/Sign In.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/Sign In.png
--------------------------------------------------------------------------------
/Sign Up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rvvarasdiya/flutteranimations/6da6c4d3d937236c69719e417b747289eaaa9e7f/Sign Up.png
--------------------------------------------------------------------------------