├── .github
└── FUNDING.yml
├── .gitignore
├── LICENSE
├── README.md
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── kotlin
│ │ └── com
│ │ │ └── example
│ │ │ └── flutteranimations
│ │ │ └── MainActivity.kt
│ │ └── res
│ │ ├── drawable
│ │ └── launch_background.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxxhdpi
│ │ └── ic_launcher.png
│ │ └── values
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
└── settings.gradle
├── ios
├── .gitignore
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Podfile
├── 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
│ ├── Info.plist
│ └── Runner-Bridging-Header.h
├── lib
├── easinganimationwidget.dart
├── main.dart
├── maskinganimationwidget.dart
├── offsetdelayanimation.dart
├── parentinganimation.dart
├── springfreefallinganimation.dart
├── transformationanimationwidget.dart
└── valuechangeanimation.dart
├── pubspec.yaml
└── test
└── widget_test.dart
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: salihgueler
4 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.lock
4 | *.log
5 | *.pyc
6 | *.swp
7 | .DS_Store
8 | .atom/
9 | .buildlog/
10 | .history
11 | .svn/
12 |
13 | # IntelliJ related
14 | *.iml
15 | *.ipr
16 | *.iws
17 | .idea/
18 |
19 | # Visual Studio Code related
20 | .vscode/
21 |
22 | # Flutter repo-specific
23 | /bin/cache/
24 | /bin/mingit/
25 | /dev/benchmarks/mega_gallery/
26 | /dev/bots/.recipe_deps
27 | /dev/bots/android_tools/
28 | /dev/docs/doc/
29 | /dev/docs/lib/
30 | /dev/docs/pubspec.yaml
31 | /packages/flutter/coverage/
32 | version
33 |
34 | # Flutter/Dart/Pub related
35 | **/doc/api/
36 | .dart_tool/
37 | .flutter-plugins
38 | .packages
39 | .pub-cache/
40 | .pub/
41 | build/
42 | flutter_*.png
43 | linked_*.ds
44 | unlinked.ds
45 | unlinked_spec.ds
46 |
47 | # Android related
48 | **/android/**/gradle-wrapper.jar
49 | **/android/.gradle
50 | **/android/captures/
51 | **/android/gradlew
52 | **/android/gradlew.bat
53 | **/android/local.properties
54 | **/android/**/GeneratedPluginRegistrant.java
55 |
56 | # iOS/XCode related
57 | **/ios/**/*.mode1v3
58 | **/ios/**/*.mode2v3
59 | **/ios/**/*.moved-aside
60 | **/ios/**/*.pbxuser
61 | **/ios/**/*.perspectivev3
62 | **/ios/**/*sync/
63 | **/ios/**/.sconsign.dblite
64 | **/ios/**/.tags*
65 | **/ios/**/.vagrant/
66 | **/ios/**/DerivedData/
67 | **/ios/**/Icon?
68 | **/ios/**/Pods/
69 | **/ios/**/.symlinks/
70 | **/ios/**/profile
71 | **/ios/**/xcuserdata
72 | **/ios/.generated/
73 | **/ios/Flutter/App.framework
74 | **/ios/Flutter/Flutter.framework
75 | **/ios/Flutter/Generated.xcconfig
76 | **/ios/Flutter/app.flx
77 | **/ios/Flutter/app.zip
78 | **/ios/Flutter/flutter_assets/
79 | **/ios/ServiceDefinitions.json
80 | **/ios/Runner/GeneratedPluginRegistrant.*
81 |
82 | # Exceptions to above rules.
83 | !**/ios/**/default.mode1v3
84 | !**/ios/**/default.mode2v3
85 | !**/ios/**/default.pbxuser
86 | !**/ios/**/default.perspectivev3
87 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Apache License
2 | Version 2.0, January 2004
3 | http://www.apache.org/licenses/
4 |
5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6 |
7 | 1. Definitions.
8 |
9 | "License" shall mean the terms and conditions for use, reproduction,
10 | and distribution as defined by Sections 1 through 9 of this document.
11 |
12 | "Licensor" shall mean the copyright owner or entity authorized by
13 | the copyright owner that is granting the License.
14 |
15 | "Legal Entity" shall mean the union of the acting entity and all
16 | other entities that control, are controlled by, or are under common
17 | control with that entity. For the purposes of this definition,
18 | "control" means (i) the power, direct or indirect, to cause the
19 | direction or management of such entity, whether by contract or
20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the
21 | outstanding shares, or (iii) beneficial ownership of such entity.
22 |
23 | "You" (or "Your") shall mean an individual or Legal Entity
24 | exercising permissions granted by this License.
25 |
26 | "Source" form shall mean the preferred form for making modifications,
27 | including but not limited to software source code, documentation
28 | source, and configuration files.
29 |
30 | "Object" form shall mean any form resulting from mechanical
31 | transformation or translation of a Source form, including but
32 | not limited to compiled object code, generated documentation,
33 | and conversions to other media types.
34 |
35 | "Work" shall mean the work of authorship, whether in Source or
36 | Object form, made available under the License, as indicated by a
37 | copyright notice that is included in or attached to the work
38 | (an example is provided in the Appendix below).
39 |
40 | "Derivative Works" shall mean any work, whether in Source or Object
41 | form, that is based on (or derived from) the Work and for which the
42 | editorial revisions, annotations, elaborations, or other modifications
43 | represent, as a whole, an original work of authorship. For the purposes
44 | of this License, Derivative Works shall not include works that remain
45 | separable from, or merely link (or bind by name) to the interfaces of,
46 | the Work and Derivative Works thereof.
47 |
48 | "Contribution" shall mean any work of authorship, including
49 | the original version of the Work and any modifications or additions
50 | to that Work or Derivative Works thereof, that is intentionally
51 | submitted to Licensor for inclusion in the Work by the copyright owner
52 | or by an individual or Legal Entity authorized to submit on behalf of
53 | the copyright owner. For the purposes of this definition, "submitted"
54 | means any form of electronic, verbal, or written communication sent
55 | to the Licensor or its representatives, including but not limited to
56 | communication on electronic mailing lists, source code control systems,
57 | and issue tracking systems that are managed by, or on behalf of, the
58 | Licensor for the purpose of discussing and improving the Work, but
59 | excluding communication that is conspicuously marked or otherwise
60 | designated in writing by the copyright owner as "Not a Contribution."
61 |
62 | "Contributor" shall mean Licensor and any individual or Legal Entity
63 | on behalf of whom a Contribution has been received by Licensor and
64 | subsequently incorporated within the Work.
65 |
66 | 2. Grant of Copyright License. Subject to the terms and conditions of
67 | this License, each Contributor hereby grants to You a perpetual,
68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69 | copyright license to reproduce, prepare Derivative Works of,
70 | publicly display, publicly perform, sublicense, and distribute the
71 | Work and such Derivative Works in Source or Object form.
72 |
73 | 3. Grant of Patent License. Subject to the terms and conditions of
74 | this License, each Contributor hereby grants to You a perpetual,
75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76 | (except as stated in this section) patent license to make, have made,
77 | use, offer to sell, sell, import, and otherwise transfer the Work,
78 | where such license applies only to those patent claims licensable
79 | by such Contributor that are necessarily infringed by their
80 | Contribution(s) alone or by combination of their Contribution(s)
81 | with the Work to which such Contribution(s) was submitted. If You
82 | institute patent litigation against any entity (including a
83 | cross-claim or counterclaim in a lawsuit) alleging that the Work
84 | or a Contribution incorporated within the Work constitutes direct
85 | or contributory patent infringement, then any patent licenses
86 | granted to You under this License for that Work shall terminate
87 | as of the date such litigation is filed.
88 |
89 | 4. Redistribution. You may reproduce and distribute copies of the
90 | Work or Derivative Works thereof in any medium, with or without
91 | modifications, and in Source or Object form, provided that You
92 | meet the following conditions:
93 |
94 | (a) You must give any other recipients of the Work or
95 | Derivative Works a copy of this License; and
96 |
97 | (b) You must cause any modified files to carry prominent notices
98 | stating that You changed the files; and
99 |
100 | (c) You must retain, in the Source form of any Derivative Works
101 | that You distribute, all copyright, patent, trademark, and
102 | attribution notices from the Source form of the Work,
103 | excluding those notices that do not pertain to any part of
104 | the Derivative Works; and
105 |
106 | (d) If the Work includes a "NOTICE" text file as part of its
107 | distribution, then any Derivative Works that You distribute must
108 | include a readable copy of the attribution notices contained
109 | within such NOTICE file, excluding those notices that do not
110 | pertain to any part of the Derivative Works, in at least one
111 | of the following places: within a NOTICE text file distributed
112 | as part of the Derivative Works; within the Source form or
113 | documentation, if provided along with the Derivative Works; or,
114 | within a display generated by the Derivative Works, if and
115 | wherever such third-party notices normally appear. The contents
116 | of the NOTICE file are for informational purposes only and
117 | do not modify the License. You may add Your own attribution
118 | notices within Derivative Works that You distribute, alongside
119 | or as an addendum to the NOTICE text from the Work, provided
120 | that such additional attribution notices cannot be construed
121 | as modifying the License.
122 |
123 | You may add Your own copyright statement to Your modifications and
124 | may provide additional or different license terms and conditions
125 | for use, reproduction, or distribution of Your modifications, or
126 | for any such Derivative Works as a whole, provided Your use,
127 | reproduction, and distribution of the Work otherwise complies with
128 | the conditions stated in this License.
129 |
130 | 5. Submission of Contributions. Unless You explicitly state otherwise,
131 | any Contribution intentionally submitted for inclusion in the Work
132 | by You to the Licensor shall be under the terms and conditions of
133 | this License, without any additional terms or conditions.
134 | Notwithstanding the above, nothing herein shall supersede or modify
135 | the terms of any separate license agreement you may have executed
136 | with Licensor regarding such Contributions.
137 |
138 | 6. Trademarks. This License does not grant permission to use the trade
139 | names, trademarks, service marks, or product names of the Licensor,
140 | except as required for reasonable and customary use in describing the
141 | origin of the Work and reproducing the content of the NOTICE file.
142 |
143 | 7. Disclaimer of Warranty. Unless required by applicable law or
144 | agreed to in writing, Licensor provides the Work (and each
145 | Contributor provides its Contributions) on an "AS IS" BASIS,
146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147 | implied, including, without limitation, any warranties or conditions
148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149 | PARTICULAR PURPOSE. You are solely responsible for determining the
150 | appropriateness of using or redistributing the Work and assume any
151 | risks associated with Your exercise of permissions under this License.
152 |
153 | 8. Limitation of Liability. In no event and under no legal theory,
154 | whether in tort (including negligence), contract, or otherwise,
155 | unless required by applicable law (such as deliberate and grossly
156 | negligent acts) or agreed to in writing, shall any Contributor be
157 | liable to You for damages, including any direct, indirect, special,
158 | incidental, or consequential damages of any character arising as a
159 | result of this License or out of the use or inability to use the
160 | Work (including but not limited to damages for loss of goodwill,
161 | work stoppage, computer failure or malfunction, or any and all
162 | other commercial damages or losses), even if such Contributor
163 | has been advised of the possibility of such damages.
164 |
165 | 9. Accepting Warranty or Additional Liability. While redistributing
166 | the Work or Derivative Works thereof, You may choose to offer,
167 | and charge a fee for, acceptance of support, warranty, indemnity,
168 | or other liability obligations and/or rights consistent with this
169 | License. However, in accepting such obligations, You may act only
170 | on Your own behalf and on Your sole responsibility, not on behalf
171 | of any other Contributor, and only if You agree to indemnify,
172 | defend, and hold each Contributor harmless for any liability
173 | incurred by, or claims asserted against, such Contributor by reason
174 | of your accepting any such warranty or additional liability.
175 |
176 | END OF TERMS AND CONDITIONS
177 |
178 | APPENDIX: How to apply the Apache License to your work.
179 |
180 | To apply the Apache License to your work, attach the following
181 | boilerplate notice, with the fields enclosed by brackets "[]"
182 | replaced with your own identifying information. (Don't include
183 | the brackets!) The text should be enclosed in the appropriate
184 | comment syntax for the file format. We also recommend that a
185 | file or class name and description of purpose be included on the
186 | same "printed page" as the copyright notice for easier
187 | identification within third-party archives.
188 |
189 | Copyright [yyyy] [name of copyright owner]
190 |
191 | Licensed under the Apache License, Version 2.0 (the "License");
192 | you may not use this file except in compliance with the License.
193 | You may obtain a copy of the License at
194 |
195 | http://www.apache.org/licenses/LICENSE-2.0
196 |
197 | Unless required by applicable law or agreed to in writing, software
198 | distributed under the License is distributed on an "AS IS" BASIS,
199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200 | See the License for the specific language governing permissions and
201 | limitations under the License.
202 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # flutter_animations
2 |
3 | A new Flutter project.
4 |
5 | ## Getting Started
6 |
7 | For help getting started with Flutter, view our online
8 | [documentation](https://flutter.io/).
9 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | *.class
3 | .gradle
4 | /local.properties
5 | /.idea/workspace.xml
6 | /.idea/libraries
7 | .DS_Store
8 | /build
9 | /captures
10 | GeneratedPluginRegistrant.java
11 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | def localProperties = new Properties()
2 | def localPropertiesFile = rootProject.file('local.properties')
3 | if (localPropertiesFile.exists()) {
4 | localPropertiesFile.withReader('UTF-8') { reader ->
5 | localProperties.load(reader)
6 | }
7 | }
8 |
9 | def flutterRoot = localProperties.getProperty('flutter.sdk')
10 | if (flutterRoot == null) {
11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 | }
13 |
14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15 | if (flutterVersionCode == null) {
16 | throw new GradleException("versionCode not found. Define flutter.versionCode in the local.properties file.")
17 | }
18 |
19 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
20 | if (flutterVersionName == null) {
21 | throw new GradleException("versionName not found. Define flutter.versionName in the local.properties file.")
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 27
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.flutteranimations"
42 | minSdkVersion 16
43 | targetSdkVersion 27
44 | versionCode flutterVersionCode.toInteger()
45 | versionName flutterVersionName
46 | testInstrumentationRunner "android.support.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-jre7:$kotlin_version"
64 | testImplementation 'junit:junit:4.12'
65 | androidTestImplementation 'com.android.support.test:runner:1.0.2'
66 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
67 | }
68 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
8 |
9 |
10 |
15 |
19 |
26 |
30 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/com/example/flutteranimations/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.example.flutteranimations
2 |
3 | import android.os.Bundle
4 |
5 | import io.flutter.app.FlutterActivity
6 | import io.flutter.plugins.GeneratedPluginRegistrant
7 |
8 | class MainActivity(): FlutterActivity() {
9 | override fun onCreate(savedInstanceState: Bundle?) {
10 | super.onCreate(savedInstanceState)
11 | GeneratedPluginRegistrant.registerWith(this)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter-animations/2edc0a8a0df6fceab2bdef854e00756de9a82896/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter-animations/2edc0a8a0df6fceab2bdef854e00756de9a82896/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter-animations/2edc0a8a0df6fceab2bdef854e00756de9a82896/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter-animations/2edc0a8a0df6fceab2bdef854e00756de9a82896/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter-animations/2edc0a8a0df6fceab2bdef854e00756de9a82896/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.2.30'
3 | repositories {
4 | google()
5 | jcenter()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:3.1.2'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | }
12 | }
13 |
14 | allprojects {
15 | repositories {
16 | google()
17 | jcenter()
18 | }
19 | }
20 |
21 | rootProject.buildDir = '../build'
22 | subprojects {
23 | project.buildDir = "${rootProject.buildDir}/${project.name}"
24 | }
25 | subprojects {
26 | project.evaluationDependsOn(':app')
27 | }
28 |
29 | task clean(type: Delete) {
30 | delete rootProject.buildDir
31 | }
32 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Jun 23 08:50:38 CEST 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
7 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/
2 | .vagrant/
3 | .sconsign.dblite
4 | .svn/
5 |
6 | .DS_Store
7 | *.swp
8 | profile
9 |
10 | DerivedData/
11 | build/
12 | GeneratedPluginRegistrant.h
13 | GeneratedPluginRegistrant.m
14 |
15 | .generated/
16 |
17 | *.pbxuser
18 | *.mode1v3
19 | *.mode2v3
20 | *.perspectivev3
21 |
22 | !default.pbxuser
23 | !default.mode1v3
24 | !default.mode2v3
25 | !default.perspectivev3
26 |
27 | xcuserdata
28 |
29 | *.moved-aside
30 |
31 | *.pyc
32 | *sync/
33 | Icon?
34 | .tags*
35 |
36 | /Flutter/app.flx
37 | /Flutter/app.zip
38 | /Flutter/flutter_assets/
39 | /Flutter/App.framework
40 | /Flutter/Flutter.framework
41 | /Flutter/Generated.xcconfig
42 | /ServiceDefinitions.json
43 |
44 | Pods/
45 | .symlinks/
46 |
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 8.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/ios/Podfile:
--------------------------------------------------------------------------------
1 | # Uncomment this line to define a global platform for your project
2 | # platform :ios, '9.0'
3 |
4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true'
6 |
7 | def parse_KV_file(file, separator='=')
8 | file_abs_path = File.expand_path(file)
9 | if !File.exists? file_abs_path
10 | return [];
11 | end
12 | pods_ary = []
13 | skip_line_start_symbols = ["#", "/"]
14 | File.foreach(file_abs_path) { |line|
15 | next if skip_line_start_symbols.any? { |symbol| line =~ /^\s*#{symbol}/ }
16 | plugin = line.split(pattern=separator)
17 | if plugin.length == 2
18 | podname = plugin[0].strip()
19 | path = plugin[1].strip()
20 | podpath = File.expand_path("#{path}", file_abs_path)
21 | pods_ary.push({:name => podname, :path => podpath});
22 | else
23 | puts "Invalid plugin specification: #{line}"
24 | end
25 | }
26 | return pods_ary
27 | end
28 |
29 | target 'Runner' do
30 | use_frameworks!
31 |
32 | # Prepare symlinks folder. We use symlinks to avoid having Podfile.lock
33 | # referring to absolute paths on developers' machines.
34 | system('rm -rf .symlinks')
35 | system('mkdir -p .symlinks/plugins')
36 |
37 | # Flutter Pods
38 | generated_xcode_build_settings = parse_KV_file('./Flutter/Generated.xcconfig')
39 | if generated_xcode_build_settings.empty?
40 | puts "Generated.xcconfig must exist. If you're running pod install manually, make sure flutter packages get is executed first."
41 | end
42 | generated_xcode_build_settings.map { |p|
43 | if p[:name] == 'FLUTTER_FRAMEWORK_DIR'
44 | symlink = File.join('.symlinks', 'flutter')
45 | File.symlink(File.dirname(p[:path]), symlink)
46 | pod 'Flutter', :path => File.join(symlink, File.basename(p[:path]))
47 | end
48 | }
49 |
50 | # Plugin Pods
51 | plugin_pods = parse_KV_file('../.flutter-plugins')
52 | plugin_pods.map { |p|
53 | symlink = File.join('.symlinks', 'plugins', p[:name])
54 | File.symlink(p[:path], symlink)
55 | pod p[:name], :path => File.join(symlink, 'ios')
56 | }
57 | end
58 |
59 | post_install do |installer|
60 | installer.pods_project.targets.each do |target|
61 | target.build_configurations.each do |config|
62 | config.build_settings['ENABLE_BITCODE'] = 'NO'
63 | end
64 | end
65 | end
66 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
11 | 2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */ = {isa = PBXBuildFile; fileRef = 2D5378251FAA1A9400D5DBA9 /* flutter_assets */; };
12 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
13 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; };
14 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
15 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
16 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; };
17 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
18 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; };
19 | 9740EEB51CF90195004384FC /* Generated.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB31CF90195004384FC /* Generated.xcconfig */; };
20 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
21 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
22 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
23 | A722B36EF2B0A9B6FAE64585 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 841F7358A03C7B7F6BCBF2B9 /* Pods_Runner.framework */; };
24 | /* End PBXBuildFile section */
25 |
26 | /* Begin PBXCopyFilesBuildPhase section */
27 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
28 | isa = PBXCopyFilesBuildPhase;
29 | buildActionMask = 2147483647;
30 | dstPath = "";
31 | dstSubfolderSpec = 10;
32 | files = (
33 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */,
34 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */,
35 | );
36 | name = "Embed Frameworks";
37 | runOnlyForDeploymentPostprocessing = 0;
38 | };
39 | /* End PBXCopyFilesBuildPhase section */
40 |
41 | /* Begin PBXFileReference section */
42 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
43 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
44 | 2D5378251FAA1A9400D5DBA9 /* flutter_assets */ = {isa = PBXFileReference; lastKnownFileType = folder; name = flutter_assets; path = Flutter/flutter_assets; sourceTree = SOURCE_ROOT; };
45 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
46 | 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; };
47 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
48 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
49 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
50 | 841F7358A03C7B7F6BCBF2B9 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
51 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
52 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
53 | 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; };
54 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
55 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
56 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
57 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
58 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
59 | /* End PBXFileReference section */
60 |
61 | /* Begin PBXFrameworksBuildPhase section */
62 | 97C146EB1CF9000F007C117D /* Frameworks */ = {
63 | isa = PBXFrameworksBuildPhase;
64 | buildActionMask = 2147483647;
65 | files = (
66 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */,
67 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */,
68 | A722B36EF2B0A9B6FAE64585 /* Pods_Runner.framework in Frameworks */,
69 | );
70 | runOnlyForDeploymentPostprocessing = 0;
71 | };
72 | /* End PBXFrameworksBuildPhase section */
73 |
74 | /* Begin PBXGroup section */
75 | 30C673B4D888E13ABBF09135 /* Frameworks */ = {
76 | isa = PBXGroup;
77 | children = (
78 | 841F7358A03C7B7F6BCBF2B9 /* Pods_Runner.framework */,
79 | );
80 | name = Frameworks;
81 | sourceTree = "";
82 | };
83 | 403D52064CA01A1760E8BB8A /* Pods */ = {
84 | isa = PBXGroup;
85 | children = (
86 | );
87 | name = Pods;
88 | sourceTree = "";
89 | };
90 | 9740EEB11CF90186004384FC /* Flutter */ = {
91 | isa = PBXGroup;
92 | children = (
93 | 2D5378251FAA1A9400D5DBA9 /* flutter_assets */,
94 | 3B80C3931E831B6300D905FE /* App.framework */,
95 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
96 | 9740EEBA1CF902C7004384FC /* Flutter.framework */,
97 | 9740EEB21CF90195004384FC /* Debug.xcconfig */,
98 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
99 | 9740EEB31CF90195004384FC /* Generated.xcconfig */,
100 | );
101 | name = Flutter;
102 | sourceTree = "";
103 | };
104 | 97C146E51CF9000F007C117D = {
105 | isa = PBXGroup;
106 | children = (
107 | 9740EEB11CF90186004384FC /* Flutter */,
108 | 97C146F01CF9000F007C117D /* Runner */,
109 | 97C146EF1CF9000F007C117D /* Products */,
110 | 403D52064CA01A1760E8BB8A /* Pods */,
111 | 30C673B4D888E13ABBF09135 /* Frameworks */,
112 | );
113 | sourceTree = "";
114 | };
115 | 97C146EF1CF9000F007C117D /* Products */ = {
116 | isa = PBXGroup;
117 | children = (
118 | 97C146EE1CF9000F007C117D /* Runner.app */,
119 | );
120 | name = Products;
121 | sourceTree = "";
122 | };
123 | 97C146F01CF9000F007C117D /* Runner */ = {
124 | isa = PBXGroup;
125 | children = (
126 | 97C146FA1CF9000F007C117D /* Main.storyboard */,
127 | 97C146FD1CF9000F007C117D /* Assets.xcassets */,
128 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
129 | 97C147021CF9000F007C117D /* Info.plist */,
130 | 97C146F11CF9000F007C117D /* Supporting Files */,
131 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
132 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
133 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
134 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
135 | );
136 | path = Runner;
137 | sourceTree = "";
138 | };
139 | 97C146F11CF9000F007C117D /* Supporting Files */ = {
140 | isa = PBXGroup;
141 | children = (
142 | );
143 | name = "Supporting Files";
144 | sourceTree = "";
145 | };
146 | /* End PBXGroup section */
147 |
148 | /* Begin PBXNativeTarget section */
149 | 97C146ED1CF9000F007C117D /* Runner */ = {
150 | isa = PBXNativeTarget;
151 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
152 | buildPhases = (
153 | E42EED0A81590F18916971DC /* [CP] Check Pods Manifest.lock */,
154 | 9740EEB61CF901F6004384FC /* Run Script */,
155 | 97C146EA1CF9000F007C117D /* Sources */,
156 | 97C146EB1CF9000F007C117D /* Frameworks */,
157 | 97C146EC1CF9000F007C117D /* Resources */,
158 | 9705A1C41CF9048500538489 /* Embed Frameworks */,
159 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
160 | F8C741E1BECEF2BF47284842 /* [CP] Embed Pods Frameworks */,
161 | );
162 | buildRules = (
163 | );
164 | dependencies = (
165 | );
166 | name = Runner;
167 | productName = Runner;
168 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
169 | productType = "com.apple.product-type.application";
170 | };
171 | /* End PBXNativeTarget section */
172 |
173 | /* Begin PBXProject section */
174 | 97C146E61CF9000F007C117D /* Project object */ = {
175 | isa = PBXProject;
176 | attributes = {
177 | LastUpgradeCheck = 0910;
178 | ORGANIZATIONNAME = "The Chromium Authors";
179 | TargetAttributes = {
180 | 97C146ED1CF9000F007C117D = {
181 | CreatedOnToolsVersion = 7.3.1;
182 | LastSwiftMigration = 0910;
183 | };
184 | };
185 | };
186 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
187 | compatibilityVersion = "Xcode 3.2";
188 | developmentRegion = English;
189 | hasScannedForEncodings = 0;
190 | knownRegions = (
191 | en,
192 | Base,
193 | );
194 | mainGroup = 97C146E51CF9000F007C117D;
195 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
196 | projectDirPath = "";
197 | projectRoot = "";
198 | targets = (
199 | 97C146ED1CF9000F007C117D /* Runner */,
200 | );
201 | };
202 | /* End PBXProject section */
203 |
204 | /* Begin PBXResourcesBuildPhase section */
205 | 97C146EC1CF9000F007C117D /* Resources */ = {
206 | isa = PBXResourcesBuildPhase;
207 | buildActionMask = 2147483647;
208 | files = (
209 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
210 | 9740EEB51CF90195004384FC /* Generated.xcconfig in Resources */,
211 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
212 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */,
213 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
214 | 2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */,
215 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
216 | );
217 | runOnlyForDeploymentPostprocessing = 0;
218 | };
219 | /* End PBXResourcesBuildPhase section */
220 |
221 | /* Begin PBXShellScriptBuildPhase section */
222 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
223 | isa = PBXShellScriptBuildPhase;
224 | buildActionMask = 2147483647;
225 | files = (
226 | );
227 | inputPaths = (
228 | );
229 | name = "Thin Binary";
230 | outputPaths = (
231 | );
232 | runOnlyForDeploymentPostprocessing = 0;
233 | shellPath = /bin/sh;
234 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin";
235 | };
236 | 9740EEB61CF901F6004384FC /* Run Script */ = {
237 | isa = PBXShellScriptBuildPhase;
238 | buildActionMask = 2147483647;
239 | files = (
240 | );
241 | inputPaths = (
242 | );
243 | name = "Run Script";
244 | outputPaths = (
245 | );
246 | runOnlyForDeploymentPostprocessing = 0;
247 | shellPath = /bin/sh;
248 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
249 | };
250 | E42EED0A81590F18916971DC /* [CP] Check Pods Manifest.lock */ = {
251 | isa = PBXShellScriptBuildPhase;
252 | buildActionMask = 2147483647;
253 | files = (
254 | );
255 | inputPaths = (
256 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
257 | "${PODS_ROOT}/Manifest.lock",
258 | );
259 | name = "[CP] Check Pods Manifest.lock";
260 | outputPaths = (
261 | "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
262 | );
263 | runOnlyForDeploymentPostprocessing = 0;
264 | shellPath = /bin/sh;
265 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
266 | showEnvVarsInLog = 0;
267 | };
268 | F8C741E1BECEF2BF47284842 /* [CP] Embed Pods Frameworks */ = {
269 | isa = PBXShellScriptBuildPhase;
270 | buildActionMask = 2147483647;
271 | files = (
272 | );
273 | inputPaths = (
274 | "${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
275 | "${PODS_ROOT}/../.symlinks/flutter/ios/Flutter.framework",
276 | "${BUILT_PRODUCTS_DIR}/documents_picker/documents_picker.framework",
277 | );
278 | name = "[CP] Embed Pods Frameworks";
279 | outputPaths = (
280 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Flutter.framework",
281 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/documents_picker.framework",
282 | );
283 | runOnlyForDeploymentPostprocessing = 0;
284 | shellPath = /bin/sh;
285 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
286 | showEnvVarsInLog = 0;
287 | };
288 | /* End PBXShellScriptBuildPhase section */
289 |
290 | /* Begin PBXSourcesBuildPhase section */
291 | 97C146EA1CF9000F007C117D /* Sources */ = {
292 | isa = PBXSourcesBuildPhase;
293 | buildActionMask = 2147483647;
294 | files = (
295 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
296 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
297 | );
298 | runOnlyForDeploymentPostprocessing = 0;
299 | };
300 | /* End PBXSourcesBuildPhase section */
301 |
302 | /* Begin PBXVariantGroup section */
303 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
304 | isa = PBXVariantGroup;
305 | children = (
306 | 97C146FB1CF9000F007C117D /* Base */,
307 | );
308 | name = Main.storyboard;
309 | sourceTree = "";
310 | };
311 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
312 | isa = PBXVariantGroup;
313 | children = (
314 | 97C147001CF9000F007C117D /* Base */,
315 | );
316 | name = LaunchScreen.storyboard;
317 | sourceTree = "";
318 | };
319 | /* End PBXVariantGroup section */
320 |
321 | /* Begin XCBuildConfiguration section */
322 | 97C147031CF9000F007C117D /* Debug */ = {
323 | isa = XCBuildConfiguration;
324 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
325 | buildSettings = {
326 | ALWAYS_SEARCH_USER_PATHS = NO;
327 | CLANG_ANALYZER_NONNULL = YES;
328 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
329 | CLANG_CXX_LIBRARY = "libc++";
330 | CLANG_ENABLE_MODULES = YES;
331 | CLANG_ENABLE_OBJC_ARC = YES;
332 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
333 | CLANG_WARN_BOOL_CONVERSION = YES;
334 | CLANG_WARN_COMMA = YES;
335 | CLANG_WARN_CONSTANT_CONVERSION = YES;
336 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
337 | CLANG_WARN_EMPTY_BODY = YES;
338 | CLANG_WARN_ENUM_CONVERSION = YES;
339 | CLANG_WARN_INFINITE_RECURSION = YES;
340 | CLANG_WARN_INT_CONVERSION = YES;
341 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
342 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
343 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
344 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
345 | CLANG_WARN_STRICT_PROTOTYPES = YES;
346 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
347 | CLANG_WARN_UNREACHABLE_CODE = YES;
348 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
349 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
350 | COPY_PHASE_STRIP = NO;
351 | DEBUG_INFORMATION_FORMAT = dwarf;
352 | ENABLE_STRICT_OBJC_MSGSEND = YES;
353 | ENABLE_TESTABILITY = YES;
354 | GCC_C_LANGUAGE_STANDARD = gnu99;
355 | GCC_DYNAMIC_NO_PIC = NO;
356 | GCC_NO_COMMON_BLOCKS = YES;
357 | GCC_OPTIMIZATION_LEVEL = 0;
358 | GCC_PREPROCESSOR_DEFINITIONS = (
359 | "DEBUG=1",
360 | "$(inherited)",
361 | );
362 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
363 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
364 | GCC_WARN_UNDECLARED_SELECTOR = YES;
365 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
366 | GCC_WARN_UNUSED_FUNCTION = YES;
367 | GCC_WARN_UNUSED_VARIABLE = YES;
368 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
369 | MTL_ENABLE_DEBUG_INFO = YES;
370 | ONLY_ACTIVE_ARCH = YES;
371 | SDKROOT = iphoneos;
372 | TARGETED_DEVICE_FAMILY = "1,2";
373 | };
374 | name = Debug;
375 | };
376 | 97C147041CF9000F007C117D /* Release */ = {
377 | isa = XCBuildConfiguration;
378 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
379 | buildSettings = {
380 | ALWAYS_SEARCH_USER_PATHS = NO;
381 | CLANG_ANALYZER_NONNULL = YES;
382 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
383 | CLANG_CXX_LIBRARY = "libc++";
384 | CLANG_ENABLE_MODULES = YES;
385 | CLANG_ENABLE_OBJC_ARC = YES;
386 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
387 | CLANG_WARN_BOOL_CONVERSION = YES;
388 | CLANG_WARN_COMMA = YES;
389 | CLANG_WARN_CONSTANT_CONVERSION = YES;
390 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
391 | CLANG_WARN_EMPTY_BODY = YES;
392 | CLANG_WARN_ENUM_CONVERSION = YES;
393 | CLANG_WARN_INFINITE_RECURSION = YES;
394 | CLANG_WARN_INT_CONVERSION = YES;
395 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
396 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
397 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
398 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
399 | CLANG_WARN_STRICT_PROTOTYPES = YES;
400 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
401 | CLANG_WARN_UNREACHABLE_CODE = YES;
402 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
403 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
404 | COPY_PHASE_STRIP = NO;
405 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
406 | ENABLE_NS_ASSERTIONS = NO;
407 | ENABLE_STRICT_OBJC_MSGSEND = YES;
408 | GCC_C_LANGUAGE_STANDARD = gnu99;
409 | GCC_NO_COMMON_BLOCKS = YES;
410 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
411 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
412 | GCC_WARN_UNDECLARED_SELECTOR = YES;
413 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
414 | GCC_WARN_UNUSED_FUNCTION = YES;
415 | GCC_WARN_UNUSED_VARIABLE = YES;
416 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
417 | MTL_ENABLE_DEBUG_INFO = NO;
418 | SDKROOT = iphoneos;
419 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
420 | TARGETED_DEVICE_FAMILY = "1,2";
421 | VALIDATE_PRODUCT = YES;
422 | };
423 | name = Release;
424 | };
425 | 97C147061CF9000F007C117D /* Debug */ = {
426 | isa = XCBuildConfiguration;
427 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
428 | buildSettings = {
429 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
430 | CLANG_ENABLE_MODULES = YES;
431 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
432 | ENABLE_BITCODE = NO;
433 | FRAMEWORK_SEARCH_PATHS = (
434 | "$(inherited)",
435 | "$(PROJECT_DIR)/Flutter",
436 | );
437 | INFOPLIST_FILE = Runner/Info.plist;
438 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
439 | LIBRARY_SEARCH_PATHS = (
440 | "$(inherited)",
441 | "$(PROJECT_DIR)/Flutter",
442 | );
443 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterAnimations;
444 | PRODUCT_NAME = "$(TARGET_NAME)";
445 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
446 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
447 | SWIFT_SWIFT3_OBJC_INFERENCE = On;
448 | SWIFT_VERSION = 4.0;
449 | VERSIONING_SYSTEM = "apple-generic";
450 | };
451 | name = Debug;
452 | };
453 | 97C147071CF9000F007C117D /* Release */ = {
454 | isa = XCBuildConfiguration;
455 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
456 | buildSettings = {
457 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
458 | CLANG_ENABLE_MODULES = YES;
459 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
460 | ENABLE_BITCODE = NO;
461 | FRAMEWORK_SEARCH_PATHS = (
462 | "$(inherited)",
463 | "$(PROJECT_DIR)/Flutter",
464 | );
465 | INFOPLIST_FILE = Runner/Info.plist;
466 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
467 | LIBRARY_SEARCH_PATHS = (
468 | "$(inherited)",
469 | "$(PROJECT_DIR)/Flutter",
470 | );
471 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterAnimations;
472 | PRODUCT_NAME = "$(TARGET_NAME)";
473 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
474 | SWIFT_SWIFT3_OBJC_INFERENCE = On;
475 | SWIFT_VERSION = 4.0;
476 | VERSIONING_SYSTEM = "apple-generic";
477 | };
478 | name = Release;
479 | };
480 | /* End XCBuildConfiguration section */
481 |
482 | /* Begin XCConfigurationList section */
483 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
484 | isa = XCConfigurationList;
485 | buildConfigurations = (
486 | 97C147031CF9000F007C117D /* Debug */,
487 | 97C147041CF9000F007C117D /* Release */,
488 | );
489 | defaultConfigurationIsVisible = 0;
490 | defaultConfigurationName = Release;
491 | };
492 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
493 | isa = XCConfigurationList;
494 | buildConfigurations = (
495 | 97C147061CF9000F007C117D /* Debug */,
496 | 97C147071CF9000F007C117D /* Release */,
497 | );
498 | defaultConfigurationIsVisible = 0;
499 | defaultConfigurationName = Release;
500 | };
501 | /* End XCConfigurationList section */
502 | };
503 | rootObject = 97C146E61CF9000F007C117D /* Project object */;
504 | }
505 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
31 |
32 |
33 |
34 |
40 |
41 |
42 |
43 |
44 |
45 |
56 |
58 |
64 |
65 |
66 |
67 |
68 |
69 |
75 |
77 |
83 |
84 |
85 |
86 |
88 |
89 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-App-20x20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-App-20x20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-App-29x29@1x.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-App-29x29@2x.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-App-29x29@3x.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-App-40x40@2x.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-App-40x40@3x.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-App-60x60@2x.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "60x60",
53 | "idiom" : "iphone",
54 | "filename" : "Icon-App-60x60@3x.png",
55 | "scale" : "3x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "Icon-App-20x20@1x.png",
61 | "scale" : "1x"
62 | },
63 | {
64 | "size" : "20x20",
65 | "idiom" : "ipad",
66 | "filename" : "Icon-App-20x20@2x.png",
67 | "scale" : "2x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "Icon-App-29x29@1x.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "29x29",
77 | "idiom" : "ipad",
78 | "filename" : "Icon-App-29x29@2x.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "Icon-App-40x40@1x.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "40x40",
89 | "idiom" : "ipad",
90 | "filename" : "Icon-App-40x40@2x.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "Icon-App-76x76@1x.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "76x76",
101 | "idiom" : "ipad",
102 | "filename" : "Icon-App-76x76@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "83.5x83.5",
107 | "idiom" : "ipad",
108 | "filename" : "Icon-App-83.5x83.5@2x.png",
109 | "scale" : "2x"
110 | },
111 | {
112 | "size" : "1024x1024",
113 | "idiom" : "ios-marketing",
114 | "filename" : "Icon-App-1024x1024@1x.png",
115 | "scale" : "1x"
116 | }
117 | ],
118 | "info" : {
119 | "version" : 1,
120 | "author" : "xcode"
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter-animations/2edc0a8a0df6fceab2bdef854e00756de9a82896/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter-animations/2edc0a8a0df6fceab2bdef854e00756de9a82896/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter-animations/2edc0a8a0df6fceab2bdef854e00756de9a82896/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter-animations/2edc0a8a0df6fceab2bdef854e00756de9a82896/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter-animations/2edc0a8a0df6fceab2bdef854e00756de9a82896/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter-animations/2edc0a8a0df6fceab2bdef854e00756de9a82896/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter-animations/2edc0a8a0df6fceab2bdef854e00756de9a82896/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter-animations/2edc0a8a0df6fceab2bdef854e00756de9a82896/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter-animations/2edc0a8a0df6fceab2bdef854e00756de9a82896/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter-animations/2edc0a8a0df6fceab2bdef854e00756de9a82896/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter-animations/2edc0a8a0df6fceab2bdef854e00756de9a82896/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter-animations/2edc0a8a0df6fceab2bdef854e00756de9a82896/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter-animations/2edc0a8a0df6fceab2bdef854e00756de9a82896/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter-animations/2edc0a8a0df6fceab2bdef854e00756de9a82896/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter-animations/2edc0a8a0df6fceab2bdef854e00756de9a82896/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchImage.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchImage@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "LaunchImage@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter-animations/2edc0a8a0df6fceab2bdef854e00756de9a82896/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter-animations/2edc0a8a0df6fceab2bdef854e00756de9a82896/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/salihgueler/flutter-animations/2edc0a8a0df6fceab2bdef854e00756de9a82896/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | flutter_animations
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 |
--------------------------------------------------------------------------------
/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
--------------------------------------------------------------------------------
/lib/easinganimationwidget.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter/widgets.dart';
3 |
4 | class EasingAnimationWidget extends StatefulWidget {
5 | @override
6 | EasingAnimationWidgetState createState() => EasingAnimationWidgetState();
7 | }
8 |
9 | class EasingAnimationWidgetState extends State
10 | with TickerProviderStateMixin {
11 |
12 | AnimationController _controller;
13 | Animation _animation;
14 |
15 | @override
16 | Widget build(BuildContext context) {
17 | final double width = MediaQuery.of(context).size.width;
18 | _controller.forward();
19 | return AnimatedBuilder(
20 | animation: _controller,
21 | builder: (BuildContext context, Widget child) {
22 | return Scaffold(
23 | body: Transform(
24 | transform:
25 | Matrix4.translationValues(_animation.value * width, 0.0, 0.0),
26 | child: new Center(
27 | child: Container(
28 | width: 200.0,
29 | height: 200.0,
30 | color: Colors.black12,
31 | )),
32 | ));
33 | });
34 | }
35 |
36 | @override
37 | void initState() {
38 | super.initState();
39 |
40 | _controller =
41 | AnimationController(vsync: this, duration: Duration(seconds: 2));
42 |
43 | _animation = Tween(begin: -1.0, end: 0.0).animate(CurvedAnimation(
44 | parent: _controller,
45 | curve: Curves.fastOutSlowIn,
46 | ))..addStatusListener(handler);
47 | }
48 |
49 | void handler(status) {
50 | if (status == AnimationStatus.completed) {
51 | _animation.removeStatusListener(handler);
52 | _controller.reset();
53 | _animation = Tween(begin: 0.0, end: 1.0).animate(CurvedAnimation(
54 | parent: _controller,
55 | curve: Curves.fastOutSlowIn,
56 | ))
57 | ..addStatusListener((status) {
58 | if (status == AnimationStatus.completed) {
59 | Navigator.pop(context);
60 | }
61 | });
62 | _controller.forward();
63 | }
64 | }
65 |
66 | @override
67 | void dispose() {
68 | _controller.dispose();
69 | super.dispose();
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_animations/easinganimationwidget.dart';
3 | import 'package:flutter_animations/maskinganimationwidget.dart';
4 | import 'package:flutter_animations/offsetdelayanimation.dart';
5 | import 'package:flutter_animations/parentinganimation.dart';
6 | import 'package:flutter_animations/springfreefallinganimation.dart';
7 | import 'package:flutter_animations/transformationanimationwidget.dart';
8 | import 'package:flutter_animations/valuechangeanimation.dart';
9 |
10 | void main() => runApp(new MyApp());
11 |
12 | class MyApp extends StatelessWidget {
13 | // This widget is the root of your application.
14 | @override
15 | Widget build(BuildContext context) {
16 | return new MaterialApp(
17 | title: 'Animation Demo',
18 | theme: new ThemeData(
19 | // This is the theme of your application.
20 | //
21 | // Try running your application with "flutter run". You'll see the
22 | // application has a blue toolbar. Then, without quitting the app, try
23 | // changing the primarySwatch below to Colors.green and then invoke
24 | // "hot reload" (press "r" in the console where you ran "flutter run",
25 | // or press Run > Flutter Hot Reload in IntelliJ). Notice that the
26 | // counter didn't reset back to zero; the application is not restarted.
27 | primarySwatch: Colors.blue,
28 | ),
29 | home: new MyHomePage(title: "Animation Main Page"),
30 | );
31 | }
32 | }
33 |
34 | class MyHomePage extends StatelessWidget {
35 | MyHomePage({Key key, this.title}) : super(key: key);
36 |
37 | // This widget is the home page of your application. It is stateful, meaning
38 | // that it has a State object (defined below) that contains fields that affect
39 | // how it looks.
40 |
41 | // This class is the configuration for the state. It holds the values (in this
42 | // case the title) provided by the parent (in this case the App widget) and
43 | // used by the build method of the State. Fields in a Widget subclass are
44 | // always marked "final".
45 |
46 | final String title;
47 |
48 | @override
49 | Widget build(BuildContext context) {
50 | return new Scaffold(
51 | appBar: new AppBar(
52 | // Here we take the value from the MyHomePage object that was created by
53 | // the App.build method, and use it to set our appbar title.
54 | title: new Text(title),
55 | ),
56 | body: ListView(
57 | children: [
58 | ListTile(
59 | title: Text("Easing animation"),
60 | onTap: () {
61 | Navigator.of(context).push(MaterialPageRoute(
62 | builder: (context) => new EasingAnimationWidget()));
63 | },
64 | ),
65 | ListTile(
66 | title: Text("Offset & Delay animation"),
67 | onTap: () {
68 | Navigator.of(context).push(MaterialPageRoute(
69 | builder: (context) => new OffsetDelayAnimationWidget()));
70 | },
71 | ),
72 | ListTile(
73 | title: Text("Parenting animation"),
74 | onTap: () {
75 | Navigator.of(context).push(MaterialPageRoute(
76 | builder: (context) => new ParentingAnimationWidget()));
77 | },
78 | ),
79 | ListTile(
80 | title: Text("Transformation animation"),
81 | onTap: () {
82 | Navigator.of(context).push(MaterialPageRoute(
83 | builder: (context) => new TransformationAnimationWidget()));
84 | },
85 | ),
86 | ListTile(
87 | title: Text("Value Change animation"),
88 | onTap: () {
89 | Navigator.of(context).push(MaterialPageRoute(
90 | builder: (context) => new ValueChangeAnimationWidget()));
91 | },
92 | ),
93 | ListTile(
94 | title: Text("Masking animation"),
95 | onTap: () {
96 | Navigator.of(context).push(MaterialPageRoute(
97 | builder: (context) => new MaskingAnimationWidget()));
98 | },
99 | ),
100 | ListTile(
101 | title: Text("Physics animation"),
102 | onTap: () {
103 | Navigator.of(context).push(MaterialPageRoute(
104 | builder: (context) => new SpringFreeFallingAnimation()));
105 | },
106 | )
107 | ],
108 | ) // This trailing comma makes auto-formatting nicer for build methods.
109 | );
110 | }
111 | }
--------------------------------------------------------------------------------
/lib/maskinganimationwidget.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class MaskingAnimationWidget extends StatefulWidget {
4 | @override
5 | MaskingAnimationWidgetState createState() =>
6 | MaskingAnimationWidgetState();
7 | }
8 |
9 | class MaskingAnimationWidgetState extends State
10 | with TickerProviderStateMixin {
11 | AnimationController _controller;
12 | Animation transitionTween;
13 | Animation borderRadius;
14 |
15 | @override
16 | void initState() {
17 | super.initState();
18 |
19 | _controller = AnimationController(
20 | duration: const Duration(seconds: 2), vsync: this)
21 | ..addStatusListener((status) {
22 | if (status == AnimationStatus.completed) {
23 | Navigator.pop(context);
24 | }
25 | });
26 |
27 | transitionTween = Tween(
28 | begin: 50.0,
29 | end: 200.0,
30 | ).animate(
31 | CurvedAnimation(
32 | parent: _controller,
33 | curve: Curves.ease,
34 | ),
35 | );
36 | borderRadius = BorderRadiusTween(
37 | begin: BorderRadius.circular(75.0),
38 | end: BorderRadius.circular(0.0),
39 | ).animate(
40 | CurvedAnimation(
41 | parent: _controller,
42 | curve: Curves.ease,
43 | ),
44 | );
45 | _controller.forward();
46 | }
47 |
48 | @override
49 | void dispose() {
50 | _controller.dispose();
51 | super.dispose();
52 | }
53 |
54 | @override
55 | Widget build(BuildContext context) {
56 | return AnimatedBuilder(
57 | animation: _controller,
58 | builder: (BuildContext context, Widget child) {
59 | return Scaffold(
60 | body: new Center(
61 | child: new Stack(
62 | children: [
63 | new Center(
64 | child: Container(
65 | width: 200.0,
66 | height: 200.0,
67 | color: Colors.black12,
68 | )),
69 | new Center(
70 | child: Container(
71 | alignment: Alignment.bottomCenter,
72 | width: transitionTween.value,
73 | height: transitionTween.value,
74 | decoration: BoxDecoration(
75 | color: Colors.black12,
76 | borderRadius: borderRadius.value,
77 | ),
78 | )),
79 | ],
80 | )));
81 | },
82 | );
83 | }
84 | }
--------------------------------------------------------------------------------
/lib/offsetdelayanimation.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter/widgets.dart';
3 |
4 | class OffsetDelayAnimationWidget extends StatefulWidget {
5 | @override
6 | OffsetDelayAnimationWidgetState createState() =>
7 | OffsetDelayAnimationWidgetState();
8 | }
9 |
10 | class OffsetDelayAnimationWidgetState extends State
11 | with TickerProviderStateMixin {
12 | AnimationController _controller;
13 | Animation _animation;
14 | Animation _lateAnimation;
15 |
16 | @override
17 | void initState() {
18 | super.initState();
19 |
20 | _controller =
21 | AnimationController(vsync: this, duration: Duration(seconds: 2));
22 |
23 | _animation = Tween(begin: -1.0, end: 0.0).animate(CurvedAnimation(
24 | parent: _controller,
25 | curve: Curves.fastOutSlowIn,
26 | ))
27 | ..addStatusListener(handler);
28 |
29 | _lateAnimation = Tween(begin: -1.0, end: 0.0).animate(CurvedAnimation(
30 | parent: _controller,
31 | curve: Interval(
32 | 0.2,
33 | 1.0,
34 | curve: Curves.fastOutSlowIn,
35 | )));
36 | }
37 |
38 | void handler(status) {
39 | if (status == AnimationStatus.completed) {
40 | _animation.removeStatusListener(handler);
41 | _controller.reset();
42 | _animation = Tween(begin: 0.0, end: 1.0).animate(CurvedAnimation(
43 | parent: _controller,
44 | curve: Curves.fastOutSlowIn,
45 | ));
46 | _lateAnimation = Tween(begin: 0.0, end: 1.0).animate(CurvedAnimation(
47 | parent: _controller,
48 | curve: Interval(
49 | 0.2,
50 | 1.0,
51 | curve: Curves.fastOutSlowIn,
52 | )))
53 | ..addStatusListener((status) {
54 | if (status == AnimationStatus.completed) {
55 | Navigator.pop(context);
56 | }
57 | });
58 | _controller.forward();
59 | }
60 | }
61 |
62 | @override
63 | Widget build(BuildContext context) {
64 | final double width = MediaQuery.of(context).size.width;
65 | _controller.forward();
66 | return AnimatedBuilder(
67 | animation: _controller,
68 | builder: (BuildContext context, Widget child) {
69 | return new Scaffold(
70 | body: new Align(
71 | alignment: Alignment.center,
72 | child: new Container(
73 | child: new Center(
74 | child:
75 | new ListView(shrinkWrap: true, children: [
76 | Transform(
77 | transform: Matrix4.translationValues(
78 | _animation.value * width,
79 | 0.0,
80 | 0.0,
81 | ),
82 | child: new Center(
83 | child: new Container(
84 | padding: const EdgeInsets.only(top: 16.0),
85 | child: Container(
86 | width: 200.0,
87 | height: 30.0,
88 | color: Colors.black12,
89 | ),
90 | ))),
91 | Transform(
92 | transform: Matrix4.translationValues(
93 | _animation.value * width,
94 | 0.0,
95 | 0.0,
96 | ),
97 | child: new Center(
98 | child: new Container(
99 | padding: const EdgeInsets.only(top: 16.0),
100 | child: Container(
101 | width: 200.0,
102 | height: 30.0,
103 | color: Colors.black12,
104 | ),
105 | ))),
106 | Transform(
107 | transform: Matrix4.translationValues(
108 | _lateAnimation.value * width,
109 | 0.0,
110 | 0.0,
111 | ),
112 | child: new Center(
113 | child: new Container(
114 | padding: const EdgeInsets.only(top: 16.0),
115 | child: Container(
116 | width: 200.0,
117 | height: 30.0,
118 | color: Colors.black12,
119 | ),
120 | ))),
121 | ])))));
122 | });
123 | }
124 |
125 | @override
126 | void dispose() {
127 | _controller.dispose();
128 | super.dispose();
129 | }
130 | }
131 |
--------------------------------------------------------------------------------
/lib/parentinganimation.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter/widgets.dart';
3 |
4 | class ParentingAnimationWidget extends StatefulWidget {
5 | @override
6 | ParentingAnimationWidgetState createState() =>
7 | ParentingAnimationWidgetState();
8 | }
9 |
10 | class ParentingAnimationWidgetState extends State
11 | with TickerProviderStateMixin {
12 | Animation growingAnimation;
13 | Animation animation;
14 | AnimationController controller;
15 |
16 | @override
17 | void initState() {
18 | super.initState();
19 | controller =
20 | AnimationController(duration: const Duration(seconds: 2), vsync: this);
21 | growingAnimation = Tween(begin: 10.0, end: 100.0)
22 | .animate(CurvedAnimation(parent: controller, curve: Curves.easeIn));
23 | animation = Tween(begin: -0.25, end: 0.0).animate(CurvedAnimation(
24 | parent: controller,
25 | curve: Curves.easeIn,
26 | ))
27 | ..addStatusListener((status) {
28 | if (status == AnimationStatus.completed) {
29 | controller.reverse();
30 | }
31 | if (status == AnimationStatus.dismissed) {
32 | Navigator.pop(context);
33 | }
34 | });
35 | }
36 |
37 | @override
38 | Widget build(BuildContext context) {
39 | final double width = MediaQuery.of(context).size.width;
40 | controller.forward();
41 | return AnimatedBuilder(
42 | animation: controller,
43 | builder: (BuildContext context, Widget child) {
44 | return new Scaffold(
45 | body: new Align(
46 | alignment: Alignment.center,
47 | child: new Container(
48 | child: new Center(
49 | child:
50 | new ListView(shrinkWrap: true, children: [
51 | Transform(
52 | transform: Matrix4.translationValues(
53 | animation.value * width, 0.0, 0.0),
54 | child: new Center(
55 | child: Container(
56 | height: growingAnimation.value,
57 | width: growingAnimation.value * 2,
58 | color: Colors.black12,
59 | ))),
60 | Transform(
61 | transform: Matrix4.translationValues(
62 | animation.value * width,
63 | 0.0,
64 | 0.0,
65 | ),
66 | child: new Center(
67 | child: new Container(
68 | padding: const EdgeInsets.only(top: 16.0),
69 | child: Container(
70 | width: 200.0,
71 | height: 100.0,
72 | color: Colors.black12,
73 | ),
74 | ))),
75 | ])))));
76 | });
77 | }
78 | }
79 |
--------------------------------------------------------------------------------
/lib/springfreefallinganimation.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter/physics.dart';
3 |
4 | class SpringFreeFallingAnimation extends StatefulWidget {
5 | SpringFreeFallingAnimationState createState() =>
6 | new SpringFreeFallingAnimationState();
7 | }
8 |
9 | class SpringFreeFallingAnimationState extends State
10 | with SingleTickerProviderStateMixin {
11 |
12 | double _squareEdgeSize = 200.0;
13 | SpringDescription _spring = new SpringDescription(mass: 1.0, stiffness: 100.0, damping: 10.0);
14 | SpringSimulation _springSimulation;
15 | AnimationController _animationController;
16 |
17 | @override
18 | Widget build(BuildContext context) {
19 | final double height = MediaQuery.of(context).size.height;
20 | _springSimulation = new SpringSimulation(_spring, _squareEdgeSize, height, _animationController.velocity);
21 | startAnimationWithDelay();
22 | return AnimatedBuilder(
23 | animation: _animationController,
24 | builder: (BuildContext context, Widget child) {
25 | return Scaffold(
26 | body: Transform(
27 | transform: Matrix4.translationValues(0.0, _squareEdgeSize - 200.0, 0.0),
28 | child: new Align(
29 | alignment: Alignment.topCenter,
30 | child: Container(
31 | width: 200.0,
32 | height: 200.0,
33 | color: Colors.black12,
34 | )),
35 | ));
36 | });
37 | }
38 |
39 | @override
40 | initState() {
41 | super.initState();
42 | _animationController = new AnimationController(
43 | vsync: this,
44 | lowerBound: double.negativeInfinity,
45 | upperBound: double.infinity,
46 | )..addListener(() {
47 | setState(() {
48 | _squareEdgeSize = _animationController.value;
49 | });
50 | });
51 | }
52 |
53 | void startAnimationWithDelay() async {
54 | if (!_animationController.isAnimating) {
55 | await new Future.delayed(const Duration(milliseconds: 500));
56 | _animationController.animateWith(_springSimulation);
57 | }
58 | }
59 | }
60 |
61 |
62 |
--------------------------------------------------------------------------------
/lib/transformationanimationwidget.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class TransformationAnimationWidget extends StatefulWidget {
4 | @override
5 | TransformationAnimationWidgetState createState() =>
6 | TransformationAnimationWidgetState();
7 | }
8 |
9 | class TransformationAnimationWidgetState
10 | extends State with TickerProviderStateMixin {
11 | AnimationController _controller;
12 | Animation transitionTween;
13 | Animation borderRadius;
14 |
15 | @override
16 | void initState() {
17 | super.initState();
18 |
19 | _controller = AnimationController(
20 | duration: const Duration(milliseconds: 2000), vsync: this)
21 | ..addStatusListener((status) {
22 | if (status == AnimationStatus.completed) {
23 | _controller.reverse();
24 | }
25 | if (status == AnimationStatus.dismissed) {
26 | Navigator.pop(context);
27 | }
28 | });
29 |
30 | transitionTween = Tween(
31 | begin: 50.0,
32 | end: 200.0,
33 | ).animate(
34 | CurvedAnimation(
35 | parent: _controller,
36 | curve: Curves.ease,
37 | ),
38 | );
39 | borderRadius = BorderRadiusTween(
40 | begin: BorderRadius.circular(75.0),
41 | end: BorderRadius.circular(0.0),
42 | ).animate(
43 | CurvedAnimation(
44 | parent: _controller,
45 | curve: Curves.ease,
46 | ),
47 | );
48 | _controller.forward();
49 | }
50 |
51 | @override
52 | void dispose() {
53 | _controller.dispose();
54 | super.dispose();
55 | }
56 |
57 | @override
58 | Widget build(BuildContext context) {
59 | return AnimatedBuilder(
60 | animation: _controller,
61 | builder: (BuildContext context, Widget child) {
62 | return Scaffold(
63 | body: new Center(
64 | child: Container(
65 | alignment: Alignment.bottomCenter,
66 | width: transitionTween.value,
67 | height: transitionTween.value,
68 | decoration: BoxDecoration(
69 | color: Colors.black12,
70 | borderRadius: borderRadius.value,
71 | ),
72 | ),
73 | ));
74 | },
75 | );
76 | }
77 | }
--------------------------------------------------------------------------------
/lib/valuechangeanimation.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter/widgets.dart';
3 |
4 | class ValueChangeAnimationWidget extends StatefulWidget {
5 | @override
6 | ValueChangeAnimationWidgetState createState() =>
7 | ValueChangeAnimationWidgetState();
8 | }
9 |
10 | class ValueChangeAnimationWidgetState
11 | extends State with TickerProviderStateMixin {
12 | AnimationController controller;
13 | Animation animation;
14 |
15 | @override
16 | void initState() {
17 | super.initState();
18 |
19 | controller = AnimationController(
20 | duration: const Duration(milliseconds: 1000), vsync: this);
21 | final Animation curve =
22 | CurvedAnimation(parent: controller, curve: Curves.easeOut);
23 | animation = IntTween(begin: 0, end: 10).animate(curve)
24 | ..addStatusListener((status) {
25 | if (status == AnimationStatus.completed) {
26 | controller.reverse();
27 | }
28 | if (status == AnimationStatus.dismissed) {
29 | Navigator.pop(context);
30 | }
31 | });
32 | }
33 |
34 | @override
35 | Widget build(BuildContext context) {
36 | controller.forward();
37 | return AnimatedBuilder(
38 | animation: controller,
39 | builder: (BuildContext context, Widget child) {
40 | return Scaffold(
41 | body: new Center(
42 | child: Text(animation.value.toString(), style: TextStyle(fontSize: 48.0)),
43 | ));
44 | });
45 | }
46 |
47 | @override
48 | void dispose() {
49 | controller.dispose();
50 | super.dispose();
51 | }
52 | }
--------------------------------------------------------------------------------
/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: flutter_animations
2 | description: A new Flutter project.
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 | # Read more about versioning at semver.org.
10 | version: 1.0.0+1
11 |
12 | dependencies:
13 | flutter:
14 | sdk: flutter
15 |
16 | # The following adds the Cupertino Icons font to your application.
17 | # Use with the CupertinoIcons class for iOS style icons.
18 | cupertino_icons: ^0.1.2
19 | documents_picker: "^0.0.2"
20 |
21 | dev_dependencies:
22 | flutter_test:
23 | sdk: flutter
24 |
25 |
26 | # For information on the generic Dart part of this file, see the
27 | # following page: https://www.dartlang.org/tools/pub/pubspec
28 |
29 | # The following section is specific to Flutter.
30 | flutter:
31 |
32 | # The following line ensures that the Material Icons font is
33 | # included with your application, so that you can use the icons in
34 | # the material Icons class.
35 | uses-material-design: true
36 | # To add assets to your application, add an assets section, like this:
37 | # assets:
38 | # - images/a_dot_burr.jpeg
39 | # - images/a_dot_ham.jpeg
40 |
41 | # An image asset can refer to one or more resolution-specific "variants", see
42 | # https://flutter.io/assets-and-images/#resolution-aware.
43 |
44 | # For details regarding adding assets from package dependencies, see
45 | # https://flutter.io/assets-and-images/#from-packages
46 |
47 | # To add custom fonts to your application, add a fonts section here,
48 | # in this "flutter" section. Each entry in this list should have a
49 | # "family" key with the font family name, and a "fonts" key with a
50 | # list giving the asset and other descriptors for the font. For
51 | # example:
52 | # fonts:
53 | # - family: Schyler
54 | # fonts:
55 | # - asset: fonts/Schyler-Regular.ttf
56 | # - asset: fonts/Schyler-Italic.ttf
57 | # style: italic
58 | # - family: Trajan Pro
59 | # fonts:
60 | # - asset: fonts/TrajanPro.ttf
61 | # - asset: fonts/TrajanPro_Bold.ttf
62 | # weight: 700
63 | #
64 | # For details regarding fonts from package dependencies,
65 | # see https://flutter.io/custom-fonts/#from-packages
66 |
--------------------------------------------------------------------------------
/test/widget_test.dart:
--------------------------------------------------------------------------------
1 | // This is a basic Flutter widget test.
2 | // To perform an interaction with a widget in your test, use the WidgetTester utility that Flutter
3 | // provides. For example, you can send tap and scroll gestures. You can also use WidgetTester to
4 | // find child widgets in the widget tree, read text, and verify that the values of widget properties
5 | // are correct.
6 |
7 | import 'package:flutter/material.dart';
8 | import 'package:flutter_test/flutter_test.dart';
9 |
10 | import 'package:flutter_animations/main.dart';
11 |
12 | void main() {
13 | testWidgets('Counter increments smoke test', (WidgetTester tester) async {
14 | // Build our app and trigger a frame.
15 | await tester.pumpWidget(new MyApp());
16 |
17 | // Verify that our counter starts at 0.
18 | expect(find.text('0'), findsOneWidget);
19 | expect(find.text('1'), findsNothing);
20 |
21 | // Tap the '+' icon and trigger a frame.
22 | await tester.tap(find.byIcon(Icons.add));
23 | await tester.pump();
24 |
25 | // Verify that our counter has incremented.
26 | expect(find.text('0'), findsNothing);
27 | expect(find.text('1'), findsOneWidget);
28 | });
29 | }
30 |
--------------------------------------------------------------------------------