├── lib ├── animations │ ├── bottomUpAnimation.dart │ ├── slideAnimation.dart │ └── fadeAnimations.dart ├── main.dart ├── cart.dart └── details_page.dart ├── ios ├── Flutter │ ├── Debug.xcconfig │ ├── Release.xcconfig │ └── AppFrameworkInfo.plist ├── Runner │ ├── Runner-Bridging-Header.h │ ├── Assets.xcassets │ │ ├── LaunchImage.imageset │ │ │ ├── LaunchImage.png │ │ │ ├── LaunchImage@2x.png │ │ │ ├── LaunchImage@3x.png │ │ │ ├── README.md │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ ├── 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-1024x1024@1x.png │ │ │ ├── Icon-App-83.5x83.5@2x.png │ │ │ └── Contents.json │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── Main.storyboard │ │ └── LaunchScreen.storyboard │ └── Info.plist ├── Runner.xcodeproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── WorkspaceSettings.xcsettings │ │ │ └── IDEWorkspaceChecks.plist │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── Runner.xcscheme │ └── project.pbxproj ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── WorkspaceSettings.xcsettings │ │ └── IDEWorkspaceChecks.plist └── .gitignore ├── web ├── favicon.png ├── icons │ ├── Icon-192.png │ └── Icon-512.png ├── manifest.json └── index.html ├── assets ├── images │ ├── one.jpg │ ├── six.jpg │ ├── two.jpg │ ├── eight.jpg │ ├── five.jpg │ ├── four.jpg │ ├── seven.jpg │ └── three.jpg └── screenshot │ ├── four.png │ ├── one.png │ ├── two.png │ └── three.png ├── android ├── gradle.properties ├── app │ ├── src │ │ ├── main │ │ │ ├── res │ │ │ │ ├── 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 │ │ │ │ ├── drawable │ │ │ │ │ └── launch_background.xml │ │ │ │ ├── drawable-v21 │ │ │ │ │ └── launch_background.xml │ │ │ │ ├── values │ │ │ │ │ └── styles.xml │ │ │ │ └── values-night │ │ │ │ │ └── styles.xml │ │ │ ├── kotlin │ │ │ │ └── com │ │ │ │ │ └── example │ │ │ │ │ └── animation_test1 │ │ │ │ │ └── MainActivity.kt │ │ │ └── AndroidManifest.xml │ │ ├── debug │ │ │ └── AndroidManifest.xml │ │ └── profile │ │ │ └── AndroidManifest.xml │ └── build.gradle ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── .gitignore ├── settings.gradle └── build.gradle ├── .metadata ├── README.md ├── .gitignore ├── test └── widget_test.dart ├── pubspec.yaml └── pubspec.lock /lib/animations/bottomUpAnimation.dart: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /web/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/web/favicon.png -------------------------------------------------------------------------------- /assets/images/one.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/assets/images/one.jpg -------------------------------------------------------------------------------- /assets/images/six.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/assets/images/six.jpg -------------------------------------------------------------------------------- /assets/images/two.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/assets/images/two.jpg -------------------------------------------------------------------------------- /assets/images/eight.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/assets/images/eight.jpg -------------------------------------------------------------------------------- /assets/images/five.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/assets/images/five.jpg -------------------------------------------------------------------------------- /assets/images/four.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/assets/images/four.jpg -------------------------------------------------------------------------------- /assets/images/seven.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/assets/images/seven.jpg -------------------------------------------------------------------------------- /assets/images/three.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/assets/images/three.jpg -------------------------------------------------------------------------------- /web/icons/Icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/web/icons/Icon-192.png -------------------------------------------------------------------------------- /web/icons/Icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/web/icons/Icon-512.png -------------------------------------------------------------------------------- /assets/screenshot/four.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/assets/screenshot/four.png -------------------------------------------------------------------------------- /assets/screenshot/one.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/assets/screenshot/one.png -------------------------------------------------------------------------------- /assets/screenshot/two.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/assets/screenshot/two.png -------------------------------------------------------------------------------- /assets/screenshot/three.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/assets/screenshot/three.png -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/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/isiyemijoe/shoe_animation/HEAD/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/isiyemijoe/shoe_animation/HEAD/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/isiyemijoe/shoe_animation/HEAD/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/isiyemijoe/shoe_animation/HEAD/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/isiyemijoe/shoe_animation/HEAD/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/isiyemijoe/shoe_animation/HEAD/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/isiyemijoe/shoe_animation/HEAD/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/isiyemijoe/shoe_animation/HEAD/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/isiyemijoe/shoe_animation/HEAD/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/isiyemijoe/shoe_animation/HEAD/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/isiyemijoe/shoe_animation/HEAD/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/isiyemijoe/shoe_animation/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isiyemijoe/shoe_animation/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /android/app/src/main/kotlin/com/example/animation_test1/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.animation_test1 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() { 6 | } 7 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /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-6.7-all.zip 7 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | 9 | # Remember to never publicly share your keystore. 10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app 11 | key.properties 12 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.metadata: -------------------------------------------------------------------------------- 1 | # This file tracks properties of this Flutter project. 2 | # Used by Flutter tool to assess capabilities and perform upgrades etc. 3 | # 4 | # This file should be version controlled and should not be manually edited. 5 | 6 | version: 7 | revision: d2b109859542ab91d9735318092a5eeb4510f547 8 | channel: stable 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties") 4 | def properties = new Properties() 5 | 6 | assert localPropertiesFile.exists() 7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } 8 | 9 | def flutterSdkPath = properties.getProperty("flutter.sdk") 10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" 12 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # animation_test1 2 | 3 | A new Flutter project. 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 | -------------------------------------------------------------------------------- /ios/.gitignore: -------------------------------------------------------------------------------- 1 | *.mode1v3 2 | *.mode2v3 3 | *.moved-aside 4 | *.pbxuser 5 | *.perspectivev3 6 | **/*sync/ 7 | .sconsign.dblite 8 | .tags* 9 | **/.vagrant/ 10 | **/DerivedData/ 11 | Icon? 12 | **/Pods/ 13 | **/.symlinks/ 14 | profile 15 | xcuserdata 16 | **/.generated/ 17 | Flutter/App.framework 18 | Flutter/Flutter.framework 19 | Flutter/Flutter.podspec 20 | Flutter/Generated.xcconfig 21 | Flutter/app.flx 22 | Flutter/app.zip 23 | Flutter/flutter_assets/ 24 | Flutter/flutter_export_environment.sh 25 | ServiceDefinitions.json 26 | Runner/GeneratedPluginRegistrant.* 27 | 28 | # Exceptions to above rules. 29 | !default.mode1v3 30 | !default.mode2v3 31 | !default.pbxuser 32 | !default.perspectivev3 33 | -------------------------------------------------------------------------------- /web/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "animation_test1", 3 | "short_name": "animation_test1", 4 | "start_url": ".", 5 | "display": "standalone", 6 | "background_color": "#0175C2", 7 | "theme_color": "#0175C2", 8 | "description": "A new Flutter project.", 9 | "orientation": "portrait-primary", 10 | "prefer_related_applications": false, 11 | "icons": [ 12 | { 13 | "src": "icons/Icon-192.png", 14 | "sizes": "192x192", 15 | "type": "image/png" 16 | }, 17 | { 18 | "src": "icons/Icon-512.png", 19 | "sizes": "512x512", 20 | "type": "image/png" 21 | } 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /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:4.1.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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | 12 | # IntelliJ related 13 | *.iml 14 | *.ipr 15 | *.iws 16 | .idea/ 17 | 18 | # The .vscode folder contains launch configuration and tasks you configure in 19 | # VS Code which you may wish to be included in version control, so this line 20 | # is commented out by default. 21 | #.vscode/ 22 | 23 | # Flutter/Dart/Pub related 24 | **/doc/api/ 25 | **/ios/Flutter/.last_build_id 26 | .dart_tool/ 27 | .flutter-plugins 28 | .flutter-plugins-dependencies 29 | .packages 30 | .pub-cache/ 31 | .pub/ 32 | /build/ 33 | 34 | # Web related 35 | lib/generated_plugin_registrant.dart 36 | 37 | # Symbolication related 38 | app.*.symbols 39 | 40 | # Obfuscation related 41 | app.*.map.json 42 | 43 | # Android Studio will place build artifacts here 44 | /android/app/debug 45 | /android/app/profile 46 | /android/app/release 47 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /android/app/src/main/res/values-night/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /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:animation_test1/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 | -------------------------------------------------------------------------------- /lib/animations/slideAnimation.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:simple_animations/simple_animations.dart'; 3 | import 'package:supercharged/supercharged.dart'; 4 | 5 | enum AniProps { opacity, translateX } 6 | 7 | class SlideAnimations extends StatelessWidget { 8 | final double delay; 9 | final Widget child; 10 | const SlideAnimations({Key key, @required this.delay, @required this.child}) 11 | : super(key: key); 12 | 13 | @override 14 | Widget build(BuildContext context) { 15 | final _tween = TimelineTween() 16 | ..addScene(begin: 0.milliseconds, duration: 350.milliseconds) 17 | .animate( 18 | AniProps.opacity, 19 | tween: 0.0.tweenTo(1.0), 20 | ) 21 | .animate( 22 | AniProps.translateX, 23 | tween: (50.0).tweenTo(0.0), 24 | curve: Curves.easeOut, 25 | ); 26 | 27 | return PlayAnimation>( 28 | delay: Duration(milliseconds: (350 * delay).round()), 29 | duration: _tween.duration, 30 | child: child, 31 | tween: _tween, 32 | builder: (context, child, value) => Transform.translate( 33 | offset: Offset(value.get(AniProps.translateX), 0), 34 | child: Opacity(opacity: value.get(AniProps.opacity), child: child), 35 | ), 36 | ); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /lib/animations/fadeAnimations.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:simple_animations/simple_animations.dart'; 3 | import 'package:supercharged/supercharged.dart'; 4 | 5 | enum AniProps { opacity, translateY } 6 | 7 | class FadeAnimation extends StatelessWidget { 8 | final double delay; 9 | final Widget child; 10 | const FadeAnimation({Key key, @required this.delay, @required this.child}) 11 | : super(key: key); 12 | 13 | @override 14 | Widget build(BuildContext context) { 15 | final _tween = TimelineTween() 16 | ..addScene(begin: 0.milliseconds, duration: 350.milliseconds) 17 | .animate( 18 | AniProps.opacity, 19 | tween: 0.0.tweenTo(1.0), 20 | ) 21 | .animate( 22 | AniProps.translateY, 23 | tween: (-30.0).tweenTo(0.0), 24 | curve: Curves.easeOut, 25 | ); 26 | 27 | return PlayAnimation>( 28 | delay: Duration(milliseconds: (350 * delay).round()), 29 | duration: _tween.duration, 30 | child: child, 31 | tween: _tween, 32 | builder: (context, child, value) => Opacity( 33 | opacity: value.get(AniProps.opacity), 34 | child: Transform.translate( 35 | offset: Offset(0, value.get(AniProps.translateY)), child: child), 36 | ), 37 | ); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /web/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | animation_test1 30 | 31 | 32 | 33 | 36 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /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 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | animation_test1 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 | -------------------------------------------------------------------------------- /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 30 30 | 31 | sourceSets { 32 | main.java.srcDirs += 'src/main/kotlin' 33 | } 34 | 35 | defaultConfig { 36 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 37 | applicationId "com.example.animation_test1" 38 | minSdkVersion 16 39 | targetSdkVersion 30 40 | versionCode flutterVersionCode.toInteger() 41 | versionName flutterVersionName 42 | } 43 | 44 | buildTypes { 45 | release { 46 | // TODO: Add your own signing config for the release build. 47 | // Signing with the debug keys for now, so `flutter run --release` works. 48 | signingConfig signingConfigs.debug 49 | } 50 | } 51 | } 52 | 53 | flutter { 54 | source '../..' 55 | } 56 | 57 | dependencies { 58 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 59 | } 60 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 13 | 17 | 21 | 26 | 30 | 31 | 32 | 33 | 34 | 35 | 37 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: animation_test1 2 | description: A new Flutter project. 3 | 4 | # The following line prevents the package from being accidentally published to 5 | # pub.dev using `pub publish`. This is preferred for private packages. 6 | publish_to: 'none' # Remove this line if you wish to publish to pub.dev 7 | 8 | # The following defines the version and build number for your application. 9 | # A version number is three numbers separated by dots, like 1.2.43 10 | # followed by an optional build number separated by a +. 11 | # Both the version and the builder number may be overridden in flutter 12 | # build by specifying --build-name and --build-number, respectively. 13 | # In Android, build-name is used as versionName while build-number used as versionCode. 14 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning 15 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. 16 | # Read more about iOS versioning at 17 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 18 | version: 1.0.0+1 19 | 20 | environment: 21 | sdk: ">=2.7.0 <3.0.0" 22 | 23 | dependencies: 24 | flutter: 25 | sdk: flutter 26 | cupertino_icons: ^1.0.2 27 | page_transition: ^1.1.7+6 28 | simple_animations: ^3.0.3 29 | 30 | dev_dependencies: 31 | flutter_test: 32 | sdk: flutter 33 | 34 | # For information on the generic Dart part of this file, see the 35 | # following page: https://dart.dev/tools/pub/pubspec 36 | # The following section is specific to Flutter. 37 | flutter: 38 | 39 | # The following line ensures that the Material Icons font is 40 | # included with your application, so that you can use the icons in 41 | # the material Icons class. 42 | uses-material-design: true 43 | 44 | # To add assets to your application, add an assets section, like this: 45 | assets: 46 | - assets/images/ 47 | # - images/a_dot_ham.jpeg 48 | # An image asset can refer to one or more resolution-specific "variants", see 49 | # https://flutter.dev/assets-and-images/#resolution-aware. 50 | # For details regarding adding assets from package dependencies, see 51 | # https://flutter.dev/assets-and-images/#from-packages 52 | # To add custom fonts to your application, add a fonts section here, 53 | # in this "flutter" section. Each entry in this list should have a 54 | # "family" key with the font family name, and a "fonts" key with a 55 | # list giving the asset and other descriptors for the font. For 56 | # example: 57 | # fonts: 58 | # - family: Schyler 59 | # fonts: 60 | # - asset: fonts/Schyler-Regular.ttf 61 | # - asset: fonts/Schyler-Italic.ttf 62 | # style: italic 63 | # - family: Trajan Pro 64 | # fonts: 65 | # - asset: fonts/TrajanPro.ttf 66 | # - asset: fonts/TrajanPro_Bold.ttf 67 | # weight: 700 68 | # 69 | # For details regarding fonts from package dependencies, 70 | # see https://flutter.dev/custom-fonts/#from-packages 71 | -------------------------------------------------------------------------------- /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.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 | -------------------------------------------------------------------------------- /pubspec.lock: -------------------------------------------------------------------------------- 1 | # Generated by pub 2 | # See https://dart.dev/tools/pub/glossary#lockfile 3 | packages: 4 | async: 5 | dependency: transitive 6 | description: 7 | name: async 8 | url: "https://pub.dartlang.org" 9 | source: hosted 10 | version: "2.5.0" 11 | boolean_selector: 12 | dependency: transitive 13 | description: 14 | name: boolean_selector 15 | url: "https://pub.dartlang.org" 16 | source: hosted 17 | version: "2.1.0" 18 | characters: 19 | dependency: transitive 20 | description: 21 | name: characters 22 | url: "https://pub.dartlang.org" 23 | source: hosted 24 | version: "1.1.0" 25 | charcode: 26 | dependency: transitive 27 | description: 28 | name: charcode 29 | url: "https://pub.dartlang.org" 30 | source: hosted 31 | version: "1.2.0" 32 | clock: 33 | dependency: transitive 34 | description: 35 | name: clock 36 | url: "https://pub.dartlang.org" 37 | source: hosted 38 | version: "1.1.0" 39 | collection: 40 | dependency: transitive 41 | description: 42 | name: collection 43 | url: "https://pub.dartlang.org" 44 | source: hosted 45 | version: "1.15.0" 46 | cupertino_icons: 47 | dependency: "direct main" 48 | description: 49 | name: cupertino_icons 50 | url: "https://pub.dartlang.org" 51 | source: hosted 52 | version: "1.0.2" 53 | fake_async: 54 | dependency: transitive 55 | description: 56 | name: fake_async 57 | url: "https://pub.dartlang.org" 58 | source: hosted 59 | version: "1.2.0" 60 | flutter: 61 | dependency: "direct main" 62 | description: flutter 63 | source: sdk 64 | version: "0.0.0" 65 | flutter_test: 66 | dependency: "direct dev" 67 | description: flutter 68 | source: sdk 69 | version: "0.0.0" 70 | matcher: 71 | dependency: transitive 72 | description: 73 | name: matcher 74 | url: "https://pub.dartlang.org" 75 | source: hosted 76 | version: "0.12.10" 77 | meta: 78 | dependency: transitive 79 | description: 80 | name: meta 81 | url: "https://pub.dartlang.org" 82 | source: hosted 83 | version: "1.3.0" 84 | page_transition: 85 | dependency: "direct main" 86 | description: 87 | name: page_transition 88 | url: "https://pub.dartlang.org" 89 | source: hosted 90 | version: "1.1.7+6" 91 | path: 92 | dependency: transitive 93 | description: 94 | name: path 95 | url: "https://pub.dartlang.org" 96 | source: hosted 97 | version: "1.8.0" 98 | pedantic: 99 | dependency: transitive 100 | description: 101 | name: pedantic 102 | url: "https://pub.dartlang.org" 103 | source: hosted 104 | version: "1.11.0" 105 | simple_animations: 106 | dependency: "direct main" 107 | description: 108 | name: simple_animations 109 | url: "https://pub.dartlang.org" 110 | source: hosted 111 | version: "3.0.3" 112 | sky_engine: 113 | dependency: transitive 114 | description: flutter 115 | source: sdk 116 | version: "0.0.99" 117 | source_span: 118 | dependency: transitive 119 | description: 120 | name: source_span 121 | url: "https://pub.dartlang.org" 122 | source: hosted 123 | version: "1.8.0" 124 | stack_trace: 125 | dependency: transitive 126 | description: 127 | name: stack_trace 128 | url: "https://pub.dartlang.org" 129 | source: hosted 130 | version: "1.10.0" 131 | stream_channel: 132 | dependency: transitive 133 | description: 134 | name: stream_channel 135 | url: "https://pub.dartlang.org" 136 | source: hosted 137 | version: "2.1.0" 138 | string_scanner: 139 | dependency: transitive 140 | description: 141 | name: string_scanner 142 | url: "https://pub.dartlang.org" 143 | source: hosted 144 | version: "1.1.0" 145 | supercharged: 146 | dependency: transitive 147 | description: 148 | name: supercharged 149 | url: "https://pub.dartlang.org" 150 | source: hosted 151 | version: "2.0.0" 152 | supercharged_dart: 153 | dependency: transitive 154 | description: 155 | name: supercharged_dart 156 | url: "https://pub.dartlang.org" 157 | source: hosted 158 | version: "2.0.0" 159 | term_glyph: 160 | dependency: transitive 161 | description: 162 | name: term_glyph 163 | url: "https://pub.dartlang.org" 164 | source: hosted 165 | version: "1.2.0" 166 | test_api: 167 | dependency: transitive 168 | description: 169 | name: test_api 170 | url: "https://pub.dartlang.org" 171 | source: hosted 172 | version: "0.2.19" 173 | typed_data: 174 | dependency: transitive 175 | description: 176 | name: typed_data 177 | url: "https://pub.dartlang.org" 178 | source: hosted 179 | version: "1.3.0" 180 | vector_math: 181 | dependency: transitive 182 | description: 183 | name: vector_math 184 | url: "https://pub.dartlang.org" 185 | source: hosted 186 | version: "2.1.0" 187 | sdks: 188 | dart: ">=2.12.0 <3.0.0" 189 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:animation_test1/animations/fadeAnimations.dart'; 2 | import 'package:animation_test1/details_page.dart'; 3 | import 'package:flutter/material.dart'; 4 | 5 | void main() { 6 | runApp(MyApp()); 7 | } 8 | 9 | class MyApp extends StatelessWidget { 10 | // This widget is the root of your application. 11 | @override 12 | Widget build(BuildContext context) { 13 | return MaterialApp( 14 | debugShowCheckedModeBanner: false, 15 | title: 'Flutter Demo', 16 | theme: ThemeData( 17 | primarySwatch: Colors.blue, 18 | ), 19 | home: MyHomePage(), 20 | ); 21 | } 22 | } 23 | 24 | class MyHomePage extends StatelessWidget { 25 | List> dataList = [ 26 | { 27 | "imageLink": "assets/images/one.jpg", 28 | "tag": "one", 29 | "name": "Jordan Sneakers" 30 | }, 31 | { 32 | "imageLink": "assets/images/two.jpg", 33 | "tag": "two", 34 | "name": "Black Sneakers" 35 | }, 36 | { 37 | "imageLink": "assets/images/three.jpg", 38 | "tag": "three", 39 | "name": "Victoria's Hill" 40 | }, 41 | { 42 | "imageLink": "assets/images/four.jpg", 43 | "tag": "four", 44 | "name": "Jordan Sneakers" 45 | }, 46 | { 47 | "imageLink": "assets/images/five.jpg", 48 | "tag": "five", 49 | "name": "Air Jordan" 50 | }, 51 | { 52 | "imageLink": "assets/images/six.jpg", 53 | "tag": "six", 54 | "name": "Nike Sneakers" 55 | }, 56 | { 57 | "imageLink": "assets/images/seven.jpg", 58 | "tag": "seven", 59 | "name": "Nike Sneakers White" 60 | }, 61 | {"imageLink": "assets/images/eight.jpg", "tag": "eight", "name": "LV Toms"}, 62 | ]; 63 | @override 64 | Widget build(BuildContext context) { 65 | return Scaffold( 66 | appBar: AppBar( 67 | backgroundColor: Colors.transparent, 68 | leading: null, 69 | elevation: 0, 70 | actions: [ 71 | IconButton( 72 | icon: Icon( 73 | Icons.notifications_none, 74 | color: Colors.black, 75 | ), 76 | onPressed: () {}), 77 | IconButton( 78 | icon: Icon( 79 | Icons.shopping_cart, 80 | color: Colors.black, 81 | ), 82 | onPressed: () {}), 83 | ], 84 | title: Text( 85 | "Shoes", 86 | style: TextStyle(color: Colors.black, fontSize: 25), 87 | ), 88 | ), 89 | body: Container( 90 | child: Column( 91 | children: [ 92 | Container( 93 | height: 40, 94 | padding: EdgeInsets.symmetric(horizontal: 20), 95 | child: ListView( 96 | scrollDirection: Axis.horizontal, 97 | children: [ 98 | AspectRatio( 99 | aspectRatio: 2.2 / 1, 100 | child: Container( 101 | margin: EdgeInsets.only(right: 10), 102 | decoration: BoxDecoration( 103 | color: Colors.grey[200], 104 | borderRadius: BorderRadius.circular(20)), 105 | child: Center( 106 | child: Text( 107 | "All", 108 | style: TextStyle(fontSize: 20), 109 | ), 110 | ), 111 | ), 112 | ), 113 | AspectRatio( 114 | aspectRatio: 2.2 / 1, 115 | child: Container( 116 | margin: EdgeInsets.only(right: 10), 117 | decoration: BoxDecoration( 118 | //color: Colors.grey[200], 119 | borderRadius: BorderRadius.circular(20)), 120 | child: Center( 121 | child: Text( 122 | "Sneakers", 123 | style: TextStyle(fontSize: 16), 124 | ), 125 | ), 126 | ), 127 | ), 128 | AspectRatio( 129 | aspectRatio: 2.2 / 1, 130 | child: Container( 131 | margin: EdgeInsets.only(right: 10), 132 | decoration: BoxDecoration( 133 | //color: Colors.grey[200], 134 | borderRadius: BorderRadius.circular(20)), 135 | child: Center( 136 | child: Text( 137 | "Football", 138 | style: TextStyle(fontSize: 16), 139 | ), 140 | ), 141 | ), 142 | ), 143 | AspectRatio( 144 | aspectRatio: 2.2 / 1, 145 | child: Container( 146 | margin: EdgeInsets.only(right: 10), 147 | decoration: BoxDecoration( 148 | //color: Colors.grey[200], 149 | borderRadius: BorderRadius.circular(20)), 150 | child: Center( 151 | child: Text( 152 | "Soccer", 153 | style: TextStyle(fontSize: 16), 154 | ), 155 | ), 156 | ), 157 | ), 158 | AspectRatio( 159 | aspectRatio: 2.2 / 1, 160 | child: Container( 161 | margin: EdgeInsets.only(right: 10), 162 | decoration: BoxDecoration( 163 | //color: Colors.grey[200], 164 | borderRadius: BorderRadius.circular(20)), 165 | child: Center( 166 | child: Text( 167 | "Golf", 168 | style: TextStyle(fontSize: 16), 169 | ), 170 | ), 171 | ), 172 | ) 173 | ], 174 | ), 175 | ), 176 | SizedBox( 177 | height: 20, 178 | ), 179 | Expanded( 180 | child: ListView.builder( 181 | padding: EdgeInsets.symmetric(horizontal: 10), 182 | itemCount: dataList.length, 183 | itemBuilder: (context, index) { 184 | return buidItem( 185 | image: dataList[index]['imageLink'], 186 | tag: dataList[index]['tag'], 187 | name: dataList[index]['name'], 188 | context: context); 189 | }), 190 | ), 191 | ], 192 | ), 193 | ), 194 | // This trailing comma makes auto-formatting nicer for build methods. 195 | ); 196 | } 197 | 198 | Widget buidItem( 199 | {String image = "assets/images/one.jpg", 200 | @required String tag, 201 | @required String name, 202 | @required BuildContext context}) { 203 | return Material( 204 | child: Hero( 205 | tag: tag, 206 | child: GestureDetector( 207 | onTap: () { 208 | Navigator.push( 209 | context, 210 | MaterialPageRoute( 211 | builder: (context) => DetailsPage( 212 | image: image, 213 | tag: tag, 214 | name: name, 215 | ))); 216 | }, 217 | child: Container( 218 | height: 250, 219 | margin: EdgeInsets.only(bottom: 20), 220 | width: double.infinity, 221 | decoration: BoxDecoration( 222 | borderRadius: BorderRadius.circular(20), 223 | image: DecorationImage( 224 | fit: BoxFit.cover, image: AssetImage(image)), 225 | boxShadow: [ 226 | BoxShadow( 227 | offset: Offset(0, 10), 228 | blurRadius: 10, 229 | color: Colors.grey.shade400, 230 | ) 231 | ], 232 | ), 233 | child: Container( 234 | padding: EdgeInsets.all(20), 235 | decoration: BoxDecoration( 236 | borderRadius: BorderRadius.circular(20), 237 | gradient: LinearGradient( 238 | begin: Alignment.bottomRight, 239 | colors: [ 240 | Colors.black.withOpacity(.6), 241 | Colors.black.withOpacity(.0) 242 | ])), 243 | child: Column( 244 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 245 | crossAxisAlignment: CrossAxisAlignment.start, 246 | children: [ 247 | Row( 248 | crossAxisAlignment: CrossAxisAlignment.start, 249 | children: [ 250 | Expanded( 251 | child: Column( 252 | crossAxisAlignment: CrossAxisAlignment.start, 253 | children: [ 254 | FadeAnimation( 255 | delay: .5, 256 | child: Text( 257 | name, 258 | style: TextStyle( 259 | color: Colors.white, 260 | fontWeight: FontWeight.bold, 261 | fontSize: 25), 262 | ), 263 | ), 264 | SizedBox( 265 | height: 10, 266 | ), 267 | FadeAnimation( 268 | delay: .8, 269 | child: Text( 270 | "Nike", 271 | style: TextStyle( 272 | color: Colors.white, fontSize: 18), 273 | ), 274 | ), 275 | ], 276 | )), 277 | Container( 278 | width: 35, 279 | height: 35, 280 | decoration: BoxDecoration( 281 | color: Colors.white, 282 | shape: BoxShape.circle, 283 | ), 284 | child: Center( 285 | child: Icon( 286 | Icons.favorite_border, 287 | size: 20, 288 | ), 289 | ), 290 | ) 291 | ], 292 | ), 293 | FadeAnimation( 294 | delay: 1, 295 | child: Text( 296 | "\$100", 297 | style: TextStyle( 298 | color: Colors.white, 299 | fontWeight: FontWeight.bold, 300 | fontSize: 30), 301 | ), 302 | ), 303 | ], 304 | ), 305 | ), 306 | ), 307 | )), 308 | ); 309 | } 310 | } 311 | -------------------------------------------------------------------------------- /lib/cart.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import 'animations/slideAnimation.dart'; 4 | 5 | class Cart extends StatefulWidget { 6 | final String image; 7 | final String name; 8 | final String price; 9 | final String tag; 10 | 11 | const Cart({Key key, this.image, this.name, this.price, this.tag}) 12 | : super(key: key); 13 | @override 14 | _CartState createState() => _CartState(); 15 | } 16 | 17 | class _CartState extends State { 18 | int itemCount = 0; 19 | @override 20 | Widget build(BuildContext context) { 21 | return Scaffold( 22 | appBar: AppBar( 23 | elevation: 0, 24 | backgroundColor: Colors.white, 25 | centerTitle: true, 26 | leading: GestureDetector( 27 | onTap: () { 28 | Navigator.pop(context); 29 | }, 30 | child: Icon( 31 | Icons.arrow_back_ios, 32 | color: Colors.black, 33 | size: 20, 34 | ), 35 | ), 36 | title: Text( 37 | "Order Summary", 38 | style: TextStyle(fontSize: 18, color: Colors.black), 39 | ), 40 | ), 41 | body: Container( 42 | color: Colors.white, 43 | child: Column( 44 | crossAxisAlignment: CrossAxisAlignment.start, 45 | children: [ 46 | SizedBox( 47 | height: 30, 48 | ), 49 | Padding( 50 | padding: const EdgeInsets.symmetric(horizontal: 20.0), 51 | child: Row( 52 | crossAxisAlignment: CrossAxisAlignment.start, 53 | children: [ 54 | Hero( 55 | tag: widget.tag, 56 | child: Container( 57 | height: 150, 58 | width: 150, 59 | decoration: BoxDecoration( 60 | borderRadius: BorderRadius.circular(20), 61 | image: DecorationImage( 62 | image: AssetImage( 63 | widget.image, 64 | ), 65 | fit: BoxFit.cover), 66 | color: Colors.grey.shade300), 67 | ), 68 | ), 69 | SizedBox( 70 | width: 20, 71 | ), 72 | Padding( 73 | padding: const EdgeInsets.symmetric(vertical: 15.0), 74 | child: Column( 75 | crossAxisAlignment: CrossAxisAlignment.start, 76 | mainAxisAlignment: MainAxisAlignment.start, 77 | children: [ 78 | SlideAnimations( 79 | delay: .5, 80 | child: Text( 81 | widget.name, 82 | style: TextStyle( 83 | fontSize: 20, fontWeight: FontWeight.bold), 84 | ), 85 | ), 86 | SizedBox( 87 | height: 10, 88 | ), 89 | SlideAnimations( 90 | delay: .6, 91 | child: Text( 92 | "Nike", 93 | style: TextStyle( 94 | color: Colors.grey.shade600, 95 | fontSize: 16, 96 | ), 97 | ), 98 | ), 99 | SizedBox( 100 | height: 10, 101 | ), 102 | SlideAnimations( 103 | delay: .7, 104 | child: Text( 105 | "Size: 44", 106 | style: TextStyle( 107 | color: Colors.grey.shade600, 108 | fontSize: 16, 109 | ), 110 | ), 111 | ), 112 | SizedBox( 113 | height: 20, 114 | ), 115 | SlideAnimations( 116 | delay: .8, 117 | child: Row( 118 | children: [ 119 | ClipRRect( 120 | borderRadius: BorderRadius.circular(15), 121 | child: Material( 122 | color: Colors.transparent, 123 | child: Container( 124 | height: 30, 125 | width: 30, 126 | decoration: BoxDecoration( 127 | shape: BoxShape.circle, 128 | border: Border.all( 129 | color: Colors.grey.shade400)), 130 | child: InkWell( 131 | splashColor: Colors.blue, 132 | onTap: () { 133 | if (itemCount == 0) return; 134 | setState(() { 135 | itemCount--; 136 | }); 137 | }, 138 | child: Icon( 139 | Icons.remove, 140 | size: 16, 141 | color: Colors.grey.shade600, 142 | ), 143 | ), 144 | ), 145 | ), 146 | ), 147 | SizedBox( 148 | width: 12, 149 | ), 150 | Text( 151 | itemCount.toString(), 152 | style: TextStyle( 153 | color: Colors.grey, fontSize: 18), 154 | ), 155 | SizedBox( 156 | width: 12, 157 | ), 158 | ClipRRect( 159 | borderRadius: BorderRadius.circular(15), 160 | child: Material( 161 | color: Colors.transparent, 162 | child: Container( 163 | height: 30, 164 | width: 30, 165 | decoration: BoxDecoration( 166 | shape: BoxShape.circle, 167 | border: Border.all( 168 | color: Colors.grey.shade400)), 169 | child: InkWell( 170 | splashColor: Colors.blue, 171 | onTap: () { 172 | itemCount++; 173 | setState(() { 174 | itemCount++; 175 | }); 176 | }, 177 | child: Icon( 178 | Icons.add, 179 | size: 16, 180 | color: Colors.grey.shade600, 181 | ), 182 | ), 183 | ), 184 | ), 185 | ), 186 | ], 187 | ), 188 | ) 189 | ], 190 | ), 191 | ) 192 | ], 193 | )), 194 | SizedBox( 195 | height: 20, 196 | ), 197 | SlideAnimations( 198 | delay: .7, 199 | child: Padding( 200 | padding: const EdgeInsets.symmetric(horizontal: 20.0), 201 | child: Text( 202 | "Delivery Location", 203 | style: TextStyle(fontSize: 19, fontWeight: FontWeight.bold), 204 | ), 205 | ), 206 | ), 207 | Container( 208 | padding: EdgeInsets.symmetric(horizontal: 20, vertical: 15), 209 | child: Row( 210 | crossAxisAlignment: CrossAxisAlignment.center, 211 | children: [ 212 | SlideAnimations( 213 | delay: .8, 214 | child: Container( 215 | height: 50, 216 | width: 50, 217 | decoration: BoxDecoration( 218 | borderRadius: BorderRadius.circular(10), 219 | color: Colors.grey.shade200), 220 | child: Icon( 221 | Icons.pin_drop_rounded, 222 | color: Colors.blue, 223 | ), 224 | ), 225 | ), 226 | SizedBox(width: 20), 227 | Expanded( 228 | child: Column( 229 | crossAxisAlignment: CrossAxisAlignment.start, 230 | children: [ 231 | SizedBox( 232 | height: 5, 233 | ), 234 | SlideAnimations( 235 | delay: .9, 236 | child: Text( 237 | "No 49, Alhaji Basheer St. Magodo", 238 | style: TextStyle(fontSize: 16), 239 | ), 240 | ), 241 | SizedBox( 242 | height: 5, 243 | ), 244 | SlideAnimations( 245 | delay: 1, 246 | child: Text( 247 | "103101, Lagos", 248 | style: TextStyle( 249 | fontSize: 14, color: Colors.grey.shade500), 250 | ), 251 | ), 252 | ], 253 | ), 254 | ), 255 | SlideAnimations( 256 | delay: 1.1, 257 | child: Icon( 258 | Icons.arrow_forward_ios, 259 | size: 18, 260 | color: Colors.grey.shade500, 261 | ), 262 | ) 263 | ], 264 | )), 265 | SizedBox( 266 | height: 20, 267 | ), 268 | SlideAnimations( 269 | delay: .8, 270 | child: Padding( 271 | padding: const EdgeInsets.symmetric(horizontal: 20.0), 272 | child: Text( 273 | "Payment Method", 274 | style: TextStyle(fontSize: 19, fontWeight: FontWeight.bold), 275 | ), 276 | ), 277 | ), 278 | Container( 279 | padding: EdgeInsets.symmetric(horizontal: 20, vertical: 15), 280 | child: Row( 281 | crossAxisAlignment: CrossAxisAlignment.center, 282 | children: [ 283 | SlideAnimations( 284 | delay: .9, 285 | child: Container( 286 | height: 50, 287 | width: 50, 288 | decoration: BoxDecoration( 289 | borderRadius: BorderRadius.circular(10), 290 | color: Colors.grey.shade200), 291 | child: Icon( 292 | Icons.card_membership, 293 | color: Colors.blue, 294 | ), 295 | ), 296 | ), 297 | SizedBox(width: 20), 298 | Expanded( 299 | child: Column( 300 | crossAxisAlignment: CrossAxisAlignment.start, 301 | children: [ 302 | SizedBox( 303 | height: 5, 304 | ), 305 | SlideAnimations( 306 | delay: 1, 307 | child: Text( 308 | "Debit Mastercard", 309 | style: TextStyle(fontSize: 16), 310 | ), 311 | ), 312 | SizedBox( 313 | height: 5, 314 | ), 315 | SlideAnimations( 316 | delay: 1.1, 317 | child: Text( 318 | "****5455", 319 | style: TextStyle( 320 | fontSize: 14, color: Colors.grey.shade500), 321 | ), 322 | ), 323 | ], 324 | ), 325 | ), 326 | SlideAnimations( 327 | delay: 1.2, 328 | child: Icon( 329 | Icons.arrow_forward_ios, 330 | size: 18, 331 | color: Colors.grey.shade500, 332 | ), 333 | ) 334 | ], 335 | )), 336 | SizedBox( 337 | height: 20, 338 | ), 339 | SlideAnimations( 340 | delay: .9, 341 | child: Padding( 342 | padding: const EdgeInsets.symmetric(horizontal: 20.0), 343 | child: Text( 344 | "Order Details", 345 | style: TextStyle(fontSize: 19, fontWeight: FontWeight.bold), 346 | ), 347 | ), 348 | ), 349 | SlideAnimations( 350 | delay: 1, 351 | child: Padding( 352 | padding: const EdgeInsets.symmetric(horizontal: 20.0), 353 | child: Column( 354 | children: [ 355 | SizedBox( 356 | height: 25, 357 | ), 358 | Row( 359 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 360 | children: [ 361 | Text( 362 | "Subtotal", 363 | style: TextStyle( 364 | fontSize: 16, color: Colors.grey.shade600), 365 | ), 366 | Text( 367 | "\$100", 368 | style: TextStyle(fontSize: 16, color: Colors.black), 369 | ), 370 | ], 371 | ), 372 | SizedBox( 373 | height: 18, 374 | ), 375 | Row( 376 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 377 | children: [ 378 | Text( 379 | "Tax", 380 | style: TextStyle( 381 | fontSize: 16, color: Colors.grey.shade600), 382 | ), 383 | Text( 384 | "\$20", 385 | style: TextStyle(fontSize: 16, color: Colors.black), 386 | ), 387 | ], 388 | ), 389 | SizedBox( 390 | height: 18, 391 | ), 392 | Row( 393 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 394 | children: [ 395 | Text( 396 | "Shippind fee", 397 | style: TextStyle( 398 | fontSize: 16, color: Colors.grey.shade600), 399 | ), 400 | Text( 401 | "\$30", 402 | style: TextStyle(fontSize: 16, color: Colors.black), 403 | ), 404 | ], 405 | ), 406 | SizedBox( 407 | height: 18, 408 | ), 409 | Row( 410 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 411 | children: [ 412 | Text( 413 | "Total", 414 | style: TextStyle( 415 | fontSize: 16, color: Colors.grey.shade600), 416 | ), 417 | Text( 418 | "\$200", 419 | style: TextStyle( 420 | fontSize: 20, 421 | fontWeight: FontWeight.bold, 422 | color: Colors.black), 423 | ), 424 | ], 425 | ), 426 | ], 427 | ), 428 | ), 429 | ), 430 | Expanded(child: Container()), 431 | SlideAnimations( 432 | delay: 1, 433 | child: Container( 434 | margin: EdgeInsets.symmetric(horizontal: 20), 435 | height: 50, 436 | decoration: BoxDecoration( 437 | gradient: 438 | LinearGradient(colors: [Colors.blue, Colors.green]), 439 | borderRadius: BorderRadius.circular(20), 440 | color: Colors.blue), 441 | child: Center( 442 | child: ClipRRect( 443 | borderRadius: BorderRadius.circular(20), 444 | child: MaterialButton( 445 | height: 50, 446 | minWidth: double.infinity, 447 | onPressed: () { 448 | // Navigator.push( 449 | // context, 450 | // MaterialPageRoute( 451 | // builder: (context) => 452 | // Cart( 453 | // name: widget.name, 454 | // image: widget.image, 455 | // tag: widget.tag, 456 | // ))); 457 | }, 458 | child: Text( 459 | "Order", 460 | style: TextStyle( 461 | fontWeight: FontWeight.bold, color: Colors.white), 462 | ), 463 | ), 464 | ), 465 | ), 466 | ), 467 | ), 468 | SizedBox( 469 | height: 30, 470 | ) 471 | ], 472 | ), 473 | ), 474 | ); 475 | } 476 | } 477 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 50; 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 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 13 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 14 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 15 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 16 | /* End PBXBuildFile section */ 17 | 18 | /* Begin PBXCopyFilesBuildPhase section */ 19 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 20 | isa = PBXCopyFilesBuildPhase; 21 | buildActionMask = 2147483647; 22 | dstPath = ""; 23 | dstSubfolderSpec = 10; 24 | files = ( 25 | ); 26 | name = "Embed Frameworks"; 27 | runOnlyForDeploymentPostprocessing = 0; 28 | }; 29 | /* End PBXCopyFilesBuildPhase section */ 30 | 31 | /* Begin PBXFileReference section */ 32 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 33 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 34 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 35 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 36 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 37 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 38 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 39 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 40 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 41 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 42 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 43 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 44 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 45 | /* End PBXFileReference section */ 46 | 47 | /* Begin PBXFrameworksBuildPhase section */ 48 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 49 | isa = PBXFrameworksBuildPhase; 50 | buildActionMask = 2147483647; 51 | files = ( 52 | ); 53 | runOnlyForDeploymentPostprocessing = 0; 54 | }; 55 | /* End PBXFrameworksBuildPhase section */ 56 | 57 | /* Begin PBXGroup section */ 58 | 9740EEB11CF90186004384FC /* Flutter */ = { 59 | isa = PBXGroup; 60 | children = ( 61 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 62 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 63 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 64 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 65 | ); 66 | name = Flutter; 67 | sourceTree = ""; 68 | }; 69 | 97C146E51CF9000F007C117D = { 70 | isa = PBXGroup; 71 | children = ( 72 | 9740EEB11CF90186004384FC /* Flutter */, 73 | 97C146F01CF9000F007C117D /* Runner */, 74 | 97C146EF1CF9000F007C117D /* Products */, 75 | ); 76 | sourceTree = ""; 77 | }; 78 | 97C146EF1CF9000F007C117D /* Products */ = { 79 | isa = PBXGroup; 80 | children = ( 81 | 97C146EE1CF9000F007C117D /* Runner.app */, 82 | ); 83 | name = Products; 84 | sourceTree = ""; 85 | }; 86 | 97C146F01CF9000F007C117D /* Runner */ = { 87 | isa = PBXGroup; 88 | children = ( 89 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 90 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 91 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 92 | 97C147021CF9000F007C117D /* Info.plist */, 93 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 94 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 95 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 96 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, 97 | ); 98 | path = Runner; 99 | sourceTree = ""; 100 | }; 101 | /* End PBXGroup section */ 102 | 103 | /* Begin PBXNativeTarget section */ 104 | 97C146ED1CF9000F007C117D /* Runner */ = { 105 | isa = PBXNativeTarget; 106 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 107 | buildPhases = ( 108 | 9740EEB61CF901F6004384FC /* Run Script */, 109 | 97C146EA1CF9000F007C117D /* Sources */, 110 | 97C146EB1CF9000F007C117D /* Frameworks */, 111 | 97C146EC1CF9000F007C117D /* Resources */, 112 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 113 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 114 | ); 115 | buildRules = ( 116 | ); 117 | dependencies = ( 118 | ); 119 | name = Runner; 120 | productName = Runner; 121 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 122 | productType = "com.apple.product-type.application"; 123 | }; 124 | /* End PBXNativeTarget section */ 125 | 126 | /* Begin PBXProject section */ 127 | 97C146E61CF9000F007C117D /* Project object */ = { 128 | isa = PBXProject; 129 | attributes = { 130 | LastUpgradeCheck = 1020; 131 | ORGANIZATIONNAME = ""; 132 | TargetAttributes = { 133 | 97C146ED1CF9000F007C117D = { 134 | CreatedOnToolsVersion = 7.3.1; 135 | LastSwiftMigration = 1100; 136 | }; 137 | }; 138 | }; 139 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 140 | compatibilityVersion = "Xcode 9.3"; 141 | developmentRegion = en; 142 | hasScannedForEncodings = 0; 143 | knownRegions = ( 144 | en, 145 | Base, 146 | ); 147 | mainGroup = 97C146E51CF9000F007C117D; 148 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 149 | projectDirPath = ""; 150 | projectRoot = ""; 151 | targets = ( 152 | 97C146ED1CF9000F007C117D /* Runner */, 153 | ); 154 | }; 155 | /* End PBXProject section */ 156 | 157 | /* Begin PBXResourcesBuildPhase section */ 158 | 97C146EC1CF9000F007C117D /* Resources */ = { 159 | isa = PBXResourcesBuildPhase; 160 | buildActionMask = 2147483647; 161 | files = ( 162 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 163 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 164 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 165 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 166 | ); 167 | runOnlyForDeploymentPostprocessing = 0; 168 | }; 169 | /* End PBXResourcesBuildPhase section */ 170 | 171 | /* Begin PBXShellScriptBuildPhase section */ 172 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 173 | isa = PBXShellScriptBuildPhase; 174 | buildActionMask = 2147483647; 175 | files = ( 176 | ); 177 | inputPaths = ( 178 | ); 179 | name = "Thin Binary"; 180 | outputPaths = ( 181 | ); 182 | runOnlyForDeploymentPostprocessing = 0; 183 | shellPath = /bin/sh; 184 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; 185 | }; 186 | 9740EEB61CF901F6004384FC /* Run Script */ = { 187 | isa = PBXShellScriptBuildPhase; 188 | buildActionMask = 2147483647; 189 | files = ( 190 | ); 191 | inputPaths = ( 192 | ); 193 | name = "Run Script"; 194 | outputPaths = ( 195 | ); 196 | runOnlyForDeploymentPostprocessing = 0; 197 | shellPath = /bin/sh; 198 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 199 | }; 200 | /* End PBXShellScriptBuildPhase section */ 201 | 202 | /* Begin PBXSourcesBuildPhase section */ 203 | 97C146EA1CF9000F007C117D /* Sources */ = { 204 | isa = PBXSourcesBuildPhase; 205 | buildActionMask = 2147483647; 206 | files = ( 207 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 208 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 209 | ); 210 | runOnlyForDeploymentPostprocessing = 0; 211 | }; 212 | /* End PBXSourcesBuildPhase section */ 213 | 214 | /* Begin PBXVariantGroup section */ 215 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 216 | isa = PBXVariantGroup; 217 | children = ( 218 | 97C146FB1CF9000F007C117D /* Base */, 219 | ); 220 | name = Main.storyboard; 221 | sourceTree = ""; 222 | }; 223 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 224 | isa = PBXVariantGroup; 225 | children = ( 226 | 97C147001CF9000F007C117D /* Base */, 227 | ); 228 | name = LaunchScreen.storyboard; 229 | sourceTree = ""; 230 | }; 231 | /* End PBXVariantGroup section */ 232 | 233 | /* Begin XCBuildConfiguration section */ 234 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 235 | isa = XCBuildConfiguration; 236 | buildSettings = { 237 | ALWAYS_SEARCH_USER_PATHS = NO; 238 | CLANG_ANALYZER_NONNULL = YES; 239 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 240 | CLANG_CXX_LIBRARY = "libc++"; 241 | CLANG_ENABLE_MODULES = YES; 242 | CLANG_ENABLE_OBJC_ARC = YES; 243 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 244 | CLANG_WARN_BOOL_CONVERSION = YES; 245 | CLANG_WARN_COMMA = YES; 246 | CLANG_WARN_CONSTANT_CONVERSION = YES; 247 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 248 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 249 | CLANG_WARN_EMPTY_BODY = YES; 250 | CLANG_WARN_ENUM_CONVERSION = YES; 251 | CLANG_WARN_INFINITE_RECURSION = YES; 252 | CLANG_WARN_INT_CONVERSION = YES; 253 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 254 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 255 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 256 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 257 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 258 | CLANG_WARN_STRICT_PROTOTYPES = YES; 259 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 260 | CLANG_WARN_UNREACHABLE_CODE = YES; 261 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 262 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 263 | COPY_PHASE_STRIP = NO; 264 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 265 | ENABLE_NS_ASSERTIONS = NO; 266 | ENABLE_STRICT_OBJC_MSGSEND = YES; 267 | GCC_C_LANGUAGE_STANDARD = gnu99; 268 | GCC_NO_COMMON_BLOCKS = YES; 269 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 270 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 271 | GCC_WARN_UNDECLARED_SELECTOR = YES; 272 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 273 | GCC_WARN_UNUSED_FUNCTION = YES; 274 | GCC_WARN_UNUSED_VARIABLE = YES; 275 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 276 | MTL_ENABLE_DEBUG_INFO = NO; 277 | SDKROOT = iphoneos; 278 | SUPPORTED_PLATFORMS = iphoneos; 279 | TARGETED_DEVICE_FAMILY = "1,2"; 280 | VALIDATE_PRODUCT = YES; 281 | }; 282 | name = Profile; 283 | }; 284 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 285 | isa = XCBuildConfiguration; 286 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 287 | buildSettings = { 288 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 289 | CLANG_ENABLE_MODULES = YES; 290 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 291 | DEVELOPMENT_TEAM = UX24PPD846; 292 | ENABLE_BITCODE = NO; 293 | INFOPLIST_FILE = Runner/Info.plist; 294 | LD_RUNPATH_SEARCH_PATHS = ( 295 | "$(inherited)", 296 | "@executable_path/Frameworks", 297 | ); 298 | PRODUCT_BUNDLE_IDENTIFIER = com.example.animationTest1; 299 | PRODUCT_NAME = "$(TARGET_NAME)"; 300 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 301 | SWIFT_VERSION = 5.0; 302 | VERSIONING_SYSTEM = "apple-generic"; 303 | }; 304 | name = Profile; 305 | }; 306 | 97C147031CF9000F007C117D /* Debug */ = { 307 | isa = XCBuildConfiguration; 308 | buildSettings = { 309 | ALWAYS_SEARCH_USER_PATHS = NO; 310 | CLANG_ANALYZER_NONNULL = YES; 311 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 312 | CLANG_CXX_LIBRARY = "libc++"; 313 | CLANG_ENABLE_MODULES = YES; 314 | CLANG_ENABLE_OBJC_ARC = YES; 315 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 316 | CLANG_WARN_BOOL_CONVERSION = YES; 317 | CLANG_WARN_COMMA = YES; 318 | CLANG_WARN_CONSTANT_CONVERSION = YES; 319 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 320 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 321 | CLANG_WARN_EMPTY_BODY = YES; 322 | CLANG_WARN_ENUM_CONVERSION = YES; 323 | CLANG_WARN_INFINITE_RECURSION = YES; 324 | CLANG_WARN_INT_CONVERSION = YES; 325 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 326 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 327 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 328 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 329 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 330 | CLANG_WARN_STRICT_PROTOTYPES = YES; 331 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 332 | CLANG_WARN_UNREACHABLE_CODE = YES; 333 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 334 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 335 | COPY_PHASE_STRIP = NO; 336 | DEBUG_INFORMATION_FORMAT = dwarf; 337 | ENABLE_STRICT_OBJC_MSGSEND = YES; 338 | ENABLE_TESTABILITY = YES; 339 | GCC_C_LANGUAGE_STANDARD = gnu99; 340 | GCC_DYNAMIC_NO_PIC = NO; 341 | GCC_NO_COMMON_BLOCKS = YES; 342 | GCC_OPTIMIZATION_LEVEL = 0; 343 | GCC_PREPROCESSOR_DEFINITIONS = ( 344 | "DEBUG=1", 345 | "$(inherited)", 346 | ); 347 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 348 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 349 | GCC_WARN_UNDECLARED_SELECTOR = YES; 350 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 351 | GCC_WARN_UNUSED_FUNCTION = YES; 352 | GCC_WARN_UNUSED_VARIABLE = YES; 353 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 354 | MTL_ENABLE_DEBUG_INFO = YES; 355 | ONLY_ACTIVE_ARCH = YES; 356 | SDKROOT = iphoneos; 357 | TARGETED_DEVICE_FAMILY = "1,2"; 358 | }; 359 | name = Debug; 360 | }; 361 | 97C147041CF9000F007C117D /* Release */ = { 362 | isa = XCBuildConfiguration; 363 | buildSettings = { 364 | ALWAYS_SEARCH_USER_PATHS = NO; 365 | CLANG_ANALYZER_NONNULL = YES; 366 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 367 | CLANG_CXX_LIBRARY = "libc++"; 368 | CLANG_ENABLE_MODULES = YES; 369 | CLANG_ENABLE_OBJC_ARC = YES; 370 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 371 | CLANG_WARN_BOOL_CONVERSION = YES; 372 | CLANG_WARN_COMMA = YES; 373 | CLANG_WARN_CONSTANT_CONVERSION = YES; 374 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 375 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 376 | CLANG_WARN_EMPTY_BODY = YES; 377 | CLANG_WARN_ENUM_CONVERSION = YES; 378 | CLANG_WARN_INFINITE_RECURSION = YES; 379 | CLANG_WARN_INT_CONVERSION = YES; 380 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 381 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 382 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 383 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 384 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 385 | CLANG_WARN_STRICT_PROTOTYPES = YES; 386 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 387 | CLANG_WARN_UNREACHABLE_CODE = YES; 388 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 389 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 390 | COPY_PHASE_STRIP = NO; 391 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 392 | ENABLE_NS_ASSERTIONS = NO; 393 | ENABLE_STRICT_OBJC_MSGSEND = YES; 394 | GCC_C_LANGUAGE_STANDARD = gnu99; 395 | GCC_NO_COMMON_BLOCKS = YES; 396 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 397 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 398 | GCC_WARN_UNDECLARED_SELECTOR = YES; 399 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 400 | GCC_WARN_UNUSED_FUNCTION = YES; 401 | GCC_WARN_UNUSED_VARIABLE = YES; 402 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 403 | MTL_ENABLE_DEBUG_INFO = NO; 404 | SDKROOT = iphoneos; 405 | SUPPORTED_PLATFORMS = iphoneos; 406 | SWIFT_COMPILATION_MODE = wholemodule; 407 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 408 | TARGETED_DEVICE_FAMILY = "1,2"; 409 | VALIDATE_PRODUCT = YES; 410 | }; 411 | name = Release; 412 | }; 413 | 97C147061CF9000F007C117D /* Debug */ = { 414 | isa = XCBuildConfiguration; 415 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 416 | buildSettings = { 417 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 418 | CLANG_ENABLE_MODULES = YES; 419 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 420 | DEVELOPMENT_TEAM = ""; 421 | ENABLE_BITCODE = NO; 422 | INFOPLIST_FILE = Runner/Info.plist; 423 | LD_RUNPATH_SEARCH_PATHS = ( 424 | "$(inherited)", 425 | "@executable_path/Frameworks", 426 | ); 427 | PRODUCT_BUNDLE_IDENTIFIER = com.example.animationTest1; 428 | PRODUCT_NAME = "$(TARGET_NAME)"; 429 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 430 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 431 | SWIFT_VERSION = 5.0; 432 | VERSIONING_SYSTEM = "apple-generic"; 433 | }; 434 | name = Debug; 435 | }; 436 | 97C147071CF9000F007C117D /* Release */ = { 437 | isa = XCBuildConfiguration; 438 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 439 | buildSettings = { 440 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 441 | CLANG_ENABLE_MODULES = YES; 442 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 443 | DEVELOPMENT_TEAM = UX24PPD846; 444 | ENABLE_BITCODE = NO; 445 | INFOPLIST_FILE = Runner/Info.plist; 446 | LD_RUNPATH_SEARCH_PATHS = ( 447 | "$(inherited)", 448 | "@executable_path/Frameworks", 449 | ); 450 | PRODUCT_BUNDLE_IDENTIFIER = com.example.animationTest1; 451 | PRODUCT_NAME = "$(TARGET_NAME)"; 452 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 453 | SWIFT_VERSION = 5.0; 454 | VERSIONING_SYSTEM = "apple-generic"; 455 | }; 456 | name = Release; 457 | }; 458 | /* End XCBuildConfiguration section */ 459 | 460 | /* Begin XCConfigurationList section */ 461 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 462 | isa = XCConfigurationList; 463 | buildConfigurations = ( 464 | 97C147031CF9000F007C117D /* Debug */, 465 | 97C147041CF9000F007C117D /* Release */, 466 | 249021D3217E4FDB00AE95B9 /* Profile */, 467 | ); 468 | defaultConfigurationIsVisible = 0; 469 | defaultConfigurationName = Release; 470 | }; 471 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 472 | isa = XCConfigurationList; 473 | buildConfigurations = ( 474 | 97C147061CF9000F007C117D /* Debug */, 475 | 97C147071CF9000F007C117D /* Release */, 476 | 249021D4217E4FDB00AE95B9 /* Profile */, 477 | ); 478 | defaultConfigurationIsVisible = 0; 479 | defaultConfigurationName = Release; 480 | }; 481 | /* End XCConfigurationList section */ 482 | }; 483 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 484 | } 485 | -------------------------------------------------------------------------------- /lib/details_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:animation_test1/animations/fadeAnimations.dart'; 2 | import 'package:animation_test1/cart.dart'; 3 | import 'package:flutter/material.dart'; 4 | 5 | class DetailsPage extends StatefulWidget { 6 | final String image; 7 | final String tag; 8 | final String name; 9 | 10 | const DetailsPage( 11 | {Key key, @required this.image, @required this.tag, this.name}) 12 | : super(key: key); 13 | 14 | @override 15 | _DetailsPageState createState() => _DetailsPageState(); 16 | } 17 | 18 | class _DetailsPageState extends State { 19 | int sizeIndex = 2; 20 | 21 | @override 22 | Widget build(BuildContext context) { 23 | return Material( 24 | child: Scaffold( 25 | body: SingleChildScrollView( 26 | child: Hero( 27 | tag: widget.tag, 28 | child: GestureDetector( 29 | onTap: () {}, 30 | child: Container( 31 | height: MediaQuery.of(context).size.height, 32 | width: double.infinity, 33 | decoration: BoxDecoration( 34 | image: DecorationImage( 35 | fit: BoxFit.cover, image: AssetImage(widget.image)), 36 | boxShadow: [ 37 | BoxShadow( 38 | offset: Offset(0, 10), 39 | blurRadius: 10, 40 | color: Colors.grey.shade400, 41 | ) 42 | ]), 43 | child: Stack( 44 | children: [ 45 | Padding( 46 | padding: 47 | EdgeInsets.symmetric(vertical: 50, horizontal: 20), 48 | child: Row( 49 | crossAxisAlignment: CrossAxisAlignment.start, 50 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 51 | children: [ 52 | GestureDetector( 53 | onTap: () { 54 | Navigator.pop(context); 55 | }, 56 | child: Icon( 57 | Icons.arrow_back_ios, 58 | color: Colors.white, 59 | size: 20, 60 | ), 61 | ), 62 | Container( 63 | width: 35, 64 | height: 35, 65 | decoration: BoxDecoration( 66 | color: Colors.white, 67 | shape: BoxShape.circle, 68 | ), 69 | child: Center( 70 | child: Icon( 71 | Icons.favorite_border, 72 | size: 20, 73 | ), 74 | ), 75 | ) 76 | ], 77 | ), 78 | ), 79 | Positioned( 80 | bottom: 0, 81 | left: 0, 82 | width: MediaQuery.of(context).size.width, 83 | height: 500, 84 | child: FadeAnimation( 85 | delay: .5, 86 | child: (Container( 87 | padding: EdgeInsets.all(20), 88 | decoration: BoxDecoration( 89 | gradient: LinearGradient( 90 | begin: Alignment.bottomRight, 91 | colors: [ 92 | Colors.black.withOpacity(.9), 93 | Colors.black.withOpacity(.7), 94 | Colors.black.withOpacity(.0) 95 | ])), 96 | child: Column( 97 | crossAxisAlignment: CrossAxisAlignment.start, 98 | mainAxisAlignment: MainAxisAlignment.end, 99 | children: [ 100 | FadeAnimation( 101 | delay: .8, 102 | child: Text( 103 | widget.name, 104 | style: TextStyle( 105 | color: Colors.white, 106 | fontWeight: FontWeight.bold, 107 | fontSize: 40), 108 | ), 109 | ), 110 | SizedBox( 111 | height: 20, 112 | ), 113 | FadeAnimation( 114 | delay: 1, 115 | child: Text( 116 | "Size", 117 | style: TextStyle( 118 | color: Colors.white, fontSize: 20), 119 | ), 120 | ), 121 | SizedBox( 122 | height: 10, 123 | ), 124 | Row( 125 | children: [ 126 | FadeAnimation( 127 | delay: 1.1, 128 | child: GestureDetector( 129 | onTap: () { 130 | setState(() { 131 | sizeIndex = 1; 132 | }); 133 | }, 134 | child: AnimatedContainer( 135 | duration: 136 | Duration(milliseconds: 500), 137 | curve: Curves.easeInOut, 138 | width: 40, 139 | height: 40, 140 | margin: 141 | EdgeInsets.only(right: 20), 142 | decoration: BoxDecoration( 143 | color: sizeIndex == 1 144 | ? Colors.white 145 | : Colors.transparent, 146 | borderRadius: 147 | BorderRadius.circular( 148 | 10)), 149 | child: Center( 150 | child: Text( 151 | "38", 152 | style: TextStyle( 153 | color: sizeIndex == 1 154 | ? Colors.black 155 | : Colors.white, 156 | fontWeight: 157 | FontWeight.bold), 158 | ), 159 | ), 160 | ), 161 | )), 162 | FadeAnimation( 163 | delay: 1.1, 164 | child: GestureDetector( 165 | onTap: () { 166 | setState(() { 167 | sizeIndex = 2; 168 | }); 169 | }, 170 | child: AnimatedContainer( 171 | duration: 172 | Duration(milliseconds: 500), 173 | curve: Curves.easeInOut, 174 | width: 40, 175 | height: 40, 176 | margin: 177 | EdgeInsets.only(right: 20), 178 | decoration: BoxDecoration( 179 | color: sizeIndex == 2 180 | ? Colors.white 181 | : Colors.transparent, 182 | borderRadius: 183 | BorderRadius.circular( 184 | 10)), 185 | child: Center( 186 | child: Text( 187 | "40", 188 | style: TextStyle( 189 | color: sizeIndex == 2 190 | ? Colors.black 191 | : Colors.white, 192 | fontWeight: 193 | FontWeight.bold), 194 | ), 195 | ), 196 | ), 197 | )), 198 | FadeAnimation( 199 | delay: 1.1, 200 | child: GestureDetector( 201 | onTap: () { 202 | setState(() { 203 | sizeIndex = 3; 204 | }); 205 | }, 206 | child: AnimatedContainer( 207 | duration: 208 | Duration(milliseconds: 500), 209 | curve: Curves.easeInOut, 210 | width: 40, 211 | height: 40, 212 | margin: 213 | EdgeInsets.only(right: 20), 214 | decoration: BoxDecoration( 215 | color: sizeIndex == 3 216 | ? Colors.white 217 | : Colors.transparent, 218 | borderRadius: 219 | BorderRadius.circular( 220 | 10)), 221 | child: Center( 222 | child: Text( 223 | "44", 224 | style: TextStyle( 225 | color: sizeIndex == 3 226 | ? Colors.black 227 | : Colors.white, 228 | fontWeight: 229 | FontWeight.bold), 230 | ), 231 | ), 232 | ), 233 | )), 234 | FadeAnimation( 235 | delay: 1.1, 236 | child: GestureDetector( 237 | onTap: () { 238 | setState(() { 239 | sizeIndex = 4; 240 | }); 241 | }, 242 | child: AnimatedContainer( 243 | duration: 244 | Duration(milliseconds: 350), 245 | curve: Curves.easeInOut, 246 | width: 40, 247 | height: 40, 248 | margin: 249 | EdgeInsets.only(right: 20), 250 | decoration: BoxDecoration( 251 | color: sizeIndex == 4 252 | ? Colors.white 253 | : Colors.transparent, 254 | borderRadius: 255 | BorderRadius.circular( 256 | 10)), 257 | child: Center( 258 | child: Text( 259 | "42", 260 | style: TextStyle( 261 | color: sizeIndex == 4 262 | ? Colors.black 263 | : Colors.white, 264 | fontWeight: 265 | FontWeight.bold), 266 | ), 267 | ), 268 | ), 269 | )), 270 | FadeAnimation( 271 | delay: 1.1, 272 | child: GestureDetector( 273 | onTap: () { 274 | setState(() { 275 | sizeIndex = 5; 276 | }); 277 | }, 278 | child: AnimatedContainer( 279 | duration: 280 | Duration(milliseconds: 350), 281 | curve: Curves.easeInOut, 282 | width: 40, 283 | height: 40, 284 | margin: 285 | EdgeInsets.only(right: 20), 286 | decoration: BoxDecoration( 287 | color: sizeIndex == 5 288 | ? Colors.white 289 | : Colors.transparent, 290 | borderRadius: 291 | BorderRadius.circular( 292 | 10)), 293 | child: Center( 294 | child: Text( 295 | "46", 296 | style: TextStyle( 297 | color: sizeIndex == 5 298 | ? Colors.black 299 | : Colors.white, 300 | fontWeight: 301 | FontWeight.bold), 302 | ), 303 | ), 304 | ), 305 | )), 306 | ], 307 | ), 308 | SizedBox( 309 | height: 60.0, 310 | ), 311 | FadeAnimation( 312 | delay: 1.2, 313 | child: Container( 314 | height: 50, 315 | decoration: BoxDecoration( 316 | borderRadius: 317 | BorderRadius.circular(10), 318 | color: Colors.white), 319 | child: Center( 320 | child: ClipRRect( 321 | borderRadius: 322 | BorderRadius.circular(10), 323 | child: MaterialButton( 324 | height: 50, 325 | minWidth: double.infinity, 326 | onPressed: () { 327 | Navigator.push( 328 | context, 329 | MaterialPageRoute( 330 | builder: (context) => 331 | Cart( 332 | name: widget.name, 333 | image: widget.image, 334 | tag: widget.tag, 335 | ))); 336 | }, 337 | child: Text( 338 | "Add to cart", 339 | style: TextStyle( 340 | fontWeight: FontWeight.bold), 341 | ), 342 | ), 343 | ), 344 | ), 345 | ), 346 | ), 347 | SizedBox( 348 | height: 30, 349 | ) 350 | ], 351 | ), 352 | )), 353 | )) 354 | 355 | // Text( 356 | // "\$100", 357 | // style: TextStyle( 358 | // color: Colors.white, 359 | // fontWeight: FontWeight.bold, 360 | // fontSize: 30), 361 | // ), 362 | ], 363 | ), 364 | ), 365 | )), 366 | ), 367 | ), 368 | ); 369 | } 370 | } 371 | --------------------------------------------------------------------------------