├── .gitignore
├── .metadata
├── README.md
├── android
├── app
│ ├── build.gradle
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── example
│ │ │ └── khadijaecommerce
│ │ │ └── MainActivity.java
│ │ └── res
│ │ ├── drawable
│ │ └── launch_background.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxxhdpi
│ │ └── ic_launcher.png
│ │ └── values
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
└── settings.gradle
├── assets
└── images
│ ├── aksesoris_laptop.png
│ ├── baju_couple.png
│ ├── belanja_untung.png
│ ├── beli_kebutuhan.png
│ ├── buket_bunga.png
│ ├── category
│ ├── afiliasi.jpg
│ ├── ajukan_kartu_kredit.jpg
│ ├── bpjs.jpg
│ ├── emas.jpg
│ ├── fashion_pria.jpg
│ ├── kategori.jpg
│ ├── lainnya.jpg
│ ├── official_store.jpg
│ ├── pascabayar.jpg
│ └── tv_kabel.jpg
│ ├── coffe_and_tea_maker.png
│ ├── cokelat_box.png
│ ├── esamsat.png
│ ├── figure.png
│ ├── flat_shoes_wanita.png
│ ├── kado_pernikahan.png
│ ├── kode_bayar.png
│ ├── makanan_kering.png
│ ├── product
│ ├── bioderma_sebium.jpg
│ ├── maxim_new_prestige.jpg
│ ├── pipo_frixion.jpg
│ ├── qtela.jpg
│ ├── tas.jpg
│ └── tropicana_slim.jpg
│ ├── promo_spesial.png
│ ├── qrcode.png
│ ├── red_lipstick.png
│ ├── sepatu_sandal.png
│ ├── slider_1.png
│ ├── slider_2.png
│ ├── slider_3.png
│ ├── slider_4.png
│ ├── slider_5.png
│ ├── tas_selempang_pria.png
│ └── xxi.png
├── ios
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ └── contents.xcworkspacedata
└── Runner
│ ├── AppDelegate.h
│ ├── AppDelegate.m
│ ├── Assets.xcassets
│ ├── AppIcon.appiconset
│ │ ├── Contents.json
│ │ ├── Icon-App-1024x1024@1x.png
│ │ ├── Icon-App-20x20@1x.png
│ │ ├── Icon-App-20x20@2x.png
│ │ ├── Icon-App-20x20@3x.png
│ │ ├── Icon-App-29x29@1x.png
│ │ ├── Icon-App-29x29@2x.png
│ │ ├── Icon-App-29x29@3x.png
│ │ ├── Icon-App-40x40@1x.png
│ │ ├── Icon-App-40x40@2x.png
│ │ ├── Icon-App-40x40@3x.png
│ │ ├── Icon-App-60x60@2x.png
│ │ ├── Icon-App-60x60@3x.png
│ │ ├── Icon-App-76x76@1x.png
│ │ ├── Icon-App-76x76@2x.png
│ │ └── Icon-App-83.5x83.5@2x.png
│ └── LaunchImage.imageset
│ │ ├── Contents.json
│ │ ├── LaunchImage.png
│ │ ├── LaunchImage@2x.png
│ │ ├── LaunchImage@3x.png
│ │ └── README.md
│ ├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
│ ├── Info.plist
│ └── main.m
├── lib
├── helper
│ └── flucommerce
│ │ └── slider
│ │ ├── dotsindicator.dart
│ │ └── image_slider.dart
├── main.dart
└── view
│ └── home.dart
└── pubspec.yaml
/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.lock
4 | *.log
5 | *.pyc
6 | *.swp
7 | .DS_Store
8 | .atom/
9 | .buildlog/
10 | .history
11 | .svn/
12 |
13 | # IntelliJ related
14 | *.iml
15 | *.ipr
16 | *.iws
17 | .idea/
18 |
19 | # Visual Studio Code related
20 | .vscode/
21 |
22 | # Flutter/Dart/Pub related
23 | **/doc/api/
24 | .dart_tool/
25 | .flutter-plugins
26 | .packages
27 | .pub-cache/
28 | .pub/
29 | build/
30 |
31 | # Android related
32 | **/android/**/gradle-wrapper.jar
33 | **/android/.gradle
34 | **/android/captures/
35 | **/android/gradlew
36 | **/android/gradlew.bat
37 | **/android/local.properties
38 | **/android/**/GeneratedPluginRegistrant.java
39 |
40 | # iOS/XCode related
41 | **/ios/**/*.mode1v3
42 | **/ios/**/*.mode2v3
43 | **/ios/**/*.moved-aside
44 | **/ios/**/*.pbxuser
45 | **/ios/**/*.perspectivev3
46 | **/ios/**/*sync/
47 | **/ios/**/.sconsign.dblite
48 | **/ios/**/.tags*
49 | **/ios/**/.vagrant/
50 | **/ios/**/DerivedData/
51 | **/ios/**/Icon?
52 | **/ios/**/Pods/
53 | **/ios/**/.symlinks/
54 | **/ios/**/profile
55 | **/ios/**/xcuserdata
56 | **/ios/.generated/
57 | **/ios/Flutter/App.framework
58 | **/ios/Flutter/Flutter.framework
59 | **/ios/Flutter/Generated.xcconfig
60 | **/ios/Flutter/app.flx
61 | **/ios/Flutter/app.zip
62 | **/ios/Flutter/flutter_assets/
63 | **/ios/ServiceDefinitions.json
64 | **/ios/Runner/GeneratedPluginRegistrant.*
65 |
66 | # Exceptions to above rules.
67 | !**/ios/**/default.mode1v3
68 | !**/ios/**/default.mode2v3
69 | !**/ios/**/default.pbxuser
70 | !**/ios/**/default.perspectivev3
71 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
72 |
--------------------------------------------------------------------------------
/.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: 5391447fae6209bb21a89e6a5a6583cac1af9b4b
8 | channel: stable
9 |
10 | project_type: app
11 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Tokopedia Flutter UI
2 | Education purpose only, content may have copyrighted content
3 |
4 | * Logo
5 | * Icon
6 | * All Assets on res/images
7 |
8 | Akhirnya selesai juga Challenge untuk membuat Dashboard Tokopedia. Ada beberapa hal yang ok banget utk di explore di challenge kali ini. Diantaranya:
9 |
10 | 1. Indikator Slider yang sudah di sesuaikan agar mirip dengan tokopedia
11 | 2. Timer promosi, disini saya menggunakan Timer utk mengurangi nilainya 1/detik.
12 | 3. Label Discount, disini cukup menggunakan Stack dan Positioned.
13 |
14 | Untuk sisanya, hanya berupa gambar di dalam Container, serta GridView. Ok, ditunggu kritik pedas-nya. :D
15 |
16 | 
17 |
--------------------------------------------------------------------------------
/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 from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
26 |
27 | android {
28 | compileSdkVersion 27
29 |
30 | lintOptions {
31 | disable 'InvalidPackage'
32 | }
33 |
34 | defaultConfig {
35 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
36 | applicationId "com.example.khadijaecommerce"
37 | minSdkVersion 16
38 | targetSdkVersion 27
39 | versionCode flutterVersionCode.toInteger()
40 | versionName flutterVersionName
41 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
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 | testImplementation 'junit:junit:4.12'
59 | androidTestImplementation 'com.android.support.test:runner:1.0.2'
60 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
61 | }
62 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
8 |
9 |
10 |
15 |
19 |
26 |
30 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/example/khadijaecommerce/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.example.khadijaecommerce;
2 |
3 | import android.os.Bundle;
4 | import io.flutter.app.FlutterActivity;
5 | import io.flutter.plugins.GeneratedPluginRegistrant;
6 |
7 | public class MainActivity extends FlutterActivity {
8 | @Override
9 | protected void onCreate(Bundle savedInstanceState) {
10 | super.onCreate(savedInstanceState);
11 | GeneratedPluginRegistrant.registerWith(this);
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | repositories {
3 | google()
4 | jcenter()
5 | }
6 |
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:3.2.1'
9 | }
10 | }
11 |
12 | allprojects {
13 | repositories {
14 | google()
15 | jcenter()
16 | }
17 | }
18 |
19 | rootProject.buildDir = '../build'
20 | subprojects {
21 | project.buildDir = "${rootProject.buildDir}/${project.name}"
22 | }
23 | subprojects {
24 | project.evaluationDependsOn(':app')
25 | }
26 |
27 | task clean(type: Delete) {
28 | delete rootProject.buildDir
29 | }
30 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Jun 23 08:50:38 CEST 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
7 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
4 |
5 | def plugins = new Properties()
6 | def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
7 | if (pluginsFile.exists()) {
8 | pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) }
9 | }
10 |
11 | plugins.each { name, path ->
12 | def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
13 | include ":$name"
14 | project(":$name").projectDir = pluginDirectory
15 | }
16 |
--------------------------------------------------------------------------------
/assets/images/aksesoris_laptop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/aksesoris_laptop.png
--------------------------------------------------------------------------------
/assets/images/baju_couple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/baju_couple.png
--------------------------------------------------------------------------------
/assets/images/belanja_untung.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/belanja_untung.png
--------------------------------------------------------------------------------
/assets/images/beli_kebutuhan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/beli_kebutuhan.png
--------------------------------------------------------------------------------
/assets/images/buket_bunga.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/buket_bunga.png
--------------------------------------------------------------------------------
/assets/images/category/afiliasi.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/category/afiliasi.jpg
--------------------------------------------------------------------------------
/assets/images/category/ajukan_kartu_kredit.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/category/ajukan_kartu_kredit.jpg
--------------------------------------------------------------------------------
/assets/images/category/bpjs.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/category/bpjs.jpg
--------------------------------------------------------------------------------
/assets/images/category/emas.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/category/emas.jpg
--------------------------------------------------------------------------------
/assets/images/category/fashion_pria.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/category/fashion_pria.jpg
--------------------------------------------------------------------------------
/assets/images/category/kategori.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/category/kategori.jpg
--------------------------------------------------------------------------------
/assets/images/category/lainnya.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/category/lainnya.jpg
--------------------------------------------------------------------------------
/assets/images/category/official_store.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/category/official_store.jpg
--------------------------------------------------------------------------------
/assets/images/category/pascabayar.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/category/pascabayar.jpg
--------------------------------------------------------------------------------
/assets/images/category/tv_kabel.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/category/tv_kabel.jpg
--------------------------------------------------------------------------------
/assets/images/coffe_and_tea_maker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/coffe_and_tea_maker.png
--------------------------------------------------------------------------------
/assets/images/cokelat_box.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/cokelat_box.png
--------------------------------------------------------------------------------
/assets/images/esamsat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/esamsat.png
--------------------------------------------------------------------------------
/assets/images/figure.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/figure.png
--------------------------------------------------------------------------------
/assets/images/flat_shoes_wanita.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/flat_shoes_wanita.png
--------------------------------------------------------------------------------
/assets/images/kado_pernikahan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/kado_pernikahan.png
--------------------------------------------------------------------------------
/assets/images/kode_bayar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/kode_bayar.png
--------------------------------------------------------------------------------
/assets/images/makanan_kering.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/makanan_kering.png
--------------------------------------------------------------------------------
/assets/images/product/bioderma_sebium.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/product/bioderma_sebium.jpg
--------------------------------------------------------------------------------
/assets/images/product/maxim_new_prestige.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/product/maxim_new_prestige.jpg
--------------------------------------------------------------------------------
/assets/images/product/pipo_frixion.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/product/pipo_frixion.jpg
--------------------------------------------------------------------------------
/assets/images/product/qtela.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/product/qtela.jpg
--------------------------------------------------------------------------------
/assets/images/product/tas.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/product/tas.jpg
--------------------------------------------------------------------------------
/assets/images/product/tropicana_slim.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/product/tropicana_slim.jpg
--------------------------------------------------------------------------------
/assets/images/promo_spesial.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/promo_spesial.png
--------------------------------------------------------------------------------
/assets/images/qrcode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/qrcode.png
--------------------------------------------------------------------------------
/assets/images/red_lipstick.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/red_lipstick.png
--------------------------------------------------------------------------------
/assets/images/sepatu_sandal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/sepatu_sandal.png
--------------------------------------------------------------------------------
/assets/images/slider_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/slider_1.png
--------------------------------------------------------------------------------
/assets/images/slider_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/slider_2.png
--------------------------------------------------------------------------------
/assets/images/slider_3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/slider_3.png
--------------------------------------------------------------------------------
/assets/images/slider_4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/slider_4.png
--------------------------------------------------------------------------------
/assets/images/slider_5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/slider_5.png
--------------------------------------------------------------------------------
/assets/images/tas_selempang_pria.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/tas_selempang_pria.png
--------------------------------------------------------------------------------
/assets/images/xxi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/assets/images/xxi.png
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 8.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
11 | 2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */ = {isa = PBXBuildFile; fileRef = 2D5378251FAA1A9400D5DBA9 /* flutter_assets */; };
12 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
13 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; };
14 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
15 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; };
16 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
17 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; };
18 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; };
19 | 97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; };
20 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
21 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
22 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
23 | /* End PBXBuildFile section */
24 |
25 | /* Begin PBXCopyFilesBuildPhase section */
26 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
27 | isa = PBXCopyFilesBuildPhase;
28 | buildActionMask = 2147483647;
29 | dstPath = "";
30 | dstSubfolderSpec = 10;
31 | files = (
32 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */,
33 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */,
34 | );
35 | name = "Embed Frameworks";
36 | runOnlyForDeploymentPostprocessing = 0;
37 | };
38 | /* End PBXCopyFilesBuildPhase section */
39 |
40 | /* Begin PBXFileReference section */
41 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
42 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
43 | 2D5378251FAA1A9400D5DBA9 /* flutter_assets */ = {isa = PBXFileReference; lastKnownFileType = folder; name = flutter_assets; path = Flutter/flutter_assets; sourceTree = SOURCE_ROOT; };
44 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
45 | 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; };
46 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
47 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
48 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
49 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
50 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
51 | 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; };
52 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
53 | 97C146F21CF9000F007C117D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
54 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
55 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
56 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
57 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
58 | /* End PBXFileReference section */
59 |
60 | /* Begin PBXFrameworksBuildPhase section */
61 | 97C146EB1CF9000F007C117D /* Frameworks */ = {
62 | isa = PBXFrameworksBuildPhase;
63 | buildActionMask = 2147483647;
64 | files = (
65 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */,
66 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */,
67 | );
68 | runOnlyForDeploymentPostprocessing = 0;
69 | };
70 | /* End PBXFrameworksBuildPhase section */
71 |
72 | /* Begin PBXGroup section */
73 | 9740EEB11CF90186004384FC /* Flutter */ = {
74 | isa = PBXGroup;
75 | children = (
76 | 2D5378251FAA1A9400D5DBA9 /* flutter_assets */,
77 | 3B80C3931E831B6300D905FE /* App.framework */,
78 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
79 | 9740EEBA1CF902C7004384FC /* Flutter.framework */,
80 | 9740EEB21CF90195004384FC /* Debug.xcconfig */,
81 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
82 | 9740EEB31CF90195004384FC /* Generated.xcconfig */,
83 | );
84 | name = Flutter;
85 | sourceTree = "";
86 | };
87 | 97C146E51CF9000F007C117D = {
88 | isa = PBXGroup;
89 | children = (
90 | 9740EEB11CF90186004384FC /* Flutter */,
91 | 97C146F01CF9000F007C117D /* Runner */,
92 | 97C146EF1CF9000F007C117D /* Products */,
93 | CF3B75C9A7D2FA2A4C99F110 /* Frameworks */,
94 | );
95 | sourceTree = "";
96 | };
97 | 97C146EF1CF9000F007C117D /* Products */ = {
98 | isa = PBXGroup;
99 | children = (
100 | 97C146EE1CF9000F007C117D /* Runner.app */,
101 | );
102 | name = Products;
103 | sourceTree = "";
104 | };
105 | 97C146F01CF9000F007C117D /* Runner */ = {
106 | isa = PBXGroup;
107 | children = (
108 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */,
109 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */,
110 | 97C146FA1CF9000F007C117D /* Main.storyboard */,
111 | 97C146FD1CF9000F007C117D /* Assets.xcassets */,
112 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
113 | 97C147021CF9000F007C117D /* Info.plist */,
114 | 97C146F11CF9000F007C117D /* Supporting Files */,
115 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
116 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
117 | );
118 | path = Runner;
119 | sourceTree = "";
120 | };
121 | 97C146F11CF9000F007C117D /* Supporting Files */ = {
122 | isa = PBXGroup;
123 | children = (
124 | 97C146F21CF9000F007C117D /* main.m */,
125 | );
126 | name = "Supporting Files";
127 | sourceTree = "";
128 | };
129 | /* End PBXGroup section */
130 |
131 | /* Begin PBXNativeTarget section */
132 | 97C146ED1CF9000F007C117D /* Runner */ = {
133 | isa = PBXNativeTarget;
134 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
135 | buildPhases = (
136 | 9740EEB61CF901F6004384FC /* Run Script */,
137 | 97C146EA1CF9000F007C117D /* Sources */,
138 | 97C146EB1CF9000F007C117D /* Frameworks */,
139 | 97C146EC1CF9000F007C117D /* Resources */,
140 | 9705A1C41CF9048500538489 /* Embed Frameworks */,
141 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
142 | );
143 | buildRules = (
144 | );
145 | dependencies = (
146 | );
147 | name = Runner;
148 | productName = Runner;
149 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
150 | productType = "com.apple.product-type.application";
151 | };
152 | /* End PBXNativeTarget section */
153 |
154 | /* Begin PBXProject section */
155 | 97C146E61CF9000F007C117D /* Project object */ = {
156 | isa = PBXProject;
157 | attributes = {
158 | LastUpgradeCheck = 0910;
159 | ORGANIZATIONNAME = "The Chromium Authors";
160 | TargetAttributes = {
161 | 97C146ED1CF9000F007C117D = {
162 | CreatedOnToolsVersion = 7.3.1;
163 | };
164 | };
165 | };
166 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
167 | compatibilityVersion = "Xcode 3.2";
168 | developmentRegion = English;
169 | hasScannedForEncodings = 0;
170 | knownRegions = (
171 | en,
172 | Base,
173 | );
174 | mainGroup = 97C146E51CF9000F007C117D;
175 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
176 | projectDirPath = "";
177 | projectRoot = "";
178 | targets = (
179 | 97C146ED1CF9000F007C117D /* Runner */,
180 | );
181 | };
182 | /* End PBXProject section */
183 |
184 | /* Begin PBXResourcesBuildPhase section */
185 | 97C146EC1CF9000F007C117D /* Resources */ = {
186 | isa = PBXResourcesBuildPhase;
187 | buildActionMask = 2147483647;
188 | files = (
189 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
190 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
191 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */,
192 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
193 | 2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */,
194 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
195 | );
196 | runOnlyForDeploymentPostprocessing = 0;
197 | };
198 | /* End PBXResourcesBuildPhase section */
199 |
200 | /* Begin PBXShellScriptBuildPhase section */
201 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
202 | isa = PBXShellScriptBuildPhase;
203 | buildActionMask = 2147483647;
204 | files = (
205 | );
206 | inputPaths = (
207 | );
208 | name = "Thin Binary";
209 | outputPaths = (
210 | );
211 | runOnlyForDeploymentPostprocessing = 0;
212 | shellPath = /bin/sh;
213 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin";
214 | };
215 | 9740EEB61CF901F6004384FC /* Run Script */ = {
216 | isa = PBXShellScriptBuildPhase;
217 | buildActionMask = 2147483647;
218 | files = (
219 | );
220 | inputPaths = (
221 | );
222 | name = "Run Script";
223 | outputPaths = (
224 | );
225 | runOnlyForDeploymentPostprocessing = 0;
226 | shellPath = /bin/sh;
227 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
228 | };
229 | /* End PBXShellScriptBuildPhase section */
230 |
231 | /* Begin PBXSourcesBuildPhase section */
232 | 97C146EA1CF9000F007C117D /* Sources */ = {
233 | isa = PBXSourcesBuildPhase;
234 | buildActionMask = 2147483647;
235 | files = (
236 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */,
237 | 97C146F31CF9000F007C117D /* main.m in Sources */,
238 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
239 | );
240 | runOnlyForDeploymentPostprocessing = 0;
241 | };
242 | /* End PBXSourcesBuildPhase section */
243 |
244 | /* Begin PBXVariantGroup section */
245 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
246 | isa = PBXVariantGroup;
247 | children = (
248 | 97C146FB1CF9000F007C117D /* Base */,
249 | );
250 | name = Main.storyboard;
251 | sourceTree = "";
252 | };
253 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
254 | isa = PBXVariantGroup;
255 | children = (
256 | 97C147001CF9000F007C117D /* Base */,
257 | );
258 | name = LaunchScreen.storyboard;
259 | sourceTree = "";
260 | };
261 | /* End PBXVariantGroup section */
262 |
263 | /* Begin XCBuildConfiguration section */
264 | 249021D3217E4FDB00AE95B9 /* Profile */ = {
265 | isa = XCBuildConfiguration;
266 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
267 | buildSettings = {
268 | ALWAYS_SEARCH_USER_PATHS = NO;
269 | CLANG_ANALYZER_NONNULL = YES;
270 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
271 | CLANG_CXX_LIBRARY = "libc++";
272 | CLANG_ENABLE_MODULES = YES;
273 | CLANG_ENABLE_OBJC_ARC = YES;
274 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
275 | CLANG_WARN_BOOL_CONVERSION = YES;
276 | CLANG_WARN_COMMA = YES;
277 | CLANG_WARN_CONSTANT_CONVERSION = YES;
278 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
279 | CLANG_WARN_EMPTY_BODY = YES;
280 | CLANG_WARN_ENUM_CONVERSION = YES;
281 | CLANG_WARN_INFINITE_RECURSION = YES;
282 | CLANG_WARN_INT_CONVERSION = YES;
283 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
284 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
285 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
286 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
287 | CLANG_WARN_STRICT_PROTOTYPES = YES;
288 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
289 | CLANG_WARN_UNREACHABLE_CODE = YES;
290 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
291 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
292 | COPY_PHASE_STRIP = NO;
293 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
294 | ENABLE_NS_ASSERTIONS = NO;
295 | ENABLE_STRICT_OBJC_MSGSEND = YES;
296 | GCC_C_LANGUAGE_STANDARD = gnu99;
297 | GCC_NO_COMMON_BLOCKS = YES;
298 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
299 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
300 | GCC_WARN_UNDECLARED_SELECTOR = YES;
301 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
302 | GCC_WARN_UNUSED_FUNCTION = YES;
303 | GCC_WARN_UNUSED_VARIABLE = YES;
304 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
305 | MTL_ENABLE_DEBUG_INFO = NO;
306 | SDKROOT = iphoneos;
307 | TARGETED_DEVICE_FAMILY = "1,2";
308 | VALIDATE_PRODUCT = YES;
309 | };
310 | name = Profile;
311 | };
312 | 249021D4217E4FDB00AE95B9 /* Profile */ = {
313 | isa = XCBuildConfiguration;
314 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
315 | buildSettings = {
316 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
317 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
318 | DEVELOPMENT_TEAM = S8QB4VV633;
319 | ENABLE_BITCODE = NO;
320 | FRAMEWORK_SEARCH_PATHS = (
321 | "$(inherited)",
322 | "$(PROJECT_DIR)/Flutter",
323 | );
324 | INFOPLIST_FILE = Runner/Info.plist;
325 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
326 | LIBRARY_SEARCH_PATHS = (
327 | "$(inherited)",
328 | "$(PROJECT_DIR)/Flutter",
329 | );
330 | PRODUCT_BUNDLE_IDENTIFIER = com.example.khadijaEcommerce;
331 | PRODUCT_NAME = "$(TARGET_NAME)";
332 | VERSIONING_SYSTEM = "apple-generic";
333 | };
334 | name = Profile;
335 | };
336 | 97C147031CF9000F007C117D /* Debug */ = {
337 | isa = XCBuildConfiguration;
338 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
339 | buildSettings = {
340 | ALWAYS_SEARCH_USER_PATHS = NO;
341 | CLANG_ANALYZER_NONNULL = YES;
342 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
343 | CLANG_CXX_LIBRARY = "libc++";
344 | CLANG_ENABLE_MODULES = YES;
345 | CLANG_ENABLE_OBJC_ARC = YES;
346 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
347 | CLANG_WARN_BOOL_CONVERSION = YES;
348 | CLANG_WARN_COMMA = YES;
349 | CLANG_WARN_CONSTANT_CONVERSION = YES;
350 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
351 | CLANG_WARN_EMPTY_BODY = YES;
352 | CLANG_WARN_ENUM_CONVERSION = YES;
353 | CLANG_WARN_INFINITE_RECURSION = YES;
354 | CLANG_WARN_INT_CONVERSION = YES;
355 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
356 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
357 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
358 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
359 | CLANG_WARN_STRICT_PROTOTYPES = YES;
360 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
361 | CLANG_WARN_UNREACHABLE_CODE = YES;
362 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
363 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
364 | COPY_PHASE_STRIP = NO;
365 | DEBUG_INFORMATION_FORMAT = dwarf;
366 | ENABLE_STRICT_OBJC_MSGSEND = YES;
367 | ENABLE_TESTABILITY = YES;
368 | GCC_C_LANGUAGE_STANDARD = gnu99;
369 | GCC_DYNAMIC_NO_PIC = NO;
370 | GCC_NO_COMMON_BLOCKS = YES;
371 | GCC_OPTIMIZATION_LEVEL = 0;
372 | GCC_PREPROCESSOR_DEFINITIONS = (
373 | "DEBUG=1",
374 | "$(inherited)",
375 | );
376 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
377 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
378 | GCC_WARN_UNDECLARED_SELECTOR = YES;
379 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
380 | GCC_WARN_UNUSED_FUNCTION = YES;
381 | GCC_WARN_UNUSED_VARIABLE = YES;
382 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
383 | MTL_ENABLE_DEBUG_INFO = YES;
384 | ONLY_ACTIVE_ARCH = YES;
385 | SDKROOT = iphoneos;
386 | TARGETED_DEVICE_FAMILY = "1,2";
387 | };
388 | name = Debug;
389 | };
390 | 97C147041CF9000F007C117D /* Release */ = {
391 | isa = XCBuildConfiguration;
392 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
393 | buildSettings = {
394 | ALWAYS_SEARCH_USER_PATHS = NO;
395 | CLANG_ANALYZER_NONNULL = YES;
396 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
397 | CLANG_CXX_LIBRARY = "libc++";
398 | CLANG_ENABLE_MODULES = YES;
399 | CLANG_ENABLE_OBJC_ARC = YES;
400 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
401 | CLANG_WARN_BOOL_CONVERSION = YES;
402 | CLANG_WARN_COMMA = YES;
403 | CLANG_WARN_CONSTANT_CONVERSION = YES;
404 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
405 | CLANG_WARN_EMPTY_BODY = YES;
406 | CLANG_WARN_ENUM_CONVERSION = YES;
407 | CLANG_WARN_INFINITE_RECURSION = YES;
408 | CLANG_WARN_INT_CONVERSION = YES;
409 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
410 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
411 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
412 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
413 | CLANG_WARN_STRICT_PROTOTYPES = YES;
414 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
415 | CLANG_WARN_UNREACHABLE_CODE = YES;
416 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
417 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
418 | COPY_PHASE_STRIP = NO;
419 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
420 | ENABLE_NS_ASSERTIONS = NO;
421 | ENABLE_STRICT_OBJC_MSGSEND = YES;
422 | GCC_C_LANGUAGE_STANDARD = gnu99;
423 | GCC_NO_COMMON_BLOCKS = YES;
424 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
425 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
426 | GCC_WARN_UNDECLARED_SELECTOR = YES;
427 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
428 | GCC_WARN_UNUSED_FUNCTION = YES;
429 | GCC_WARN_UNUSED_VARIABLE = YES;
430 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
431 | MTL_ENABLE_DEBUG_INFO = NO;
432 | SDKROOT = iphoneos;
433 | TARGETED_DEVICE_FAMILY = "1,2";
434 | VALIDATE_PRODUCT = YES;
435 | };
436 | name = Release;
437 | };
438 | 97C147061CF9000F007C117D /* Debug */ = {
439 | isa = XCBuildConfiguration;
440 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
441 | buildSettings = {
442 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
443 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
444 | ENABLE_BITCODE = NO;
445 | FRAMEWORK_SEARCH_PATHS = (
446 | "$(inherited)",
447 | "$(PROJECT_DIR)/Flutter",
448 | );
449 | INFOPLIST_FILE = Runner/Info.plist;
450 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
451 | LIBRARY_SEARCH_PATHS = (
452 | "$(inherited)",
453 | "$(PROJECT_DIR)/Flutter",
454 | );
455 | PRODUCT_BUNDLE_IDENTIFIER = com.example.khadijaEcommerce;
456 | PRODUCT_NAME = "$(TARGET_NAME)";
457 | VERSIONING_SYSTEM = "apple-generic";
458 | };
459 | name = Debug;
460 | };
461 | 97C147071CF9000F007C117D /* Release */ = {
462 | isa = XCBuildConfiguration;
463 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
464 | buildSettings = {
465 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
466 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
467 | ENABLE_BITCODE = NO;
468 | FRAMEWORK_SEARCH_PATHS = (
469 | "$(inherited)",
470 | "$(PROJECT_DIR)/Flutter",
471 | );
472 | INFOPLIST_FILE = Runner/Info.plist;
473 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
474 | LIBRARY_SEARCH_PATHS = (
475 | "$(inherited)",
476 | "$(PROJECT_DIR)/Flutter",
477 | );
478 | PRODUCT_BUNDLE_IDENTIFIER = com.example.khadijaEcommerce;
479 | PRODUCT_NAME = "$(TARGET_NAME)";
480 | VERSIONING_SYSTEM = "apple-generic";
481 | };
482 | name = Release;
483 | };
484 | /* End XCBuildConfiguration section */
485 |
486 | /* Begin XCConfigurationList section */
487 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
488 | isa = XCConfigurationList;
489 | buildConfigurations = (
490 | 97C147031CF9000F007C117D /* Debug */,
491 | 97C147041CF9000F007C117D /* Release */,
492 | 249021D3217E4FDB00AE95B9 /* Profile */,
493 | );
494 | defaultConfigurationIsVisible = 0;
495 | defaultConfigurationName = Release;
496 | };
497 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
498 | isa = XCConfigurationList;
499 | buildConfigurations = (
500 | 97C147061CF9000F007C117D /* Debug */,
501 | 97C147071CF9000F007C117D /* Release */,
502 | 249021D4217E4FDB00AE95B9 /* Profile */,
503 | );
504 | defaultConfigurationIsVisible = 0;
505 | defaultConfigurationName = Release;
506 | };
507 | /* End XCConfigurationList section */
508 | };
509 | rootObject = 97C146E61CF9000F007C117D /* Project object */;
510 | }
511 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
31 |
32 |
33 |
34 |
40 |
41 |
42 |
43 |
44 |
45 |
56 |
58 |
64 |
65 |
66 |
67 |
68 |
69 |
75 |
77 |
83 |
84 |
85 |
86 |
88 |
89 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.h:
--------------------------------------------------------------------------------
1 | #import
2 | #import
3 |
4 | @interface AppDelegate : FlutterAppDelegate
5 |
6 | @end
7 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.m:
--------------------------------------------------------------------------------
1 | #include "AppDelegate.h"
2 | #include "GeneratedPluginRegistrant.h"
3 |
4 | @implementation AppDelegate
5 |
6 | - (BOOL)application:(UIApplication *)application
7 | didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
8 | [GeneratedPluginRegistrant registerWithRegistry:self];
9 | // Override point for customization after application launch.
10 | return [super application:application didFinishLaunchingWithOptions:launchOptions];
11 | }
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-App-20x20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-App-20x20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-App-29x29@1x.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-App-29x29@2x.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-App-29x29@3x.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-App-40x40@2x.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-App-40x40@3x.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-App-60x60@2x.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "60x60",
53 | "idiom" : "iphone",
54 | "filename" : "Icon-App-60x60@3x.png",
55 | "scale" : "3x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "Icon-App-20x20@1x.png",
61 | "scale" : "1x"
62 | },
63 | {
64 | "size" : "20x20",
65 | "idiom" : "ipad",
66 | "filename" : "Icon-App-20x20@2x.png",
67 | "scale" : "2x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "Icon-App-29x29@1x.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "29x29",
77 | "idiom" : "ipad",
78 | "filename" : "Icon-App-29x29@2x.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "Icon-App-40x40@1x.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "40x40",
89 | "idiom" : "ipad",
90 | "filename" : "Icon-App-40x40@2x.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "Icon-App-76x76@1x.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "76x76",
101 | "idiom" : "ipad",
102 | "filename" : "Icon-App-76x76@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "83.5x83.5",
107 | "idiom" : "ipad",
108 | "filename" : "Icon-App-83.5x83.5@2x.png",
109 | "scale" : "2x"
110 | },
111 | {
112 | "size" : "1024x1024",
113 | "idiom" : "ios-marketing",
114 | "filename" : "Icon-App-1024x1024@1x.png",
115 | "scale" : "1x"
116 | }
117 | ],
118 | "info" : {
119 | "version" : 1,
120 | "author" : "xcode"
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/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/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/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/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/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/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/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/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/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/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/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/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/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/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/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/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/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/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/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/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/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/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/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/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchImage.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchImage@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "LaunchImage@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/5lineofcode/Tokopedia-Flutter-UI/da822bb576ea2d38a313b3987ef203911aa14609/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | khadija_ecommerce
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | $(FLUTTER_BUILD_NAME)
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | $(FLUTTER_BUILD_NUMBER)
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UISupportedInterfaceOrientations
30 |
31 | UIInterfaceOrientationPortrait
32 | UIInterfaceOrientationLandscapeLeft
33 | UIInterfaceOrientationLandscapeRight
34 |
35 | UISupportedInterfaceOrientations~ipad
36 |
37 | UIInterfaceOrientationPortrait
38 | UIInterfaceOrientationPortraitUpsideDown
39 | UIInterfaceOrientationLandscapeLeft
40 | UIInterfaceOrientationLandscapeRight
41 |
42 | UIViewControllerBasedStatusBarAppearance
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/ios/Runner/main.m:
--------------------------------------------------------------------------------
1 | #import
2 | #import
3 | #import "AppDelegate.h"
4 |
5 | int main(int argc, char* argv[]) {
6 | @autoreleasepool {
7 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/lib/helper/flucommerce/slider/dotsindicator.dart:
--------------------------------------------------------------------------------
1 | import 'dart:math';
2 |
3 | import 'package:flutter/material.dart';
4 |
5 | class DotsIndicator extends AnimatedWidget {
6 | DotsIndicator({
7 | this.controller,
8 | this.itemCount,
9 | this.onPageSelected,
10 | this.color: Colors.grey,
11 | }) : super(listenable: controller);
12 |
13 | final PageController controller;
14 | final int itemCount;
15 | final ValueChanged onPageSelected;
16 | final Color color;
17 | static const double _kDotSize = 10.0;
18 | static const double _kMaxZoom = 2.0;
19 | static const double _kDotSpacing = 16.0;
20 |
21 | Widget _buildDot(int index) {
22 | double selectedness = Curves.easeOut.transform(
23 | max(
24 | 0.0,
25 | 1.0 - ((controller.page ?? controller.initialPage) - index).abs(),
26 | ),
27 | );
28 | double zoom = 1.0 + (_kMaxZoom - 1.0) * selectedness;
29 |
30 | bool isSelected = zoom.round() == 2 ? true : false;
31 |
32 | return Container(
33 | width: _kDotSpacing,
34 | child: Center(
35 | child: Material(
36 | color: isSelected ? Colors.orange : color,
37 | type: MaterialType.circle,
38 | child: Container(
39 | width: _kDotSize,
40 | height: _kDotSize,
41 | child: InkWell(
42 | onTap: () => onPageSelected(index),
43 | ),
44 | ),
45 | ),
46 | ),
47 | );
48 | }
49 |
50 | Widget build(BuildContext context) {
51 | return Row(
52 | mainAxisAlignment: MainAxisAlignment.center,
53 | children: List.generate(itemCount, _buildDot),
54 | );
55 | }
56 | }
57 |
--------------------------------------------------------------------------------
/lib/helper/flucommerce/slider/image_slider.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:tokopedia_dashboard/helper/flucommerce/slider/dotsindicator.dart';
3 |
4 | class ImageSlider extends StatelessWidget {
5 | final List images;
6 | final double height;
7 | ImageSlider({
8 | @required this.images,
9 | this.height: 150.0,
10 | });
11 |
12 | final pageController = PageController();
13 | static const duration = const Duration(milliseconds: 300);
14 | static const curve = Curves.ease;
15 | final arrowColor = Colors.black.withOpacity(0.8);
16 |
17 | @override
18 | Widget build(BuildContext context) {
19 | return Container(
20 | child: IconTheme(
21 | data: IconThemeData(color: arrowColor),
22 | child: Container(
23 | height: height,
24 | width: MediaQuery.of(context).size.width,
25 | child: Stack(
26 | children: [
27 | PageView.builder(
28 | physics: AlwaysScrollableScrollPhysics(),
29 | controller: pageController,
30 | itemCount: images.length,
31 | itemBuilder: (BuildContext context, int index) {
32 | return Container(
33 | child: OverflowBox(
34 | child: Image(
35 | image: AssetImage(images[index]["image"]),
36 | fit: BoxFit.fill,
37 | ),
38 | ),
39 | );
40 | },
41 | ),
42 | Positioned(
43 | bottom: 0.0,
44 | left: 0.0,
45 | child: Container(
46 | padding: const EdgeInsets.only(
47 | left: 10.0,
48 | right: 10.0,
49 | bottom: 5.0,
50 | top: 5.0,
51 | ),
52 | child: DotsIndicator(
53 | controller: pageController,
54 | itemCount: images.length,
55 | onPageSelected: (int page) {
56 | pageController.animateToPage(
57 | page,
58 | duration: duration,
59 | curve: curve,
60 | );
61 | },
62 | ),
63 | ),
64 | ),
65 | ],
66 | ),
67 | ),
68 | ),
69 | );
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:tokopedia_dashboard/view/home.dart';
3 |
4 | void main() {
5 | runApp(new MyApp());
6 | }
7 |
8 | class MyApp extends StatelessWidget {
9 | @override
10 | Widget build(BuildContext context) {
11 | return MaterialApp(
12 | title: 'Flutter Demo',
13 | home: HomePage(),
14 | debugShowCheckedModeBanner: false,
15 | );
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/lib/view/home.dart:
--------------------------------------------------------------------------------
1 | import 'dart:async';
2 | import 'package:flutter/material.dart';
3 | import 'package:badges/badges.dart';
4 | import 'package:tokopedia_dashboard/helper/flucommerce/slider/image_slider.dart';
5 |
6 | class HomePage extends StatefulWidget {
7 | @override
8 | State createState() => HomePageState();
9 | }
10 |
11 | class HomePageState extends State {
12 | DateTime time = DateTime.now();
13 |
14 | @override
15 | void initState() {
16 | Timer(Duration(seconds: 1), () {
17 | setState(() {
18 | time = time.add(Duration(seconds: -1));
19 | });
20 | });
21 | super.initState();
22 | }
23 |
24 | @override
25 | Widget build(BuildContext context) {
26 | var images = [
27 | {
28 | "image": "assets/images/slider_1.png",
29 | },
30 | {
31 | "image": "assets/images/slider_2.png",
32 | },
33 | {
34 | "image": "assets/images/slider_3.png",
35 | },
36 | {
37 | "image": "assets/images/slider_4.png",
38 | },
39 | {
40 | "image": "assets/images/slider_5.png",
41 | },
42 | ];
43 |
44 | var imageSlider = ImageSlider(
45 | images: images,
46 | );
47 |
48 | var menuItems = [
49 | {
50 | "image": "assets/images/category/kategori.jpg",
51 | "text": "Kategori",
52 | },
53 | {
54 | "image": "assets/images/category/bpjs.jpg",
55 | "text": "BPJS",
56 | },
57 | {
58 | "image": "assets/images/category/pascabayar.jpg",
59 | "text": "Pascabayar",
60 | },
61 | {
62 | "image": "assets/images/category/emas.jpg",
63 | "text": "Emas",
64 | },
65 | {
66 | "image": "assets/images/category/afiliasi.jpg",
67 | "text": "Afiliasi",
68 | },
69 | {
70 | "image": "assets/images/category/official_store.jpg",
71 | "text": "Official Store",
72 | },
73 | {
74 | "image": "assets/images/category/fashion_pria.jpg",
75 | "text": "Fashion Pria",
76 | },
77 | {
78 | "image": "assets/images/category/tv_kabel.jpg",
79 | "text": "TV Kabel",
80 | },
81 | {
82 | "image": "assets/images/category/ajukan_kartu_kredit.jpg",
83 | "text": "Ajukan Kartu Kredit",
84 | },
85 | {
86 | "image": "assets/images/category/lainnya.jpg",
87 | "text": "Lainnya",
88 | },
89 | ];
90 |
91 | var mainMenuList = Container(
92 | width: MediaQuery.of(context).size.width,
93 | height: 180.0,
94 | child: IgnorePointer(
95 | child: GridView.count(
96 | crossAxisCount: 5,
97 | children: List.generate(
98 | menuItems.length,
99 | (index) {
100 | return Column(
101 | children: [
102 | Container(
103 | width: 60.0,
104 | height: 60.0,
105 | margin: EdgeInsets.all(8.0),
106 | decoration: BoxDecoration(
107 | borderRadius: BorderRadius.all(Radius.circular(12.0)),
108 | border: Border.all(color: Colors.grey[300]),
109 | ),
110 | child: Center(
111 | child: Image.asset(menuItems[index]["image"]),
112 | ),
113 | ),
114 | Expanded(
115 | child: Text(
116 | menuItems[index]["text"],
117 | textAlign: TextAlign.center,
118 | style: TextStyle(
119 | fontSize: 10.0,
120 | ),
121 | ),
122 | ),
123 | ],
124 | );
125 | },
126 | ),
127 | ),
128 | ),
129 | );
130 |
131 | var greyArea = Container(
132 | height: 10.0,
133 | color: Colors.grey[200],
134 | );
135 |
136 | var promoProductItems = [
137 | {
138 | "image": "assets/images/product/tas.jpg",
139 | "real_price": "Rp 249.000",
140 | "discount_price": "Rp 87.150",
141 | "discount_percent": "65",
142 | },
143 | {
144 | "image": "assets/images/product/qtela.jpg",
145 | "real_price": "Rp 25.000",
146 | "discount_price": "Rp 20.000",
147 | "discount_percent": "20",
148 | },
149 | {
150 | "image": "assets/images/product/tropicana_slim.jpg",
151 | "real_price": "Rp 83.500",
152 | "discount_price": "Rp 58.500",
153 | "discount_percent": "30",
154 | },
155 | {
156 | "image": "assets/images/product/pipo_frixion.jpg",
157 | "real_price": "Rp 27.000",
158 | "discount_price": "Rp 16.200",
159 | "discount_percent": "40",
160 | },
161 | {
162 | "image": "assets/images/product/bioderma_sebium.jpg",
163 | "real_price": "Rp 252.625",
164 | "discount_price": "Rp 155.000",
165 | "discount_percent": "39",
166 | },
167 | {
168 | "image": "assets/images/product/maxim_new_prestige.jpg",
169 | "real_price": "Rp 612.000",
170 | "discount_price": "Rp 263.000",
171 | "discount_percent": "57",
172 | },
173 | ];
174 |
175 | var promoProduct = Column(
176 | children: [
177 | Container(
178 | padding: EdgeInsets.all(12.0),
179 | child: Row(
180 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
181 | children: [
182 | Container(
183 | child: Row(
184 | children: [
185 | Text("Flash Sale ",
186 | style: TextStyle(
187 | fontSize: 16.0,
188 | fontWeight: FontWeight.bold,
189 | )),
190 | Container(
191 | padding: EdgeInsets.all(4.0),
192 | decoration: BoxDecoration(
193 | color: Color(0xffff3e2f),
194 | borderRadius: BorderRadius.all(Radius.circular(6.0)),
195 | ),
196 | child: Text(
197 | time.hour.toString().padLeft(2, "0"),
198 | style: TextStyle(
199 | color: Colors.white,
200 | ),
201 | ),
202 | ),
203 | Text(
204 | " : ",
205 | style: TextStyle(
206 | color: Color(0xffff3e2f),
207 | ),
208 | ),
209 | Container(
210 | padding: EdgeInsets.all(4.0),
211 | decoration: BoxDecoration(
212 | color: Color(0xffff3e2f),
213 | borderRadius: BorderRadius.all(Radius.circular(6.0)),
214 | ),
215 | child: Text(
216 | time.minute.toString().padLeft(2, "0"),
217 | style: TextStyle(
218 | color: Colors.white,
219 | ),
220 | ),
221 | ),
222 | Text(
223 | " : ",
224 | style: TextStyle(
225 | color: Color(0xffff3e2f),
226 | ),
227 | ),
228 | Container(
229 | padding: EdgeInsets.all(4.0),
230 | decoration: BoxDecoration(
231 | color: Color(0xffff3e2f),
232 | borderRadius: BorderRadius.all(Radius.circular(6.0)),
233 | ),
234 | child: Text(
235 | time.second.toString().padLeft(2, "0"),
236 | style: TextStyle(
237 | color: Colors.white,
238 | ),
239 | ),
240 | ),
241 | ],
242 | ),
243 | ),
244 | Text("Lihat Semuanya",
245 | style: TextStyle(
246 | color: Colors.green,
247 | )),
248 | ],
249 | ),
250 | ),
251 | Container(
252 | width: MediaQuery.of(context).size.width,
253 | height: 280.0,
254 | child: IgnorePointer(
255 | child: GridView.count(
256 | crossAxisCount: 3,
257 | children: List.generate(
258 | promoProductItems.length,
259 | (index) {
260 | return Column(
261 | children: [
262 | Stack(
263 | children: [
264 | Container(
265 | height: 100.0,
266 | child:
267 | Image.asset(promoProductItems[index]["image"]),
268 | ),
269 | Positioned(
270 | top: 0,
271 | right: 0,
272 | child: Container(
273 | padding: EdgeInsets.all(4.0),
274 | child: Text(
275 | "${promoProductItems[index]["discount_percent"]} OFF",
276 | style: TextStyle(
277 | color: Colors.red[900],
278 | fontSize: 10.0,
279 | fontWeight: FontWeight.bold,
280 | ),
281 | ),
282 | decoration: BoxDecoration(
283 | color: Colors.red[100],
284 | border: Border.all(
285 | color: Colors.red,
286 | width: 2.0,
287 | ),
288 | borderRadius:
289 | BorderRadius.all(Radius.circular(12.0))),
290 | ),
291 | ),
292 | ],
293 | ),
294 | Text(
295 | promoProductItems[index]["real_price"],
296 | style: TextStyle(
297 | decoration: TextDecoration.lineThrough,
298 | ),
299 | ),
300 | Text(
301 | promoProductItems[index]["discount_price"],
302 | style: TextStyle(
303 | fontWeight: FontWeight.bold,
304 | color: Colors.orange[900],
305 | ),
306 | ),
307 | ],
308 | );
309 | },
310 | ),
311 | ),
312 | ),
313 | ),
314 | ],
315 | );
316 |
317 | var bannerPromoSpesial = Column(
318 | crossAxisAlignment: CrossAxisAlignment.start,
319 | children: [
320 | Container(
321 | padding: EdgeInsets.all(12.0),
322 | child: Text(
323 | "Promo Spesial Pengguna Baru",
324 | style: TextStyle(
325 | fontSize: 16.0,
326 | fontWeight: FontWeight.bold,
327 | color: Colors.grey[800],
328 | ),
329 | ),
330 | ),
331 | Image(
332 | image: AssetImage('assets/images/promo_spesial.png'),
333 | width: MediaQuery.of(context).size.width,
334 | fit: BoxFit.fill,
335 | ),
336 | ],
337 | );
338 |
339 | var bannerBelanjaUntung = Column(
340 | crossAxisAlignment: CrossAxisAlignment.start,
341 | children: [
342 | Container(
343 | padding: EdgeInsets.all(12.0),
344 | child: Text(
345 | "Belanja Untung, Banjir Rezeki",
346 | style: TextStyle(
347 | fontSize: 16.0,
348 | fontWeight: FontWeight.bold,
349 | color: Colors.grey[800],
350 | ),
351 | ),
352 | ),
353 | Image(
354 | image: AssetImage('assets/images/belanja_untung.png'),
355 | width: MediaQuery.of(context).size.width,
356 | fit: BoxFit.fill,
357 | ),
358 | ],
359 | );
360 |
361 | var mostTrendingProductItems = [
362 | {
363 | "image": "assets/images/kado_pernikahan.png",
364 | },
365 | {
366 | "image": "assets/images/sepatu_sandal.png",
367 | },
368 | {
369 | "image": "assets/images/red_lipstick.png",
370 | },
371 | {
372 | "image": "assets/images/cokelat_box.png",
373 | },
374 | {
375 | "image": "assets/images/baju_couple.png",
376 | },
377 | {
378 | "image": "assets/images/buket_bunga.png",
379 | },
380 | ];
381 |
382 | var mostTrendingProduct = Column(
383 | crossAxisAlignment: CrossAxisAlignment.start,
384 | children: [
385 | Container(
386 | padding: EdgeInsets.all(12.0),
387 | child: Text(
388 | "Most Trending Product",
389 | style: TextStyle(
390 | fontSize: 16.0,
391 | fontWeight: FontWeight.bold,
392 | color: Colors.grey[800],
393 | ),
394 | ),
395 | ),
396 | Container(
397 | width: MediaQuery.of(context).size.width,
398 | height: 300.0,
399 | child: IgnorePointer(
400 | child: GridView.count(
401 | crossAxisCount: 3,
402 | children: List.generate(
403 | mostTrendingProductItems.length,
404 | (index) {
405 | return Image(
406 | image: AssetImage(mostTrendingProductItems[index]["image"]),
407 | fit: BoxFit.fill,
408 | );
409 | },
410 | ),
411 | ),
412 | ),
413 | ),
414 | ],
415 | );
416 |
417 | var bannerBeliKebutuhan = Column(
418 | crossAxisAlignment: CrossAxisAlignment.start,
419 | children: [
420 | Container(
421 | padding: EdgeInsets.all(12.0),
422 | child: Text(
423 | "Beli Kebutuhan, Raih Bonusnya",
424 | style: TextStyle(
425 | fontSize: 16.0,
426 | fontWeight: FontWeight.bold,
427 | color: Colors.grey[800],
428 | ),
429 | ),
430 | ),
431 | Image(
432 | image: AssetImage('assets/images/beli_kebutuhan.png'),
433 | width: MediaQuery.of(context).size.width,
434 | fit: BoxFit.fill,
435 | ),
436 | ],
437 | );
438 |
439 | var topupDanTagihan = Container(
440 | height: 320.0,
441 | child: DefaultTabController(
442 | length: 4,
443 | child: Scaffold(
444 | resizeToAvoidBottomPadding: false,
445 | appBar: AppBar(
446 | backgroundColor: Colors.white,
447 | elevation: 1.0,
448 | title: Text(
449 | 'Topup & Tagihan',
450 | style: TextStyle(
451 | color: Colors.grey[800],
452 | ),
453 | ),
454 | bottom: TabBar(
455 | isScrollable: true,
456 | indicatorColor: Colors.green[200],
457 | indicatorWeight: 6.0,
458 | labelColor: Colors.grey[600],
459 | tabs: [
460 | Tab(icon: Text("Pulsa")),
461 | Tab(icon: Text("Paket Data")),
462 | Tab(icon: Text("M-Tix XXI")),
463 | Tab(icon: Text("E-Samsat")),
464 | Container(
465 | width: 0.0,
466 | ),
467 | ],
468 | ),
469 | ),
470 | body: TabBarView(
471 | children: [
472 | Container(
473 | padding: EdgeInsets.all(12.0),
474 | child: Column(
475 | crossAxisAlignment: CrossAxisAlignment.stretch,
476 | children: [
477 | Row(
478 | children: [
479 | Expanded(
480 | child: TextField(
481 | decoration: InputDecoration(
482 | labelText: "Nomor Telepon",
483 | hintText: "Contoh: 082165956565",
484 | alignLabelWithHint: true,
485 | ),
486 | ),
487 | ),
488 | Icon(Icons.contacts),
489 | ],
490 | ),
491 | RaisedButton(
492 | color: Colors.orange[900],
493 | child: Text(
494 | "Beli",
495 | style: TextStyle(
496 | color: Colors.white,
497 | ),
498 | ),
499 | onPressed: () {},
500 | ),
501 | ],
502 | ),
503 | ),
504 | Container(
505 | padding: EdgeInsets.all(12.0),
506 | child: Column(
507 | crossAxisAlignment: CrossAxisAlignment.stretch,
508 | children: [
509 | Row(
510 | children: [
511 | Expanded(
512 | child: TextField(
513 | decoration: InputDecoration(
514 | labelText: "Nomor Telepon",
515 | hintText: "Contoh: 082165956565",
516 | alignLabelWithHint: true,
517 | ),
518 | ),
519 | ),
520 | Icon(Icons.contacts),
521 | ],
522 | ),
523 | RaisedButton(
524 | color: Colors.orange[900],
525 | child: Text(
526 | "Beli",
527 | style: TextStyle(
528 | color: Colors.white,
529 | ),
530 | ),
531 | onPressed: () {},
532 | ),
533 | ],
534 | ),
535 | ),
536 | Container(
537 | padding: EdgeInsets.all(12.0),
538 | child: Column(
539 | crossAxisAlignment: CrossAxisAlignment.stretch,
540 | children: [
541 | Container(
542 | child: Row(
543 | children: [
544 | Expanded(
545 | child: TextField(
546 | decoration: InputDecoration(
547 | labelText: "Nomor Telepon",
548 | hintText: "Contoh: 082165956565",
549 | alignLabelWithHint: true,
550 | border: InputBorder.none,
551 | ),
552 | ),
553 | ),
554 | Image.asset("assets/images/xxi.png"),
555 | ],
556 | ),
557 | decoration: BoxDecoration(
558 | border: Border(
559 | bottom: BorderSide(
560 | width: 1.0,
561 | color: Colors.grey[400],
562 | ),
563 | ),
564 | ),
565 | ),
566 | Column(
567 | crossAxisAlignment: CrossAxisAlignment.stretch,
568 | children: [
569 | DropdownButton(
570 | value: "Rp 300.000",
571 | isExpanded: true,
572 | items: [
573 | DropdownMenuItem(
574 | value: "Rp 300.000",
575 | child: Text("Rp 300.000"),
576 | ),
577 | DropdownMenuItem(
578 | value: "Rp 505.000",
579 | child: Text("Rp 505.000"),
580 | ),
581 | DropdownMenuItem(
582 | value: "Rp 707.000",
583 | child: Text("Rp 707.000"),
584 | ),
585 | ],
586 | onChanged: (value) {},
587 | )
588 | ],
589 | ),
590 | RaisedButton(
591 | color: Colors.orange[900],
592 | child: Text(
593 | "Beli",
594 | style: TextStyle(
595 | color: Colors.white,
596 | ),
597 | ),
598 | onPressed: () {},
599 | ),
600 | ],
601 | ),
602 | ),
603 | Container(
604 | padding: EdgeInsets.all(12.0),
605 | child: Column(
606 | crossAxisAlignment: CrossAxisAlignment.stretch,
607 | children: [
608 | Container(
609 | child: Row(
610 | children: [
611 | Expanded(
612 | child: TextField(
613 | decoration: InputDecoration(
614 | labelText: "Kode Bayar",
615 | hintText: "Contoh: 1234567890",
616 | alignLabelWithHint: true,
617 | border: InputBorder.none,
618 | ),
619 | ),
620 | ),
621 | Image.asset("assets/images/kode_bayar.png"),
622 | ],
623 | ),
624 | decoration: BoxDecoration(
625 | border: Border(
626 | bottom: BorderSide(
627 | width: 1.0,
628 | color: Colors.grey[400],
629 | ),
630 | ),
631 | ),
632 | ),
633 | RaisedButton(
634 | color: Colors.orange[900],
635 | child: Text(
636 | "Beli",
637 | style: TextStyle(
638 | color: Colors.white,
639 | ),
640 | ),
641 | onPressed: () {},
642 | ),
643 | ],
644 | ),
645 | ),
646 | ],
647 | ),
648 | ),
649 | ),
650 | );
651 |
652 | var kategoriPilihanItems = [
653 | {
654 | "image": "assets/images/makanan_kering.png",
655 | },
656 | {
657 | "image": "assets/images/aksesoris_laptop.png",
658 | },
659 | {
660 | "image": "assets/images/figure.png",
661 | },
662 | {
663 | "image": "assets/images/coffe_and_tea_maker.png",
664 | },
665 | {
666 | "image": "assets/images/tas_selempang_pria.png",
667 | },
668 | {
669 | "image": "assets/images/flat_shoes_wanita.png",
670 | },
671 | ];
672 |
673 | var kategoriPilihan = Column(
674 | crossAxisAlignment: CrossAxisAlignment.start,
675 | children: [
676 | Container(
677 | padding: EdgeInsets.all(12.0),
678 | child: Text(
679 | "Kategori Pilihan Untukmu",
680 | style: TextStyle(
681 | fontSize: 16.0,
682 | fontWeight: FontWeight.bold,
683 | color: Colors.grey[800],
684 | ),
685 | ),
686 | ),
687 | Container(
688 | width: MediaQuery.of(context).size.width,
689 | height: 300.0,
690 | child: IgnorePointer(
691 | child: GridView.count(
692 | crossAxisCount: 3,
693 | children: List.generate(
694 | kategoriPilihanItems.length,
695 | (index) {
696 | return Image(
697 | image: AssetImage(kategoriPilihanItems[index]["image"]),
698 | fit: BoxFit.fill,
699 | );
700 | },
701 | ),
702 | ),
703 | ),
704 | ),
705 | ],
706 | );
707 |
708 | return Scaffold(
709 | appBar: AppBar(
710 | backgroundColor: Colors.white,
711 | title: Row(
712 | children: [
713 | Container(
714 | padding: EdgeInsets.only(right: 12.0),
715 | child: Image.asset(
716 | "assets/images/qrcode.png",
717 | width: 30,
718 | height: 30,
719 | ),
720 | ),
721 | Expanded(
722 | child: Container(
723 | padding: EdgeInsets.all(8.0),
724 | decoration: BoxDecoration(
725 | color: Colors.grey[100],
726 | borderRadius: BorderRadius.all(Radius.circular(12.0)),
727 | ),
728 | child: Row(
729 | children: [
730 | Icon(
731 | Icons.search,
732 | color: Colors.grey[400],
733 | ),
734 | Text(
735 | "Cari di Tokopedia",
736 | style: TextStyle(
737 | color: Colors.grey[400],
738 | fontSize: 14.0,
739 | ),
740 | ),
741 | ],
742 | ),
743 | ),
744 | ),
745 | ],
746 | ),
747 | actions: [
748 | BadgeIconButton(
749 | itemCount: 0,
750 | icon: Icon(
751 | Icons.favorite,
752 | size: 28.0,
753 | color: Colors.grey[400],
754 | ),
755 | badgeColor: Colors.red,
756 | badgeTextColor: Colors.white,
757 | hideZeroCount: true,
758 | onPressed: () {}),
759 | BadgeIconButton(
760 | itemCount: 4,
761 | icon: Icon(
762 | Icons.notifications,
763 | size: 28.0,
764 | color: Colors.grey[400],
765 | ),
766 | badgeColor: Colors.red,
767 | badgeTextColor: Colors.white,
768 | hideZeroCount: true,
769 | onPressed: () {}),
770 | ],
771 | ),
772 | bottomNavigationBar: BottomNavigationBar(
773 | type: BottomNavigationBarType.fixed,
774 | currentIndex: 0, // this will be set when a tab is tapped
775 | items: [
776 | BottomNavigationBarItem(
777 | icon: Icon(Icons.home),
778 | title: Text('Home'),
779 | ),
780 | BottomNavigationBarItem(
781 | icon: Icon(Icons.book),
782 | title: Text('Feed'),
783 | ),
784 | BottomNavigationBarItem(
785 | icon: Icon(Icons.mail),
786 | title: Text('Inbox'),
787 | ),
788 | BottomNavigationBarItem(
789 | icon: Icon(Icons.shopping_cart),
790 | title: Text('Keranjang'),
791 | ),
792 | BottomNavigationBarItem(
793 | icon: Icon(Icons.people),
794 | title: Text('Akun'),
795 | ),
796 | ],
797 | ),
798 | body: SingleChildScrollView(
799 | child: Column(
800 | children: [
801 | imageSlider,
802 | mainMenuList,
803 | greyArea,
804 | promoProduct,
805 | greyArea,
806 | bannerPromoSpesial,
807 | greyArea,
808 | bannerBelanjaUntung,
809 | greyArea,
810 | mostTrendingProduct,
811 | greyArea,
812 | bannerBeliKebutuhan,
813 | greyArea,
814 | topupDanTagihan,
815 | greyArea,
816 | kategoriPilihan,
817 | ],
818 | ),
819 | ),
820 | );
821 | }
822 | }
823 |
--------------------------------------------------------------------------------
/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: tokopedia_dashboard
2 | description: A new Flutter project.
3 |
4 | # The following defines the version and build number for your application.
5 | # A version number is three numbers separated by dots, like 1.2.43
6 | # followed by an optional build number separated by a +.
7 | # Both the version and the builder number may be overridden in flutter
8 | # build by specifying --build-name and --build-number, respectively.
9 | # Read more about versioning at semver.org.
10 | version: 1.0.0+1
11 |
12 | environment:
13 | sdk: ">=2.1.0 <3.0.0"
14 |
15 | dependencies:
16 | flutter:
17 | sdk: flutter
18 |
19 | # The following adds the Cupertino Icons font to your application.
20 | # Use with the CupertinoIcons class for iOS style icons.
21 | cupertino_icons: ^0.1.2
22 | badges: ^0.0.6
23 | bloc: ^0.8.3
24 |
25 | dev_dependencies:
26 | flutter_test:
27 | sdk: flutter
28 |
29 |
30 | # For information on the generic Dart part of this file, see the
31 | # following page: https://www.dartlang.org/tools/pub/pubspec
32 |
33 | # The following section is specific to Flutter.
34 | flutter:
35 |
36 | # The following line ensures that the Material Icons font is
37 | # included with your application, so that you can use the icons in
38 | # the material Icons class.
39 | uses-material-design: true
40 |
41 | # To add assets to your application, add an assets section, like this:
42 | assets:
43 | - assets/images/
44 | - assets/images/category/
45 | - assets/images/product/
46 | # - images/a_dot_ham.jpeg
47 |
48 | # An image asset can refer to one or more resolution-specific "variants", see
49 | # https://flutter.io/assets-and-images/#resolution-aware.
50 |
51 | # For details regarding adding assets from package dependencies, see
52 | # https://flutter.io/assets-and-images/#from-packages
53 |
54 | # To add custom fonts to your application, add a fonts section here,
55 | # in this "flutter" section. Each entry in this list should have a
56 | # "family" key with the font family name, and a "fonts" key with a
57 | # list giving the asset and other descriptors for the font. For
58 | # example:
59 | # fonts:
60 | # - family: Schyler
61 | # fonts:
62 | # - asset: fonts/Schyler-Regular.ttf
63 | # - asset: fonts/Schyler-Italic.ttf
64 | # style: italic
65 | # - family: Trajan Pro
66 | # fonts:
67 | # - asset: fonts/TrajanPro.ttf
68 | # - asset: fonts/TrajanPro_Bold.ttf
69 | # weight: 700
70 | #
71 | # For details regarding fonts from package dependencies,
72 | # see https://flutter.io/custom-fonts/#from-packages
73 |
--------------------------------------------------------------------------------