├── 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
│ │ │ │ ├── values
│ │ │ │ │ └── styles.xml
│ │ │ │ └── drawable
│ │ │ │ │ └── launch_background.xml
│ │ │ ├── kotlin
│ │ │ │ └── com
│ │ │ │ │ └── example
│ │ │ │ │ └── day16_shopping
│ │ │ │ │ └── MainActivity.kt
│ │ │ └── AndroidManifest.xml
│ │ ├── debug
│ │ │ └── AndroidManifest.xml
│ │ └── profile
│ │ │ └── AndroidManifest.xml
│ └── build.gradle
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
├── settings.gradle
└── build.gradle
├── 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
│ │ └── xcschemes
│ │ │ └── Runner.xcscheme
│ └── project.pbxproj
└── Runner.xcworkspace
│ └── contents.xcworkspacedata
├── assets
├── images
│ ├── glass.jpg
│ ├── tech.jpg
│ ├── watch.jpg
│ ├── beauty.jpg
│ ├── clothes.jpg
│ ├── perfume.jpg
│ ├── person.jpg
│ ├── splash.jpg
│ ├── tech-1.jpg
│ ├── background.jpg
│ ├── beauty-1.jpg
│ ├── clothes-1.jpg
│ └── splash-1.jpg
└── screenshot
│ ├── one.png
│ └── two.png
├── .metadata
├── README.md
├── test
└── widget_test.dart
├── .gitignore
├── pubspec.yaml
├── lib
├── main.dart
└── Pages
│ ├── CategoryPage.dart
│ └── ShopPage.dart
└── pubspec.lock
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 |
3 |
--------------------------------------------------------------------------------
/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"
--------------------------------------------------------------------------------
/assets/images/glass.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/afgprogrammer/Flutter-Complete-e-commerce/HEAD/assets/images/glass.jpg
--------------------------------------------------------------------------------
/assets/images/tech.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/afgprogrammer/Flutter-Complete-e-commerce/HEAD/assets/images/tech.jpg
--------------------------------------------------------------------------------
/assets/images/watch.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/afgprogrammer/Flutter-Complete-e-commerce/HEAD/assets/images/watch.jpg
--------------------------------------------------------------------------------
/assets/images/beauty.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/afgprogrammer/Flutter-Complete-e-commerce/HEAD/assets/images/beauty.jpg
--------------------------------------------------------------------------------
/assets/images/clothes.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/afgprogrammer/Flutter-Complete-e-commerce/HEAD/assets/images/clothes.jpg
--------------------------------------------------------------------------------
/assets/images/perfume.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/afgprogrammer/Flutter-Complete-e-commerce/HEAD/assets/images/perfume.jpg
--------------------------------------------------------------------------------
/assets/images/person.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/afgprogrammer/Flutter-Complete-e-commerce/HEAD/assets/images/person.jpg
--------------------------------------------------------------------------------
/assets/images/splash.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/afgprogrammer/Flutter-Complete-e-commerce/HEAD/assets/images/splash.jpg
--------------------------------------------------------------------------------
/assets/images/tech-1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/afgprogrammer/Flutter-Complete-e-commerce/HEAD/assets/images/tech-1.jpg
--------------------------------------------------------------------------------
/assets/screenshot/one.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/afgprogrammer/Flutter-Complete-e-commerce/HEAD/assets/screenshot/one.png
--------------------------------------------------------------------------------
/assets/screenshot/two.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/afgprogrammer/Flutter-Complete-e-commerce/HEAD/assets/screenshot/two.png
--------------------------------------------------------------------------------
/assets/images/background.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/afgprogrammer/Flutter-Complete-e-commerce/HEAD/assets/images/background.jpg
--------------------------------------------------------------------------------
/assets/images/beauty-1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/afgprogrammer/Flutter-Complete-e-commerce/HEAD/assets/images/beauty-1.jpg
--------------------------------------------------------------------------------
/assets/images/clothes-1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/afgprogrammer/Flutter-Complete-e-commerce/HEAD/assets/images/clothes-1.jpg
--------------------------------------------------------------------------------
/assets/images/splash-1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/afgprogrammer/Flutter-Complete-e-commerce/HEAD/assets/images/splash-1.jpg
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/afgprogrammer/Flutter-Complete-e-commerce/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/afgprogrammer/Flutter-Complete-e-commerce/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/afgprogrammer/Flutter-Complete-e-commerce/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/afgprogrammer/Flutter-Complete-e-commerce/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/afgprogrammer/Flutter-Complete-e-commerce/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/afgprogrammer/Flutter-Complete-e-commerce/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/afgprogrammer/Flutter-Complete-e-commerce/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/afgprogrammer/Flutter-Complete-e-commerce/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/afgprogrammer/Flutter-Complete-e-commerce/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/afgprogrammer/Flutter-Complete-e-commerce/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/afgprogrammer/Flutter-Complete-e-commerce/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/afgprogrammer/Flutter-Complete-e-commerce/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/afgprogrammer/Flutter-Complete-e-commerce/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/afgprogrammer/Flutter-Complete-e-commerce/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/afgprogrammer/Flutter-Complete-e-commerce/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/afgprogrammer/Flutter-Complete-e-commerce/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/afgprogrammer/Flutter-Complete-e-commerce/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/afgprogrammer/Flutter-Complete-e-commerce/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/afgprogrammer/Flutter-Complete-e-commerce/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/afgprogrammer/Flutter-Complete-e-commerce/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/afgprogrammer/Flutter-Complete-e-commerce/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/afgprogrammer/Flutter-Complete-e-commerce/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/afgprogrammer/Flutter-Complete-e-commerce/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/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-4.10.2-all.zip
7 |
--------------------------------------------------------------------------------
/.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: 2d2a1ffec95cc70a3218872a2cd3f8de4933c42f
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.
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/com/example/day16_shopping/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.example.day16_shopping
2 |
3 | import android.os.Bundle
4 |
5 | import io.flutter.app.FlutterActivity
6 | import io.flutter.plugins.GeneratedPluginRegistrant
7 |
8 | class MainActivity: FlutterActivity() {
9 | override fun onCreate(savedInstanceState: Bundle?) {
10 | super.onCreate(savedInstanceState)
11 | GeneratedPluginRegistrant.registerWith(this)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @main
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/app/src/main/res/drawable/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 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
4 |
5 | def plugins = new Properties()
6 | def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
7 | if (pluginsFile.exists()) {
8 | pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) }
9 | }
10 |
11 | plugins.each { name, path ->
12 | def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
13 | include ":$name"
14 | project(":$name").projectDir = pluginDirectory
15 | }
16 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.2.71'
3 | repositories {
4 | google()
5 | jcenter()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:3.2.1'
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 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ## Flutter e-commerce Application UI Design and Animation
2 |
3 | A part of #flutter100daysofcode. Let's create a beautiful and animated e-commerce UI with Flutter.
4 |
5 | [Watch it on Youtube](https://youtu.be/_10i7_xsthM)
6 |
7 |
8 | ## Previous Designs
9 | [Checkout my Youtube channel](https://youtube.com/afgprogrammer)
10 |
11 |
12 |
13 | ## Development Setup
14 | Clone the repository and run the following commands:
15 | ```
16 | flutter pub get
17 | flutter run
18 | ```
19 |
20 | ## ScreenShot
21 |
22 |
23 |
24 | ## Links
25 |
26 | * [Website](https://afgprogrammer.com)
27 | * [Youtube channel](https://youtube.com/afgprogrammer)
28 | * [Twitter](https://twitter.com/afgprogrammer)
29 | * [Instagram](https://instagram.com/afgprogrammer)
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 12.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/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:day16_shopping/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/.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 | .dart_tool/
26 | .flutter-plugins
27 | .packages
28 | .pub-cache/
29 | .pub/
30 | /build/
31 |
32 | # Android related
33 | **/android/**/gradle-wrapper.jar
34 | **/android/.gradle
35 | **/android/captures/
36 | **/android/gradlew
37 | **/android/gradlew.bat
38 | **/android/local.properties
39 | **/android/**/GeneratedPluginRegistrant.java
40 |
41 | # iOS/XCode related
42 | **/ios/**/*.mode1v3
43 | **/ios/**/*.mode2v3
44 | **/ios/**/*.moved-aside
45 | **/ios/**/*.pbxuser
46 | **/ios/**/*.perspectivev3
47 | **/ios/**/*sync/
48 | **/ios/**/.sconsign.dblite
49 | **/ios/**/.tags*
50 | **/ios/**/.vagrant/
51 | **/ios/**/DerivedData/
52 | **/ios/**/Icon?
53 | **/ios/**/Pods/
54 | **/ios/**/.symlinks/
55 | **/ios/**/profile
56 | **/ios/**/xcuserdata
57 | **/ios/.generated/
58 | **/ios/Flutter/App.framework
59 | **/ios/Flutter/Flutter.framework
60 | **/ios/Flutter/Generated.xcconfig
61 | **/ios/Flutter/app.flx
62 | **/ios/Flutter/app.zip
63 | **/ios/Flutter/flutter_assets/
64 | **/ios/Flutter/flutter_export_environment.sh
65 | **/ios/ServiceDefinitions.json
66 | **/ios/Runner/GeneratedPluginRegistrant.*
67 |
68 | # Exceptions to above rules.
69 | !**/ios/**/default.mode1v3
70 | !**/ios/**/default.mode2v3
71 | !**/ios/**/default.pbxuser
72 | !**/ios/**/default.perspectivev3
73 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
74 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
9 |
13 |
20 |
24 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/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 | day16_shopping
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 | CADisableMinimumFrameDurationOnPhone
45 |
46 | UIApplicationSupportsIndirectInputEvents
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | def localProperties = new Properties()
2 | def localPropertiesFile = rootProject.file('local.properties')
3 | if (localPropertiesFile.exists()) {
4 | localPropertiesFile.withReader('UTF-8') { reader ->
5 | localProperties.load(reader)
6 | }
7 | }
8 |
9 | def flutterRoot = localProperties.getProperty('flutter.sdk')
10 | if (flutterRoot == null) {
11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 | }
13 |
14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15 | if (flutterVersionCode == null) {
16 | flutterVersionCode = '1'
17 | }
18 |
19 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
20 | if (flutterVersionName == null) {
21 | flutterVersionName = '1.0'
22 | }
23 |
24 | apply plugin: 'com.android.application'
25 | apply plugin: 'kotlin-android'
26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27 |
28 | android {
29 | compileSdkVersion 28
30 |
31 | sourceSets {
32 | main.java.srcDirs += 'src/main/kotlin'
33 | }
34 |
35 | lintOptions {
36 | disable 'InvalidPackage'
37 | }
38 |
39 | defaultConfig {
40 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
41 | applicationId "com.example.day16_shopping"
42 | minSdkVersion 16
43 | targetSdkVersion 28
44 | versionCode flutterVersionCode.toInteger()
45 | versionName flutterVersionName
46 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
47 | }
48 |
49 | buildTypes {
50 | release {
51 | // TODO: Add your own signing config for the release build.
52 | // Signing with the debug keys for now, so `flutter run --release` works.
53 | signingConfig signingConfigs.debug
54 | }
55 | }
56 | }
57 |
58 | flutter {
59 | source '../..'
60 | }
61 |
62 | dependencies {
63 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
64 | testImplementation 'junit:junit:4.12'
65 | androidTestImplementation 'com.android.support.test:runner:1.0.2'
66 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
67 | }
68 |
--------------------------------------------------------------------------------
/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: day16_shopping
2 | description: A new Flutter project.
3 |
4 | # The following defines the version and build number for your application.
5 | # A version number is three numbers separated by dots, like 1.2.43
6 | # followed by an optional build number separated by a +.
7 | # Both the version and the builder number may be overridden in flutter
8 | # build by specifying --build-name and --build-number, respectively.
9 | # In Android, build-name is used as versionName while build-number used as versionCode.
10 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
11 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
12 | # Read more about iOS versioning at
13 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
14 | version: 1.0.0+1
15 |
16 | environment:
17 | sdk: '>=3.1.3 <4.0.0'
18 |
19 | dependencies:
20 | flutter:
21 | sdk: flutter
22 | page_transition: ^2.1.0
23 |
24 | # The following adds the Cupertino Icons font to your application.
25 | # Use with the CupertinoIcons class for iOS style icons.
26 | cupertino_icons: ^1.0.2
27 | animate_do: ^3.1.2
28 |
29 | dev_dependencies:
30 | flutter_test:
31 | sdk: flutter
32 |
33 |
34 | # For information on the generic Dart part of this file, see the
35 | # following page: https://dart.dev/tools/pub/pubspec
36 |
37 | # The following section is specific to Flutter.
38 | flutter:
39 |
40 | # The following line ensures that the Material Icons font is
41 | # included with your application, so that you can use the icons in
42 | # the material Icons class.
43 | uses-material-design: true
44 |
45 | # To add assets to your application, add an assets section, like this:
46 | assets:
47 | - assets/images/
48 | # - images/a_dot_ham.jpeg
49 |
50 | # An image asset can refer to one or more resolution-specific "variants", see
51 | # https://flutter.dev/assets-and-images/#resolution-aware.
52 |
53 | # For details regarding adding assets from package dependencies, see
54 | # https://flutter.dev/assets-and-images/#from-packages
55 |
56 | # To add custom fonts to your application, add a fonts section here,
57 | # in this "flutter" section. Each entry in this list should have a
58 | # "family" key with the font family name, and a "fonts" key with a
59 | # list giving the asset and other descriptors for the font. For
60 | # example:
61 | # fonts:
62 | # - family: Schyler
63 | # fonts:
64 | # - asset: fonts/Schyler-Regular.ttf
65 | # - asset: fonts/Schyler-Italic.ttf
66 | # style: italic
67 | # - family: Trajan Pro
68 | # fonts:
69 | # - asset: fonts/TrajanPro.ttf
70 | # - asset: fonts/TrajanPro_Bold.ttf
71 | # weight: 700
72 | #
73 | # For details regarding fonts from package dependencies,
74 | # see https://flutter.dev/custom-fonts/#from-packages
75 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:animate_do/animate_do.dart';
2 | import 'package:day16_shopping/Pages/ShopPage.dart';
3 | import 'package:flutter/material.dart';
4 | import 'package:page_transition/page_transition.dart';
5 |
6 | void main() => runApp(
7 | MaterialApp(
8 | debugShowCheckedModeBanner: false,
9 | home: HomePage()
10 | )
11 | );
12 |
13 | class HomePage extends StatefulWidget {
14 | @override
15 | _HomePageState createState() => _HomePageState();
16 | }
17 |
18 | class _HomePageState extends State with TickerProviderStateMixin {
19 | late AnimationController _scaleController;
20 | late Animation _scaleAnimation;
21 |
22 | bool hide = false;
23 |
24 | @override
25 | void initState() {
26 | // TODO: implement initState
27 | super.initState();
28 |
29 | _scaleController = AnimationController(
30 | vsync: this,
31 | duration: Duration(milliseconds: 800)
32 | );
33 |
34 | _scaleAnimation = Tween(
35 | begin: 1.0,
36 | end: 30.0
37 | ).animate(_scaleController)..addStatusListener((status) {
38 | if (status == AnimationStatus.completed) {
39 | Navigator.push(context, PageTransition(type: PageTransitionType.fade, child: ShopPage()));
40 | }
41 | });
42 |
43 | }
44 |
45 | @override
46 | Widget build(BuildContext context) {
47 | return Scaffold(
48 | body: Container(
49 | width: double.infinity,
50 | decoration: BoxDecoration(
51 | image: DecorationImage(
52 | image: AssetImage('assets/images/splash.jpg'),
53 | fit: BoxFit.cover
54 | )
55 | ),
56 | child: Container(
57 | decoration: BoxDecoration(
58 | gradient: LinearGradient(
59 | begin: Alignment.bottomRight,
60 | colors: [
61 | Colors.black.withOpacity(.9),
62 | Colors.black.withOpacity(.4),
63 | ]
64 | )
65 | ),
66 | child: Padding(
67 | padding: const EdgeInsets.all(30.0),
68 | child: Column(
69 | crossAxisAlignment: CrossAxisAlignment.start,
70 | mainAxisAlignment: MainAxisAlignment.end,
71 | children: [
72 | FadeInUp(duration: Duration(milliseconds: 1000), child: Text("Brand New Perspective", style: TextStyle(color: Colors.white, height: 1.2, fontSize: 40, fontWeight: FontWeight.w900),)),
73 | SizedBox(height: 8,),
74 | FadeInUp(duration: Duration(milliseconds: 1300), child: Text("Let's start with our summer collection.", style: TextStyle(color: Colors.grey.shade300, fontSize: 22),)),
75 | SizedBox(height: 80,),
76 | InkWell(
77 | onTap: () {
78 | setState(() {
79 | hide = true;
80 | });
81 | _scaleController.forward();
82 | },
83 | child: AnimatedBuilder(
84 | animation: _scaleController,
85 | builder: (context, child) => Transform.scale(
86 | scale: _scaleAnimation.value,
87 | child: FadeInUp(duration: Duration(milliseconds: 1500), child: Container(
88 | height: 50,
89 | decoration: BoxDecoration(
90 | color: Colors.white,
91 | borderRadius: BorderRadius.circular(50)
92 | ),
93 | child: Center(
94 | child: hide == false ? Text("Get Start", style: TextStyle(fontWeight: FontWeight.bold),) : Container(),
95 | ),
96 | )),
97 | ),
98 | ),
99 | ),
100 | SizedBox(height: 20,),
101 | FadeInUp(duration: Duration(milliseconds: 1700), child: Container(
102 | height: 50,
103 | decoration: BoxDecoration(
104 | border: Border.all(color: Colors.white),
105 | borderRadius: BorderRadius.circular(50)
106 | ),
107 | child: Center(
108 | child: Text("Create Account", style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold),),
109 | ),
110 | )),
111 | SizedBox(height: 30,),
112 |
113 | ],
114 | ),
115 | ),
116 | ),
117 | ),
118 | );
119 | }
120 | }
121 |
--------------------------------------------------------------------------------
/pubspec.lock:
--------------------------------------------------------------------------------
1 | # Generated by pub
2 | # See https://dart.dev/tools/pub/glossary#lockfile
3 | packages:
4 | animate_do:
5 | dependency: "direct main"
6 | description:
7 | name: animate_do
8 | sha256: "91b3e0306ba2096c7a7e1ee1ba96f491e25e92034c215f4bf8de6a7251c4bef1"
9 | url: "https://pub.dev"
10 | source: hosted
11 | version: "3.1.2"
12 | async:
13 | dependency: transitive
14 | description:
15 | name: async
16 | sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
17 | url: "https://pub.dev"
18 | source: hosted
19 | version: "2.11.0"
20 | boolean_selector:
21 | dependency: transitive
22 | description:
23 | name: boolean_selector
24 | sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
25 | url: "https://pub.dev"
26 | source: hosted
27 | version: "2.1.1"
28 | characters:
29 | dependency: transitive
30 | description:
31 | name: characters
32 | sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
33 | url: "https://pub.dev"
34 | source: hosted
35 | version: "1.3.0"
36 | clock:
37 | dependency: transitive
38 | description:
39 | name: clock
40 | sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
41 | url: "https://pub.dev"
42 | source: hosted
43 | version: "1.1.1"
44 | collection:
45 | dependency: transitive
46 | description:
47 | name: collection
48 | sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
49 | url: "https://pub.dev"
50 | source: hosted
51 | version: "1.18.0"
52 | cupertino_icons:
53 | dependency: "direct main"
54 | description:
55 | name: cupertino_icons
56 | sha256: d57953e10f9f8327ce64a508a355f0b1ec902193f66288e8cb5070e7c47eeb2d
57 | url: "https://pub.dev"
58 | source: hosted
59 | version: "1.0.6"
60 | fake_async:
61 | dependency: transitive
62 | description:
63 | name: fake_async
64 | sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
65 | url: "https://pub.dev"
66 | source: hosted
67 | version: "1.3.1"
68 | flutter:
69 | dependency: "direct main"
70 | description: flutter
71 | source: sdk
72 | version: "0.0.0"
73 | flutter_test:
74 | dependency: "direct dev"
75 | description: flutter
76 | source: sdk
77 | version: "0.0.0"
78 | leak_tracker:
79 | dependency: transitive
80 | description:
81 | name: leak_tracker
82 | sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"
83 | url: "https://pub.dev"
84 | source: hosted
85 | version: "10.0.5"
86 | leak_tracker_flutter_testing:
87 | dependency: transitive
88 | description:
89 | name: leak_tracker_flutter_testing
90 | sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"
91 | url: "https://pub.dev"
92 | source: hosted
93 | version: "3.0.5"
94 | leak_tracker_testing:
95 | dependency: transitive
96 | description:
97 | name: leak_tracker_testing
98 | sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
99 | url: "https://pub.dev"
100 | source: hosted
101 | version: "3.0.1"
102 | matcher:
103 | dependency: transitive
104 | description:
105 | name: matcher
106 | sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
107 | url: "https://pub.dev"
108 | source: hosted
109 | version: "0.12.16+1"
110 | material_color_utilities:
111 | dependency: transitive
112 | description:
113 | name: material_color_utilities
114 | sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
115 | url: "https://pub.dev"
116 | source: hosted
117 | version: "0.11.1"
118 | meta:
119 | dependency: transitive
120 | description:
121 | name: meta
122 | sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7
123 | url: "https://pub.dev"
124 | source: hosted
125 | version: "1.15.0"
126 | page_transition:
127 | dependency: "direct main"
128 | description:
129 | name: page_transition
130 | sha256: dee976b1f23de9bbef5cd512fe567e9f6278caee11f5eaca9a2115c19dc49ef6
131 | url: "https://pub.dev"
132 | source: hosted
133 | version: "2.1.0"
134 | path:
135 | dependency: transitive
136 | description:
137 | name: path
138 | sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
139 | url: "https://pub.dev"
140 | source: hosted
141 | version: "1.9.0"
142 | sky_engine:
143 | dependency: transitive
144 | description: flutter
145 | source: sdk
146 | version: "0.0.99"
147 | source_span:
148 | dependency: transitive
149 | description:
150 | name: source_span
151 | sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
152 | url: "https://pub.dev"
153 | source: hosted
154 | version: "1.10.0"
155 | stack_trace:
156 | dependency: transitive
157 | description:
158 | name: stack_trace
159 | sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
160 | url: "https://pub.dev"
161 | source: hosted
162 | version: "1.11.1"
163 | stream_channel:
164 | dependency: transitive
165 | description:
166 | name: stream_channel
167 | sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
168 | url: "https://pub.dev"
169 | source: hosted
170 | version: "2.1.2"
171 | string_scanner:
172 | dependency: transitive
173 | description:
174 | name: string_scanner
175 | sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
176 | url: "https://pub.dev"
177 | source: hosted
178 | version: "1.2.0"
179 | term_glyph:
180 | dependency: transitive
181 | description:
182 | name: term_glyph
183 | sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
184 | url: "https://pub.dev"
185 | source: hosted
186 | version: "1.2.1"
187 | test_api:
188 | dependency: transitive
189 | description:
190 | name: test_api
191 | sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb"
192 | url: "https://pub.dev"
193 | source: hosted
194 | version: "0.7.2"
195 | vector_math:
196 | dependency: transitive
197 | description:
198 | name: vector_math
199 | sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
200 | url: "https://pub.dev"
201 | source: hosted
202 | version: "2.1.4"
203 | vm_service:
204 | dependency: transitive
205 | description:
206 | name: vm_service
207 | sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
208 | url: "https://pub.dev"
209 | source: hosted
210 | version: "14.2.5"
211 | sdks:
212 | dart: ">=3.3.0 <4.0.0"
213 | flutter: ">=3.18.0-18.0.pre.54"
214 |
--------------------------------------------------------------------------------
/lib/Pages/CategoryPage.dart:
--------------------------------------------------------------------------------
1 | import 'package:animate_do/animate_do.dart';
2 | import 'package:flutter/material.dart';
3 |
4 | class CategoryPage extends StatefulWidget {
5 | final String? title;
6 | final String? image;
7 | final String? tag;
8 |
9 | const CategoryPage({Key? key, this.title, this.image, this.tag}) : super(key: key);
10 |
11 | @override
12 | _CategoryPageState createState() => _CategoryPageState();
13 | }
14 |
15 | class _CategoryPageState extends State {
16 | @override
17 | Widget build(BuildContext context) {
18 | return Scaffold(
19 | backgroundColor: Colors.white,
20 | body: SingleChildScrollView(
21 | child: Column(
22 | children: [
23 | Hero(
24 | tag: widget.tag!,
25 | child: Material(
26 | child: Container(
27 | height: 360,
28 | decoration: BoxDecoration(
29 | image: DecorationImage(
30 | image: AssetImage(widget.image!),
31 | fit: BoxFit.cover
32 | )
33 | ),
34 | child: Container(
35 | padding: EdgeInsets.all(10),
36 | decoration: BoxDecoration(
37 | gradient: LinearGradient(
38 | begin: Alignment.bottomRight,
39 | colors: [
40 | Colors.black.withOpacity(.8),
41 | Colors.black.withOpacity(.1),
42 | ]
43 | )
44 | ),
45 | child: Column(
46 | children: [
47 | SizedBox(height: 40,),
48 | Row(
49 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
50 | children: [
51 | IconButton(
52 | icon: Icon(Icons.arrow_back_ios, color: Colors.white,),
53 | onPressed: () {
54 | Navigator.pop(context);
55 | },
56 | ),
57 | Row(
58 | mainAxisAlignment: MainAxisAlignment.end,
59 | children: [
60 | FadeInUp(duration: Duration(milliseconds: 1200), child: IconButton(
61 | icon: Icon(Icons.search, color: Colors.white,), onPressed: () {},
62 | )),
63 | FadeInUp(duration: Duration(milliseconds: 1200), child: IconButton(
64 | icon: Icon(Icons.favorite, color: Colors.white,), onPressed: () {},
65 | )),
66 | FadeInUp(duration: Duration(milliseconds: 1300), child: IconButton(
67 | icon: Icon(Icons.shopping_cart, color: Colors.white,), onPressed: () {},
68 | )),
69 | ],
70 | ),
71 | ],
72 | ),
73 | SizedBox(
74 | height: 40,
75 | ),
76 | FadeInUp(duration: Duration(milliseconds: 1200), child: Text(widget.title!, style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold, fontSize: 40),))
77 | ],
78 | ),
79 | ),
80 | ),
81 | ),
82 | ),
83 | Padding(
84 | padding: EdgeInsets.all(20),
85 | child: Column(
86 | children: [
87 | FadeInUp(duration: Duration(milliseconds: 1400), child: Row(
88 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
89 | children: [
90 | Text("New Product", style: TextStyle(color: Colors.black, fontSize: 18, fontWeight: FontWeight.bold),),
91 | Row(
92 | children: [
93 | Text("View More", style: TextStyle(color: Colors.grey),),
94 | SizedBox(width: 5,),
95 | Icon(Icons.arrow_forward_ios, size: 11, color: Colors.grey,)
96 | ],
97 | ),
98 | ],
99 | )),
100 | SizedBox(height: 20,),
101 | FadeInUp(duration: Duration(milliseconds: 1500), child: makeProduct(image: 'assets/images/beauty-1.jpg', title: 'Beauty', price: '100\$')),
102 | FadeInUp(duration: Duration(milliseconds: 1600), child: makeProduct(image: 'assets/images/clothes-1.jpg', title: 'Clothes', price: '100\$')),
103 | FadeInUp(duration: Duration(milliseconds: 1700), child: makeProduct(image: 'assets/images/glass.jpg', title: 'Glass', price: '100\$')),
104 | FadeInUp(duration: Duration(milliseconds: 1800), child: makeProduct(image: 'assets/images/perfume.jpg', title: 'Perfume', price: '100\$')),
105 | FadeInUp(duration: Duration(milliseconds: 1900), child: makeProduct(image: 'assets/images/person.jpg', title: 'Person', price: '100\$')),
106 | ],
107 | ),
108 | )
109 | ],
110 | ),
111 | ),
112 | );
113 | }
114 |
115 | Widget makeProduct({image, title, price}) {
116 | return Container(
117 | height: 200,
118 | width: double.infinity,
119 | margin: EdgeInsets.only(bottom: 20),
120 | decoration: BoxDecoration(
121 | borderRadius: BorderRadius.circular(10),
122 | image: DecorationImage(
123 | image: AssetImage(image),
124 | fit: BoxFit.cover
125 | )
126 | ),
127 | child: Container(
128 | padding: EdgeInsets.all(10),
129 | decoration: BoxDecoration(
130 | borderRadius: BorderRadius.circular(10),
131 | gradient: LinearGradient(
132 | begin: Alignment.bottomRight,
133 | colors: [
134 | Colors.black.withOpacity(.8),
135 | Colors.black.withOpacity(.1),
136 | ]
137 | )
138 | ),
139 | child: Column(
140 | crossAxisAlignment: CrossAxisAlignment.start,
141 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
142 | children: [
143 | FadeInUp(duration: Duration(milliseconds: 1400), child: Align(
144 | alignment: Alignment.topRight,
145 | child: Icon(Icons.favorite_border, color: Colors.white,),
146 | )),
147 | Row(
148 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
149 | crossAxisAlignment: CrossAxisAlignment.end,
150 | children: [
151 | Column(
152 | crossAxisAlignment: CrossAxisAlignment.start,
153 | children: [
154 | FadeInUp(duration: Duration(milliseconds: 1500), child: Text(title, style: TextStyle(color: Colors.white, fontSize: 20),)),
155 | FadeInUp(duration: Duration(milliseconds: 1500), child: Text(price, style: TextStyle(color: Colors.white, fontSize: 30, fontWeight: FontWeight.bold),)),
156 | ],
157 | ),
158 | FadeInUp(duration: Duration(milliseconds: 2000), child: Container(
159 | width: 40,
160 | height: 40,
161 | margin: EdgeInsets.only(bottom: 10),
162 | decoration: BoxDecoration(
163 | shape: BoxShape.circle,
164 | color: Colors.white
165 | ),
166 | child: Center(
167 | child: Icon(Icons.add_shopping_cart, size: 18, color: Colors.grey[700],),
168 | )
169 | ))
170 | ],
171 | ),
172 | ],
173 | ),
174 | )
175 | );
176 | }
177 | }
--------------------------------------------------------------------------------
/lib/Pages/ShopPage.dart:
--------------------------------------------------------------------------------
1 | import 'package:animate_do/animate_do.dart';
2 | import 'package:day16_shopping/Pages/CategoryPage.dart';
3 | import 'package:flutter/material.dart';
4 |
5 | class ShopPage extends StatefulWidget {
6 | @override
7 | _ShopPageState createState() => _ShopPageState();
8 | }
9 |
10 | class _ShopPageState extends State {
11 | @override
12 | Widget build(BuildContext context) {
13 | return Scaffold(
14 | body: SingleChildScrollView(
15 | child: Column(
16 | children: [
17 | FadeInUp(duration: Duration(milliseconds: 1000), child: Container(
18 | height: 500,
19 | decoration: BoxDecoration(
20 | image: DecorationImage(
21 | image: AssetImage('assets/images/background.jpg'),
22 | fit: BoxFit.cover
23 | )
24 | ),
25 | child: Container(
26 | decoration: BoxDecoration(
27 | gradient: LinearGradient(
28 | begin: Alignment.bottomRight,
29 | colors: [
30 | Colors.black.withOpacity(.8),
31 | Colors.black.withOpacity(.2),
32 | ]
33 | )
34 | ),
35 | child: Padding(
36 | padding: const EdgeInsets.only(top: 50.0),
37 | child: Column(
38 | crossAxisAlignment: CrossAxisAlignment.start,
39 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
40 | children: [
41 | Row(
42 | mainAxisAlignment: MainAxisAlignment.end,
43 | children: [
44 | FadeInUp(duration: Duration(milliseconds: 1200), child: IconButton(
45 | icon: Icon(Icons.favorite, color: Colors.white,), onPressed: () {},
46 | )),
47 | FadeInUp(duration: Duration(milliseconds: 1300), child: IconButton(
48 | icon: Icon(Icons.shopping_cart, color: Colors.white,), onPressed: () {},
49 | )),
50 | ],
51 | ),
52 | Padding(
53 | padding: const EdgeInsets.all(20.0),
54 | child: Column(
55 | crossAxisAlignment: CrossAxisAlignment.start,
56 | children: [
57 | FadeInUp(duration: Duration(milliseconds: 1500), child: Text("Our New Products", style: TextStyle(color: Colors.white, fontSize: 30, fontWeight: FontWeight.bold),)),
58 | SizedBox(height: 15,),
59 | FadeInUp(duration: Duration(milliseconds: 1700), child: Row(
60 | children: [
61 | Text("VIEW MORE", style: TextStyle(color: Colors.white, fontWeight: FontWeight.w600),),
62 | SizedBox(width: 5,),
63 | Icon(Icons.arrow_forward_ios, color: Colors.white, size: 15,)
64 | ],
65 | ))
66 | ],
67 | ),
68 | ),
69 |
70 | ],
71 | ),
72 | ),
73 | ),
74 | )),
75 | FadeInUp(duration: Duration(milliseconds: 1400), child: Container(
76 | padding: EdgeInsets.all(20),
77 | child: Column(
78 | children: [
79 | Row(
80 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
81 | children: [
82 | Text("Categories", style: TextStyle(color: Colors.black, fontSize: 18, fontWeight: FontWeight.bold),),
83 | Text("All")
84 | ],
85 | ),
86 | SizedBox(height: 20,),
87 | Container(
88 | height: 150,
89 | child: ListView(
90 | scrollDirection: Axis.horizontal,
91 | children: [
92 | makeCategory(image: 'assets/images/beauty.jpg', title: 'Beauty', tag: 'beauty'),
93 | makeCategory(image: 'assets/images/clothes.jpg', title: 'Clothes', tag: 'clothes'),
94 | makeCategory(image: 'assets/images/perfume.jpg', title: 'Perfume', tag: 'perfume'),
95 | makeCategory(image: 'assets/images/glass.jpg', title: 'Glass', tag: 'glass'),
96 | ],
97 | ),
98 | ),
99 | SizedBox(height: 40,),
100 |
101 | Row(
102 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
103 | children: [
104 | Text("Best Selling by Category", style: TextStyle(color: Colors.black, fontSize: 18, fontWeight: FontWeight.bold),),
105 | Text("All")
106 | ],
107 | ),
108 | SizedBox(height: 20,),
109 | Container(
110 | height: 150,
111 | child: ListView(
112 | scrollDirection: Axis.horizontal,
113 | children: [
114 | makeBestCategory(image: 'assets/images/tech.jpg', title: 'Tech'),
115 | makeBestCategory(image: 'assets/images/watch.jpg', title: 'Watch'),
116 | makeBestCategory(image: 'assets/images/perfume.jpg', title: 'Perfume'),
117 | makeBestCategory(image: 'assets/images/glass.jpg', title: 'Glass'),
118 | ],
119 | ),
120 | ),
121 | SizedBox(height: 80,),
122 | ],
123 | ),
124 | ))
125 | ],
126 | ),
127 | ),
128 | );
129 | }
130 |
131 | Widget makeCategory({image, title, tag}) {
132 | return AspectRatio(
133 | aspectRatio: 2 / 2.2,
134 | child: Hero(
135 | tag: tag,
136 | child: GestureDetector(
137 | onTap: () {
138 | Navigator.push(context, MaterialPageRoute(builder: (context) => CategoryPage(image: image, title: title, tag: tag,)));
139 | },
140 | child: Material(
141 | child: Container(
142 | margin: EdgeInsets.only(right: 20),
143 | decoration: BoxDecoration(
144 | borderRadius: BorderRadius.circular(10),
145 | image: DecorationImage(
146 | image: AssetImage(image),
147 | fit: BoxFit.cover
148 | )
149 | ),
150 | child: Container(
151 | padding: EdgeInsets.all(10),
152 | decoration: BoxDecoration(
153 | borderRadius: BorderRadius.circular(10),
154 | gradient: LinearGradient(
155 | begin: Alignment.bottomRight,
156 | colors: [
157 | Colors.black.withOpacity(.8),
158 | Colors.black.withOpacity(.0),
159 | ]
160 | )
161 | ),
162 | child:
163 | Align(
164 | alignment: Alignment.bottomLeft,
165 | child: Text(title, style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold, fontSize: 16),)
166 | ),
167 | ),
168 | ),
169 | ),
170 | ),
171 | ),
172 | );
173 | }
174 |
175 | Widget makeBestCategory({image, title}) {
176 | return AspectRatio(
177 | aspectRatio: 3 / 2.2,
178 | child: Container(
179 | margin: EdgeInsets.only(right: 20),
180 | decoration: BoxDecoration(
181 | borderRadius: BorderRadius.circular(10),
182 | image: DecorationImage(
183 | image: AssetImage(image),
184 | fit: BoxFit.cover
185 | )
186 | ),
187 | child: Container(
188 | padding: EdgeInsets.all(10),
189 | decoration: BoxDecoration(
190 | borderRadius: BorderRadius.circular(10),
191 | gradient: LinearGradient(
192 | begin: Alignment.bottomRight,
193 | colors: [
194 | Colors.black.withOpacity(.8),
195 | Colors.black.withOpacity(.0),
196 | ]
197 | )
198 | ),
199 | child:
200 | Align(
201 | alignment: Alignment.bottomLeft,
202 | child: Text(title, style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold, fontSize: 16),)
203 | ),
204 | ),
205 | ),
206 | );
207 | }
208 | }
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 54;
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 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; };
14 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
15 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
16 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
17 | /* End PBXBuildFile section */
18 |
19 | /* Begin PBXCopyFilesBuildPhase section */
20 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
21 | isa = PBXCopyFilesBuildPhase;
22 | buildActionMask = 2147483647;
23 | dstPath = "";
24 | dstSubfolderSpec = 10;
25 | files = (
26 | );
27 | name = "Embed Frameworks";
28 | runOnlyForDeploymentPostprocessing = 0;
29 | };
30 | /* End PBXCopyFilesBuildPhase section */
31 |
32 | /* Begin PBXFileReference section */
33 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
34 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
35 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
36 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
37 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
38 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
39 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
40 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
41 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
42 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
43 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
44 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
45 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
46 | /* End PBXFileReference section */
47 |
48 | /* Begin PBXFrameworksBuildPhase section */
49 | 97C146EB1CF9000F007C117D /* Frameworks */ = {
50 | isa = PBXFrameworksBuildPhase;
51 | buildActionMask = 2147483647;
52 | files = (
53 | );
54 | runOnlyForDeploymentPostprocessing = 0;
55 | };
56 | /* End PBXFrameworksBuildPhase section */
57 |
58 | /* Begin PBXGroup section */
59 | 9740EEB11CF90186004384FC /* Flutter */ = {
60 | isa = PBXGroup;
61 | children = (
62 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
63 | 9740EEB21CF90195004384FC /* Debug.xcconfig */,
64 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
65 | 9740EEB31CF90195004384FC /* Generated.xcconfig */,
66 | );
67 | name = Flutter;
68 | sourceTree = "";
69 | };
70 | 97C146E51CF9000F007C117D = {
71 | isa = PBXGroup;
72 | children = (
73 | 9740EEB11CF90186004384FC /* Flutter */,
74 | 97C146F01CF9000F007C117D /* Runner */,
75 | 97C146EF1CF9000F007C117D /* Products */,
76 | );
77 | sourceTree = "";
78 | };
79 | 97C146EF1CF9000F007C117D /* Products */ = {
80 | isa = PBXGroup;
81 | children = (
82 | 97C146EE1CF9000F007C117D /* Runner.app */,
83 | );
84 | name = Products;
85 | sourceTree = "";
86 | };
87 | 97C146F01CF9000F007C117D /* Runner */ = {
88 | isa = PBXGroup;
89 | children = (
90 | 97C146FA1CF9000F007C117D /* Main.storyboard */,
91 | 97C146FD1CF9000F007C117D /* Assets.xcassets */,
92 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
93 | 97C147021CF9000F007C117D /* Info.plist */,
94 | 97C146F11CF9000F007C117D /* Supporting Files */,
95 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
96 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
97 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
98 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
99 | );
100 | path = Runner;
101 | sourceTree = "";
102 | };
103 | 97C146F11CF9000F007C117D /* Supporting Files */ = {
104 | isa = PBXGroup;
105 | children = (
106 | );
107 | name = "Supporting Files";
108 | sourceTree = "";
109 | };
110 | /* End PBXGroup section */
111 |
112 | /* Begin PBXNativeTarget section */
113 | 97C146ED1CF9000F007C117D /* Runner */ = {
114 | isa = PBXNativeTarget;
115 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
116 | buildPhases = (
117 | 9740EEB61CF901F6004384FC /* Run Script */,
118 | 97C146EA1CF9000F007C117D /* Sources */,
119 | 97C146EB1CF9000F007C117D /* Frameworks */,
120 | 97C146EC1CF9000F007C117D /* Resources */,
121 | 9705A1C41CF9048500538489 /* Embed Frameworks */,
122 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
123 | );
124 | buildRules = (
125 | );
126 | dependencies = (
127 | );
128 | name = Runner;
129 | productName = Runner;
130 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
131 | productType = "com.apple.product-type.application";
132 | };
133 | /* End PBXNativeTarget section */
134 |
135 | /* Begin PBXProject section */
136 | 97C146E61CF9000F007C117D /* Project object */ = {
137 | isa = PBXProject;
138 | attributes = {
139 | LastUpgradeCheck = 1510;
140 | ORGANIZATIONNAME = "The Chromium Authors";
141 | TargetAttributes = {
142 | 97C146ED1CF9000F007C117D = {
143 | CreatedOnToolsVersion = 7.3.1;
144 | LastSwiftMigration = 0910;
145 | };
146 | };
147 | };
148 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
149 | compatibilityVersion = "Xcode 3.2";
150 | developmentRegion = en;
151 | hasScannedForEncodings = 0;
152 | knownRegions = (
153 | en,
154 | Base,
155 | );
156 | mainGroup = 97C146E51CF9000F007C117D;
157 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
158 | projectDirPath = "";
159 | projectRoot = "";
160 | targets = (
161 | 97C146ED1CF9000F007C117D /* Runner */,
162 | );
163 | };
164 | /* End PBXProject section */
165 |
166 | /* Begin PBXResourcesBuildPhase section */
167 | 97C146EC1CF9000F007C117D /* Resources */ = {
168 | isa = PBXResourcesBuildPhase;
169 | buildActionMask = 2147483647;
170 | files = (
171 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
172 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
173 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */,
174 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
175 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
176 | );
177 | runOnlyForDeploymentPostprocessing = 0;
178 | };
179 | /* End PBXResourcesBuildPhase section */
180 |
181 | /* Begin PBXShellScriptBuildPhase section */
182 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
183 | isa = PBXShellScriptBuildPhase;
184 | alwaysOutOfDate = 1;
185 | buildActionMask = 2147483647;
186 | files = (
187 | );
188 | inputPaths = (
189 | "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
190 | );
191 | name = "Thin Binary";
192 | outputPaths = (
193 | );
194 | runOnlyForDeploymentPostprocessing = 0;
195 | shellPath = /bin/sh;
196 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
197 | };
198 | 9740EEB61CF901F6004384FC /* Run Script */ = {
199 | isa = PBXShellScriptBuildPhase;
200 | alwaysOutOfDate = 1;
201 | buildActionMask = 2147483647;
202 | files = (
203 | );
204 | inputPaths = (
205 | );
206 | name = "Run Script";
207 | outputPaths = (
208 | );
209 | runOnlyForDeploymentPostprocessing = 0;
210 | shellPath = /bin/sh;
211 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
212 | };
213 | /* End PBXShellScriptBuildPhase section */
214 |
215 | /* Begin PBXSourcesBuildPhase section */
216 | 97C146EA1CF9000F007C117D /* Sources */ = {
217 | isa = PBXSourcesBuildPhase;
218 | buildActionMask = 2147483647;
219 | files = (
220 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
221 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
222 | );
223 | runOnlyForDeploymentPostprocessing = 0;
224 | };
225 | /* End PBXSourcesBuildPhase section */
226 |
227 | /* Begin PBXVariantGroup section */
228 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
229 | isa = PBXVariantGroup;
230 | children = (
231 | 97C146FB1CF9000F007C117D /* Base */,
232 | );
233 | name = Main.storyboard;
234 | sourceTree = "";
235 | };
236 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
237 | isa = PBXVariantGroup;
238 | children = (
239 | 97C147001CF9000F007C117D /* Base */,
240 | );
241 | name = LaunchScreen.storyboard;
242 | sourceTree = "";
243 | };
244 | /* End PBXVariantGroup section */
245 |
246 | /* Begin XCBuildConfiguration section */
247 | 249021D3217E4FDB00AE95B9 /* Profile */ = {
248 | isa = XCBuildConfiguration;
249 | buildSettings = {
250 | ALWAYS_SEARCH_USER_PATHS = NO;
251 | CLANG_ANALYZER_NONNULL = YES;
252 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
253 | CLANG_CXX_LIBRARY = "libc++";
254 | CLANG_ENABLE_MODULES = YES;
255 | CLANG_ENABLE_OBJC_ARC = YES;
256 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
257 | CLANG_WARN_BOOL_CONVERSION = YES;
258 | CLANG_WARN_COMMA = YES;
259 | CLANG_WARN_CONSTANT_CONVERSION = YES;
260 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
261 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
262 | CLANG_WARN_EMPTY_BODY = YES;
263 | CLANG_WARN_ENUM_CONVERSION = YES;
264 | CLANG_WARN_INFINITE_RECURSION = YES;
265 | CLANG_WARN_INT_CONVERSION = YES;
266 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
267 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
268 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
269 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
270 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
271 | CLANG_WARN_STRICT_PROTOTYPES = YES;
272 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
273 | CLANG_WARN_UNREACHABLE_CODE = YES;
274 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
275 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
276 | COPY_PHASE_STRIP = NO;
277 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
278 | ENABLE_NS_ASSERTIONS = NO;
279 | ENABLE_STRICT_OBJC_MSGSEND = YES;
280 | GCC_C_LANGUAGE_STANDARD = gnu99;
281 | GCC_NO_COMMON_BLOCKS = YES;
282 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
283 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
284 | GCC_WARN_UNDECLARED_SELECTOR = YES;
285 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
286 | GCC_WARN_UNUSED_FUNCTION = YES;
287 | GCC_WARN_UNUSED_VARIABLE = YES;
288 | IPHONEOS_DEPLOYMENT_TARGET = 12.0;
289 | MTL_ENABLE_DEBUG_INFO = NO;
290 | SDKROOT = iphoneos;
291 | TARGETED_DEVICE_FAMILY = "1,2";
292 | VALIDATE_PRODUCT = YES;
293 | };
294 | name = Profile;
295 | };
296 | 249021D4217E4FDB00AE95B9 /* Profile */ = {
297 | isa = XCBuildConfiguration;
298 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
299 | buildSettings = {
300 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
301 | CLANG_ENABLE_MODULES = YES;
302 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
303 | ENABLE_BITCODE = NO;
304 | FRAMEWORK_SEARCH_PATHS = (
305 | "$(inherited)",
306 | "$(PROJECT_DIR)/Flutter",
307 | );
308 | INFOPLIST_FILE = Runner/Info.plist;
309 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
310 | LIBRARY_SEARCH_PATHS = (
311 | "$(inherited)",
312 | "$(PROJECT_DIR)/Flutter",
313 | );
314 | PRODUCT_BUNDLE_IDENTIFIER = com.example.day16Shopping;
315 | PRODUCT_NAME = "$(TARGET_NAME)";
316 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
317 | SWIFT_VERSION = 4.0;
318 | VERSIONING_SYSTEM = "apple-generic";
319 | };
320 | name = Profile;
321 | };
322 | 97C147031CF9000F007C117D /* Debug */ = {
323 | isa = XCBuildConfiguration;
324 | buildSettings = {
325 | ALWAYS_SEARCH_USER_PATHS = NO;
326 | CLANG_ANALYZER_NONNULL = YES;
327 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
328 | CLANG_CXX_LIBRARY = "libc++";
329 | CLANG_ENABLE_MODULES = YES;
330 | CLANG_ENABLE_OBJC_ARC = YES;
331 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
332 | CLANG_WARN_BOOL_CONVERSION = YES;
333 | CLANG_WARN_COMMA = YES;
334 | CLANG_WARN_CONSTANT_CONVERSION = YES;
335 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
336 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
337 | CLANG_WARN_EMPTY_BODY = YES;
338 | CLANG_WARN_ENUM_CONVERSION = YES;
339 | CLANG_WARN_INFINITE_RECURSION = YES;
340 | CLANG_WARN_INT_CONVERSION = YES;
341 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
342 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
343 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
344 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
345 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
346 | CLANG_WARN_STRICT_PROTOTYPES = YES;
347 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
348 | CLANG_WARN_UNREACHABLE_CODE = YES;
349 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
350 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
351 | COPY_PHASE_STRIP = NO;
352 | DEBUG_INFORMATION_FORMAT = dwarf;
353 | ENABLE_STRICT_OBJC_MSGSEND = YES;
354 | ENABLE_TESTABILITY = YES;
355 | GCC_C_LANGUAGE_STANDARD = gnu99;
356 | GCC_DYNAMIC_NO_PIC = NO;
357 | GCC_NO_COMMON_BLOCKS = YES;
358 | GCC_OPTIMIZATION_LEVEL = 0;
359 | GCC_PREPROCESSOR_DEFINITIONS = (
360 | "DEBUG=1",
361 | "$(inherited)",
362 | );
363 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
364 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
365 | GCC_WARN_UNDECLARED_SELECTOR = YES;
366 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
367 | GCC_WARN_UNUSED_FUNCTION = YES;
368 | GCC_WARN_UNUSED_VARIABLE = YES;
369 | IPHONEOS_DEPLOYMENT_TARGET = 12.0;
370 | MTL_ENABLE_DEBUG_INFO = YES;
371 | ONLY_ACTIVE_ARCH = YES;
372 | SDKROOT = iphoneos;
373 | TARGETED_DEVICE_FAMILY = "1,2";
374 | };
375 | name = Debug;
376 | };
377 | 97C147041CF9000F007C117D /* Release */ = {
378 | isa = XCBuildConfiguration;
379 | buildSettings = {
380 | ALWAYS_SEARCH_USER_PATHS = NO;
381 | CLANG_ANALYZER_NONNULL = YES;
382 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
383 | CLANG_CXX_LIBRARY = "libc++";
384 | CLANG_ENABLE_MODULES = YES;
385 | CLANG_ENABLE_OBJC_ARC = YES;
386 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
387 | CLANG_WARN_BOOL_CONVERSION = YES;
388 | CLANG_WARN_COMMA = YES;
389 | CLANG_WARN_CONSTANT_CONVERSION = YES;
390 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
391 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
392 | CLANG_WARN_EMPTY_BODY = YES;
393 | CLANG_WARN_ENUM_CONVERSION = YES;
394 | CLANG_WARN_INFINITE_RECURSION = YES;
395 | CLANG_WARN_INT_CONVERSION = YES;
396 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
397 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
398 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
399 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
400 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
401 | CLANG_WARN_STRICT_PROTOTYPES = YES;
402 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
403 | CLANG_WARN_UNREACHABLE_CODE = YES;
404 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
405 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
406 | COPY_PHASE_STRIP = NO;
407 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
408 | ENABLE_NS_ASSERTIONS = NO;
409 | ENABLE_STRICT_OBJC_MSGSEND = YES;
410 | GCC_C_LANGUAGE_STANDARD = gnu99;
411 | GCC_NO_COMMON_BLOCKS = YES;
412 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
413 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
414 | GCC_WARN_UNDECLARED_SELECTOR = YES;
415 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
416 | GCC_WARN_UNUSED_FUNCTION = YES;
417 | GCC_WARN_UNUSED_VARIABLE = YES;
418 | IPHONEOS_DEPLOYMENT_TARGET = 12.0;
419 | MTL_ENABLE_DEBUG_INFO = NO;
420 | SDKROOT = iphoneos;
421 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
422 | TARGETED_DEVICE_FAMILY = "1,2";
423 | VALIDATE_PRODUCT = YES;
424 | };
425 | name = Release;
426 | };
427 | 97C147061CF9000F007C117D /* Debug */ = {
428 | isa = XCBuildConfiguration;
429 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
430 | buildSettings = {
431 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
432 | CLANG_ENABLE_MODULES = YES;
433 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
434 | ENABLE_BITCODE = NO;
435 | FRAMEWORK_SEARCH_PATHS = (
436 | "$(inherited)",
437 | "$(PROJECT_DIR)/Flutter",
438 | );
439 | INFOPLIST_FILE = Runner/Info.plist;
440 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
441 | LIBRARY_SEARCH_PATHS = (
442 | "$(inherited)",
443 | "$(PROJECT_DIR)/Flutter",
444 | );
445 | PRODUCT_BUNDLE_IDENTIFIER = com.example.day16Shopping;
446 | PRODUCT_NAME = "$(TARGET_NAME)";
447 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
448 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
449 | SWIFT_VERSION = 4.0;
450 | VERSIONING_SYSTEM = "apple-generic";
451 | };
452 | name = Debug;
453 | };
454 | 97C147071CF9000F007C117D /* Release */ = {
455 | isa = XCBuildConfiguration;
456 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
457 | buildSettings = {
458 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
459 | CLANG_ENABLE_MODULES = YES;
460 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
461 | ENABLE_BITCODE = NO;
462 | FRAMEWORK_SEARCH_PATHS = (
463 | "$(inherited)",
464 | "$(PROJECT_DIR)/Flutter",
465 | );
466 | INFOPLIST_FILE = Runner/Info.plist;
467 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
468 | LIBRARY_SEARCH_PATHS = (
469 | "$(inherited)",
470 | "$(PROJECT_DIR)/Flutter",
471 | );
472 | PRODUCT_BUNDLE_IDENTIFIER = com.example.day16Shopping;
473 | PRODUCT_NAME = "$(TARGET_NAME)";
474 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
475 | SWIFT_VERSION = 4.0;
476 | VERSIONING_SYSTEM = "apple-generic";
477 | };
478 | name = Release;
479 | };
480 | /* End XCBuildConfiguration section */
481 |
482 | /* Begin XCConfigurationList section */
483 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
484 | isa = XCConfigurationList;
485 | buildConfigurations = (
486 | 97C147031CF9000F007C117D /* Debug */,
487 | 97C147041CF9000F007C117D /* Release */,
488 | 249021D3217E4FDB00AE95B9 /* Profile */,
489 | );
490 | defaultConfigurationIsVisible = 0;
491 | defaultConfigurationName = Release;
492 | };
493 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
494 | isa = XCConfigurationList;
495 | buildConfigurations = (
496 | 97C147061CF9000F007C117D /* Debug */,
497 | 97C147071CF9000F007C117D /* Release */,
498 | 249021D4217E4FDB00AE95B9 /* Profile */,
499 | );
500 | defaultConfigurationIsVisible = 0;
501 | defaultConfigurationName = Release;
502 | };
503 | /* End XCConfigurationList section */
504 |
505 | };
506 | rootObject = 97C146E61CF9000F007C117D /* Project object */;
507 | }
508 |
--------------------------------------------------------------------------------