├── .gitignore
├── .metadata
├── .vscode
└── launch.json
├── README.md
├── analysis_options.yaml
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── kotlin
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── foodly_ui
│ │ │ │ └── MainActivity.kt
│ │ └── res
│ │ │ ├── drawable-v21
│ │ │ └── launch_background.xml
│ │ │ ├── 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-night
│ │ │ └── styles.xml
│ │ │ └── values
│ │ │ └── styles.xml
│ │ └── profile
│ │ └── AndroidManifest.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
└── settings.gradle
├── assets
├── Illustrations
│ ├── Illustrations_1.svg
│ ├── Illustrations_2.svg
│ └── Illustrations_3.svg
├── font
│ └── SF Pro Text
│ │ ├── SFProText-Bold.ttf
│ │ ├── SFProText-Medium.ttf
│ │ ├── SFProText-Regular.ttf
│ │ └── SFProText-Semibold.ttf
├── icons
│ ├── back.svg
│ ├── camera.svg
│ ├── card.svg
│ ├── cart.svg
│ ├── clock.svg
│ ├── close.svg
│ ├── delivery.svg
│ ├── document.svg
│ ├── done.svg
│ ├── facebook.svg
│ ├── fast-delivery.svg
│ ├── fb.svg
│ ├── fire.svg
│ ├── food.svg
│ ├── forward.svg
│ ├── google.svg
│ ├── home.svg
│ ├── invisible.svg
│ ├── location.svg
│ ├── lock.svg
│ ├── logout.svg
│ ├── marker.svg
│ ├── minus.svg
│ ├── notify.svg
│ ├── order.svg
│ ├── phone.svg
│ ├── plus.svg
│ ├── profile.svg
│ ├── rating.svg
│ ├── recomended.svg
│ ├── search.svg
│ ├── share.svg
│ └── visible.svg
└── images
│ ├── Banner.png
│ ├── Header-image.png
│ ├── big_1.png
│ ├── big_2.png
│ ├── big_3.png
│ ├── big_4.png
│ ├── featured _items_1.png
│ ├── featured _items_2.png
│ ├── featured _items_3.png
│ ├── medium_1.png
│ ├── medium_2.png
│ ├── medium_3.png
│ └── medium_4.png
├── foodly_thun.png
├── ios
├── .gitignore
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ ├── IDEWorkspaceChecks.plist
│ │ │ └── WorkspaceSettings.xcsettings
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ ├── IDEWorkspaceChecks.plist
│ │ └── WorkspaceSettings.xcsettings
├── Runner
│ ├── AppDelegate.swift
│ ├── Assets.xcassets
│ │ ├── AppIcon.appiconset
│ │ │ ├── Contents.json
│ │ │ ├── Icon-App-1024x1024@1x.png
│ │ │ ├── Icon-App-20x20@1x.png
│ │ │ ├── Icon-App-20x20@2x.png
│ │ │ ├── Icon-App-20x20@3x.png
│ │ │ ├── Icon-App-29x29@1x.png
│ │ │ ├── Icon-App-29x29@2x.png
│ │ │ ├── Icon-App-29x29@3x.png
│ │ │ ├── Icon-App-40x40@1x.png
│ │ │ ├── Icon-App-40x40@2x.png
│ │ │ ├── Icon-App-40x40@3x.png
│ │ │ ├── Icon-App-60x60@2x.png
│ │ │ ├── Icon-App-60x60@3x.png
│ │ │ ├── Icon-App-76x76@1x.png
│ │ │ ├── Icon-App-76x76@2x.png
│ │ │ └── Icon-App-83.5x83.5@2x.png
│ │ └── LaunchImage.imageset
│ │ │ ├── Contents.json
│ │ │ ├── LaunchImage.png
│ │ │ ├── LaunchImage@2x.png
│ │ │ ├── LaunchImage@3x.png
│ │ │ └── README.md
│ ├── Base.lproj
│ │ ├── LaunchScreen.storyboard
│ │ └── Main.storyboard
│ ├── Info.plist
│ └── Runner-Bridging-Header.h
└── RunnerTests
│ └── RunnerTests.swift
├── lib
├── components
│ ├── buttons
│ │ ├── fitted_button.dart
│ │ ├── primary_button.dart
│ │ ├── secondery_button.dart
│ │ └── socal_button.dart
│ ├── cards
│ │ ├── big
│ │ │ ├── big_card_image.dart
│ │ │ ├── big_card_image_slide.dart
│ │ │ └── restaurant_info_big_card.dart
│ │ ├── iteam_card.dart
│ │ └── medium
│ │ │ └── restaurant_info_medium_card.dart
│ ├── dot_indicators.dart
│ ├── price_range_and_food_type.dart
│ ├── rating.dart
│ ├── rating_with_counter.dart
│ ├── scalton
│ │ ├── big_card_image_slide_scalton.dart
│ │ ├── big_card_scalton.dart
│ │ ├── medium_card_scalton.dart
│ │ ├── scalton_line.dart
│ │ └── scalton_rounded_container.dart
│ ├── section_title.dart
│ ├── small_dot.dart
│ └── welcome_text.dart
├── constants.dart
├── demo_data.dart
├── entry_point.dart
├── main.dart
├── screens
│ ├── addToOrder
│ │ ├── add_to_order_screen.dart
│ │ └── components
│ │ │ ├── info.dart
│ │ │ ├── required_section_title.dart
│ │ │ ├── rounded_button.dart
│ │ │ └── rounded_checkedbox_list_tile.dart
│ ├── auth
│ │ ├── components
│ │ │ └── sign_in_form.dart
│ │ ├── forgot_password_screen.dart
│ │ ├── reset_email_sent_screen.dart
│ │ ├── sign_in_screen.dart
│ │ └── sign_up_screen.dart
│ ├── details
│ │ ├── components
│ │ │ ├── featured_item_card.dart
│ │ │ ├── featured_items.dart
│ │ │ ├── iteams.dart
│ │ │ └── restaurrant_info.dart
│ │ └── details_screen.dart
│ ├── featured
│ │ ├── components
│ │ │ └── body.dart
│ │ └── featurred_screen.dart
│ ├── filter
│ │ ├── components
│ │ │ ├── categories.dart
│ │ │ ├── dietaries.dart
│ │ │ └── price_range.dart
│ │ └── filter_screen.dart
│ ├── findRestaurants
│ │ └── find_restaurants_screen.dart
│ ├── home
│ │ ├── components
│ │ │ ├── medium_card_list.dart
│ │ │ └── promotion_banner.dart
│ │ └── home_screen.dart
│ ├── onboarding
│ │ ├── components
│ │ │ └── onboard_content.dart
│ │ └── onboarding_scrreen.dart
│ ├── orderDetails
│ │ ├── components
│ │ │ ├── order_item_card.dart
│ │ │ ├── price_row.dart
│ │ │ └── total_price.dart
│ │ └── order_details_screen.dart
│ ├── phoneLogin
│ │ ├── components
│ │ │ └── otp_form.dart
│ │ ├── number_verify_screen.dart
│ │ └── phone_login_screen.dart
│ ├── profile
│ │ ├── components
│ │ │ └── body.dart
│ │ └── profile_screen.dart
│ ├── search
│ │ ├── components
│ │ │ └── body.dart
│ │ └── search_screen.dart
│ └── signUp
│ │ └── components
│ │ ├── body.dart
│ │ └── sign_up_form.dart
└── theme.dart
├── preview.png
├── pubspec.lock
├── pubspec.yaml
├── test
└── widget_test.dart
└── windows
├── .gitignore
├── CMakeLists.txt
├── flutter
├── CMakeLists.txt
├── generated_plugin_registrant.cc
├── generated_plugin_registrant.h
└── generated_plugins.cmake
└── runner
├── CMakeLists.txt
├── Runner.rc
├── flutter_window.cpp
├── flutter_window.h
├── main.cpp
├── resource.h
├── resources
└── app_icon.ico
├── runner.exe.manifest
├── utils.cpp
├── utils.h
├── win32_window.cpp
└── win32_window.h
/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 | migrate_working_dir/
12 |
13 | # IntelliJ related
14 | *.iml
15 | *.ipr
16 | *.iws
17 | .idea/
18 |
19 | # The .vscode folder contains launch configuration and tasks you configure in
20 | # VS Code which you may wish to be included in version control, so this line
21 | # is commented out by default.
22 | #.vscode/
23 |
24 | # Flutter/Dart/Pub related
25 | **/doc/api/
26 | **/ios/Flutter/.last_build_id
27 | .dart_tool/
28 | .flutter-plugins
29 | .flutter-plugins-dependencies
30 | .packages
31 | .pub-cache/
32 | .pub/
33 | /build/
34 |
35 | # Symbolication related
36 | app.*.symbols
37 |
38 | # Obfuscation related
39 | app.*.map.json
40 |
41 | # Android Studio will place build artifacts here
42 | /android/app/debug
43 | /android/app/profile
44 | /android/app/release
45 |
--------------------------------------------------------------------------------
/.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.
5 |
6 | version:
7 | revision: 9cd3d0d9ff05768afa249e036acc66e8abe93bff
8 | channel: stable
9 |
10 | project_type: app
11 |
12 | # Tracks metadata for the flutter migrate command
13 | migration:
14 | platforms:
15 | - platform: root
16 | create_revision: 9cd3d0d9ff05768afa249e036acc66e8abe93bff
17 | base_revision: 9cd3d0d9ff05768afa249e036acc66e8abe93bff
18 | - platform: android
19 | create_revision: 9cd3d0d9ff05768afa249e036acc66e8abe93bff
20 | base_revision: 9cd3d0d9ff05768afa249e036acc66e8abe93bff
21 | - platform: ios
22 | create_revision: 9cd3d0d9ff05768afa249e036acc66e8abe93bff
23 | base_revision: 9cd3d0d9ff05768afa249e036acc66e8abe93bff
24 | - platform: linux
25 | create_revision: 9cd3d0d9ff05768afa249e036acc66e8abe93bff
26 | base_revision: 9cd3d0d9ff05768afa249e036acc66e8abe93bff
27 | - platform: macos
28 | create_revision: 9cd3d0d9ff05768afa249e036acc66e8abe93bff
29 | base_revision: 9cd3d0d9ff05768afa249e036acc66e8abe93bff
30 | - platform: web
31 | create_revision: 9cd3d0d9ff05768afa249e036acc66e8abe93bff
32 | base_revision: 9cd3d0d9ff05768afa249e036acc66e8abe93bff
33 | - platform: windows
34 | create_revision: 9cd3d0d9ff05768afa249e036acc66e8abe93bff
35 | base_revision: 9cd3d0d9ff05768afa249e036acc66e8abe93bff
36 |
37 | # User provided section
38 |
39 | # List of Local paths (relative to this file) that should be
40 | # ignored by the migrate tool.
41 | #
42 | # Files that are not part of the templates will be ignored by default.
43 | unmanaged_files:
44 | - 'lib/main.dart'
45 | - 'ios/Runner.xcodeproj/project.pbxproj'
46 |
--------------------------------------------------------------------------------
/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to learn about possible attributes.
3 | // Hover to view descriptions of existing attributes.
4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5 | "version": "0.2.0",
6 | "configurations": [
7 | {
8 | "name": "foodly_ui",
9 | "request": "launch",
10 | "type": "dart"
11 | },
12 | {
13 | "name": "foodly_ui (profile mode)",
14 | "request": "launch",
15 | "type": "dart",
16 | "flutterMode": "profile"
17 | },
18 | {
19 | "name": "foodly_ui (release mode)",
20 | "request": "launch",
21 | "type": "dart",
22 | "flutterMode": "release"
23 | }
24 | ]
25 | }
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Restaurant/Food Delivery App UI kit in Flutter
2 |
3 | We build Flutter Restaurant/Food delivery app UI Kit to help you build a nice clean app for restaurent using flutter which runs both Android and iOS. This kit comes packed with 25 beautifully designed screens and a hearty portion of deliciously responsive components. Also, we have skeleton loading and have separate components for both Android and iOS so that you feel the native experience.
4 |
5 | ## Screenshots
6 |
7 | 
8 |
9 | 
10 |
--------------------------------------------------------------------------------
/analysis_options.yaml:
--------------------------------------------------------------------------------
1 | # This file configures the analyzer, which statically analyzes Dart code to
2 | # check for errors, warnings, and lints.
3 | #
4 | # The issues identified by the analyzer are surfaced in the UI of Dart-enabled
5 | # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
6 | # invoked from the command line by running `flutter analyze`.
7 |
8 | # The following line activates a set of recommended lints for Flutter apps,
9 | # packages, and plugins designed to encourage good coding practices.
10 | include: package:flutter_lints/flutter.yaml
11 |
12 | linter:
13 | # The lint rules applied to this project can be customized in the
14 | # section below to disable rules from the `package:flutter_lints/flutter.yaml`
15 | # included above or to enable additional rules. A list of all available lints
16 | # and their documentation is published at
17 | # https://dart-lang.github.io/linter/lints/index.html.
18 | #
19 | # Instead of disabling a lint rule for the entire project in the
20 | # section below, it can also be suppressed for a single line of code
21 | # or a specific dart file by using the `// ignore: name_of_lint` and
22 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file
23 | # producing the lint.
24 | rules:
25 | # avoid_print: false # Uncomment to disable the `avoid_print` rule
26 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
27 |
28 | # Additional information about this file can be found at
29 | # https://dart.dev/guides/language/analysis-options
30 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11 | key.properties
12 | **/*.keystore
13 | **/*.jks
14 |
--------------------------------------------------------------------------------
/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 | namespace "com.example.foodly_ui"
30 | compileSdkVersion flutter.compileSdkVersion
31 | ndkVersion flutter.ndkVersion
32 |
33 | compileOptions {
34 | sourceCompatibility JavaVersion.VERSION_1_8
35 | targetCompatibility JavaVersion.VERSION_1_8
36 | }
37 |
38 | kotlinOptions {
39 | jvmTarget = '1.8'
40 | }
41 |
42 | sourceSets {
43 | main.java.srcDirs += 'src/main/kotlin'
44 | }
45 |
46 | defaultConfig {
47 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
48 | applicationId "com.example.foodly_ui"
49 | // You can update the following values to match your application needs.
50 | // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
51 | minSdkVersion flutter.minSdkVersion
52 | targetSdkVersion flutter.targetSdkVersion
53 | versionCode flutterVersionCode.toInteger()
54 | versionName flutterVersionName
55 | }
56 |
57 | buildTypes {
58 | release {
59 | // TODO: Add your own signing config for the release build.
60 | // Signing with the debug keys for now, so `flutter run --release` works.
61 | signingConfig signingConfigs.debug
62 | }
63 | }
64 | }
65 |
66 | flutter {
67 | source '../..'
68 | }
69 |
70 | dependencies {
71 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
72 | }
73 |
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
14 |
18 |
22 |
23 |
24 |
25 |
26 |
27 |
29 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/com/example/foodly_ui/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.example.foodly_ui
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity() {
6 | }
7 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-v21/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/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/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values-night/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.7.10'
3 | repositories {
4 | google()
5 | mavenCentral()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:7.3.0'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | }
12 | }
13 |
14 | allprojects {
15 | repositories {
16 | google()
17 | mavenCentral()
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 | tasks.register("clean", Delete) {
30 | delete rootProject.buildDir
31 | }
32 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.useAndroidX=true
3 | android.enableJetifier=true
4 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | zipStoreBase=GRADLE_USER_HOME
4 | zipStorePath=wrapper/dists
5 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
6 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
4 | def properties = new Properties()
5 |
6 | assert localPropertiesFile.exists()
7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
8 |
9 | def flutterSdkPath = properties.getProperty("flutter.sdk")
10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
12 |
--------------------------------------------------------------------------------
/assets/font/SF Pro Text/SFProText-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/assets/font/SF Pro Text/SFProText-Bold.ttf
--------------------------------------------------------------------------------
/assets/font/SF Pro Text/SFProText-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/assets/font/SF Pro Text/SFProText-Medium.ttf
--------------------------------------------------------------------------------
/assets/font/SF Pro Text/SFProText-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/assets/font/SF Pro Text/SFProText-Regular.ttf
--------------------------------------------------------------------------------
/assets/font/SF Pro Text/SFProText-Semibold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/assets/font/SF Pro Text/SFProText-Semibold.ttf
--------------------------------------------------------------------------------
/assets/icons/back.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/camera.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/card.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/cart.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/clock.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/close.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/delivery.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/document.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/done.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/facebook.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
41 |
--------------------------------------------------------------------------------
/assets/icons/fast-delivery.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/fb.svg:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/assets/icons/fire.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/food.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/forward.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/google.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
48 |
--------------------------------------------------------------------------------
/assets/icons/home.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/invisible.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/location.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/lock.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/logout.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/marker.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/minus.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/notify.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/order.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/phone.svg:
--------------------------------------------------------------------------------
1 |
5 |
--------------------------------------------------------------------------------
/assets/icons/plus.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/profile.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/rating.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/recomended.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/search.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/share.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/icons/visible.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/assets/images/Banner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/assets/images/Banner.png
--------------------------------------------------------------------------------
/assets/images/Header-image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/assets/images/Header-image.png
--------------------------------------------------------------------------------
/assets/images/big_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/assets/images/big_1.png
--------------------------------------------------------------------------------
/assets/images/big_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/assets/images/big_2.png
--------------------------------------------------------------------------------
/assets/images/big_3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/assets/images/big_3.png
--------------------------------------------------------------------------------
/assets/images/big_4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/assets/images/big_4.png
--------------------------------------------------------------------------------
/assets/images/featured _items_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/assets/images/featured _items_1.png
--------------------------------------------------------------------------------
/assets/images/featured _items_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/assets/images/featured _items_2.png
--------------------------------------------------------------------------------
/assets/images/featured _items_3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/assets/images/featured _items_3.png
--------------------------------------------------------------------------------
/assets/images/medium_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/assets/images/medium_1.png
--------------------------------------------------------------------------------
/assets/images/medium_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/assets/images/medium_2.png
--------------------------------------------------------------------------------
/assets/images/medium_3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/assets/images/medium_3.png
--------------------------------------------------------------------------------
/assets/images/medium_4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/assets/images/medium_4.png
--------------------------------------------------------------------------------
/foodly_thun.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/foodly_thun.png
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | **/dgph
2 | *.mode1v3
3 | *.mode2v3
4 | *.moved-aside
5 | *.pbxuser
6 | *.perspectivev3
7 | **/*sync/
8 | .sconsign.dblite
9 | .tags*
10 | **/.vagrant/
11 | **/DerivedData/
12 | Icon?
13 | **/Pods/
14 | **/.symlinks/
15 | profile
16 | xcuserdata
17 | **/.generated/
18 | Flutter/App.framework
19 | Flutter/Flutter.framework
20 | Flutter/Flutter.podspec
21 | Flutter/Generated.xcconfig
22 | Flutter/ephemeral/
23 | Flutter/app.flx
24 | Flutter/app.zip
25 | Flutter/flutter_assets/
26 | Flutter/flutter_export_environment.sh
27 | ServiceDefinitions.json
28 | Runner/GeneratedPluginRegistrant.*
29 |
30 | # Exceptions to above rules.
31 | !default.mode1v3
32 | !default.mode2v3
33 | !default.pbxuser
34 | !default.perspectivev3
35 |
--------------------------------------------------------------------------------
/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 | 12.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.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
37 |
38 |
39 |
40 |
43 |
49 |
50 |
51 |
52 |
53 |
63 |
65 |
71 |
72 |
73 |
74 |
80 |
82 |
88 |
89 |
90 |
91 |
93 |
94 |
97 |
98 |
99 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/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/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/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/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/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/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/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/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/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/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/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/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/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/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/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/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/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/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/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/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/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/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/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/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/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/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/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/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/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/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abuanwar072/foodly_ui/54c3cb2a5b11ed157bb8eefa57f65fd1d8b44318/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 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleDisplayName
8 | Foodly Ui
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | foodly_ui
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | $(FLUTTER_BUILD_NAME)
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | $(FLUTTER_BUILD_NUMBER)
25 | LSRequiresIPhoneOS
26 |
27 | UILaunchStoryboardName
28 | LaunchScreen
29 | UIMainStoryboardFile
30 | Main
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 | UIInterfaceOrientationPortraitUpsideDown
41 | UIInterfaceOrientationLandscapeLeft
42 | UIInterfaceOrientationLandscapeRight
43 |
44 | UIViewControllerBasedStatusBarAppearance
45 |
46 | CADisableMinimumFrameDurationOnPhone
47 |
48 | UIApplicationSupportsIndirectInputEvents
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/ios/RunnerTests/RunnerTests.swift:
--------------------------------------------------------------------------------
1 | import Flutter
2 | import UIKit
3 | import XCTest
4 |
5 | class RunnerTests: XCTestCase {
6 |
7 | func testExample() {
8 | // If you add code to the Runner application, consider adding tests here.
9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest.
10 | }
11 |
12 | }
13 |
--------------------------------------------------------------------------------
/lib/components/buttons/fitted_button.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import '../../constants.dart';
4 |
5 | class FittedButton extends StatelessWidget {
6 | const FittedButton({
7 | super.key,
8 | this.isActive = false,
9 | required this.text,
10 | required this.press,
11 | });
12 |
13 | final bool? isActive;
14 | final String? text;
15 | final VoidCallback press;
16 |
17 | @override
18 | Widget build(BuildContext context) {
19 | return ElevatedButton(
20 | style: TextButton.styleFrom(
21 | padding: const EdgeInsets.symmetric(horizontal: defaultPadding * 1.5),
22 | backgroundColor: isActive! ? primaryColor : const Color(0xFFF1F1F1),
23 | ),
24 | onPressed: press,
25 | child: Text(
26 | text!.toUpperCase(),
27 | style: TextStyle(
28 | fontSize: 12,
29 | color: isActive! ? Colors.white : titleColor.withOpacity(0.54),
30 | fontWeight: FontWeight.w500,
31 | ),
32 | ),
33 | );
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/lib/components/buttons/primary_button.dart:
--------------------------------------------------------------------------------
1 | import 'dart:io';
2 |
3 | import 'package:flutter/cupertino.dart';
4 | import 'package:flutter/material.dart';
5 |
6 | import '../../constants.dart';
7 |
8 | class PrimaryButton extends StatelessWidget {
9 | final String text;
10 | final GestureTapCallback press;
11 |
12 | const PrimaryButton({super.key, required this.text, required this.press});
13 |
14 | @override
15 | Widget build(BuildContext context) {
16 | EdgeInsets verticalPadding =
17 | const EdgeInsets.symmetric(vertical: defaultPadding);
18 | return SizedBox(
19 | width: double.infinity,
20 | child: Platform.isIOS
21 | ? CupertinoButton(
22 | padding: verticalPadding,
23 | color: primaryColor,
24 | onPressed: press,
25 | child: buildText(context),
26 | )
27 | : ElevatedButton(
28 | style: TextButton.styleFrom(
29 | padding: verticalPadding,
30 | backgroundColor: primaryColor,
31 | ),
32 | onPressed: press,
33 | child: buildText(context),
34 | ),
35 | );
36 | }
37 |
38 | Text buildText(BuildContext context) {
39 | return Text(
40 | text.toUpperCase(),
41 | style: kButtonTextStyle,
42 | );
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/lib/components/buttons/secondery_button.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import '../../constants.dart';
4 |
5 | class SeconderyButton extends StatelessWidget {
6 | const SeconderyButton({
7 | super.key,
8 | required this.child,
9 | required this.press,
10 | });
11 |
12 | final Widget child;
13 | final VoidCallback press;
14 |
15 | @override
16 | Widget build(BuildContext context) {
17 | return SizedBox(
18 | width: double.infinity,
19 | child: OutlinedButton(
20 | onPressed: press,
21 | style: OutlinedButton.styleFrom(
22 | padding: const EdgeInsets.symmetric(
23 | horizontal: defaultPadding, vertical: 12),
24 | shape: const RoundedRectangleBorder(
25 | borderRadius: BorderRadius.all(Radius.circular(8)),
26 | side: BorderSide(color: primaryColor, width: 0.8),
27 | ),
28 | ),
29 | child: child,
30 | ),
31 | );
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/lib/components/buttons/socal_button.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class SocalButton extends StatelessWidget {
4 | final Color color;
5 | final String text;
6 | final Widget icon;
7 | final GestureTapCallback press;
8 |
9 | const SocalButton({
10 | super.key,
11 | required this.color,
12 | required this.icon,
13 | required this.press,
14 | required this.text,
15 | });
16 |
17 | @override
18 | Widget build(BuildContext context) {
19 | const padding = EdgeInsets.symmetric(horizontal: 16, vertical: 8);
20 | return SizedBox(
21 | width: double.infinity,
22 | child: ElevatedButton(
23 | style: ElevatedButton.styleFrom(
24 | padding: padding,
25 | backgroundColor: color,
26 | shape: const RoundedRectangleBorder(
27 | borderRadius: BorderRadius.all(Radius.circular(8))),
28 | ),
29 | onPressed: press,
30 | child: Row(
31 | children: [
32 | Container(
33 | padding: const EdgeInsets.all(8),
34 | height: 28,
35 | width: 28,
36 | decoration: const BoxDecoration(
37 | color: Colors.white,
38 | borderRadius: BorderRadius.all(Radius.circular(4)),
39 | ),
40 | child: icon,
41 | ),
42 | const Spacer(flex: 2),
43 | Text(
44 | text.toUpperCase(),
45 | style: Theme.of(context)
46 | .textTheme
47 | .bodySmall!
48 | .copyWith(color: Colors.white, fontWeight: FontWeight.w600),
49 | ),
50 | const Spacer(flex: 3),
51 | ],
52 | ),
53 | ),
54 | );
55 | }
56 | }
57 |
--------------------------------------------------------------------------------
/lib/components/cards/big/big_card_image.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class BigCardImage extends StatelessWidget {
4 | const BigCardImage({
5 | super.key,
6 | required this.image,
7 | });
8 |
9 | final String image;
10 |
11 | @override
12 | Widget build(BuildContext context) {
13 | return Container(
14 | decoration: BoxDecoration(
15 | borderRadius: const BorderRadius.all(Radius.circular(12)),
16 | image: DecorationImage(
17 | // for newtowk image use NetworkImage()
18 | image: AssetImage(image),
19 | fit: BoxFit.cover,
20 | ),
21 | ),
22 | );
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/lib/components/cards/big/big_card_image_slide.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import '../../../constants.dart';
3 |
4 | import '../../dot_indicators.dart';
5 | import 'big_card_image.dart';
6 |
7 | class BigCardImageSlide extends StatefulWidget {
8 | const BigCardImageSlide({
9 | super.key,
10 | required this.images,
11 | });
12 |
13 | final List images;
14 |
15 | @override
16 | State createState() => _BigCardImageSlideState();
17 | }
18 |
19 | class _BigCardImageSlideState extends State {
20 | int intialIndex = 0;
21 |
22 | @override
23 | Widget build(BuildContext context) {
24 | return AspectRatio(
25 | aspectRatio: 1.81,
26 | child: Stack(
27 | children: [
28 | PageView.builder(
29 | onPageChanged: (value) {
30 | setState(() {
31 | intialIndex = value;
32 | });
33 | },
34 | itemCount: widget.images.length,
35 | itemBuilder: (context, index) =>
36 | BigCardImage(image: widget.images[index]),
37 | ),
38 | Positioned(
39 | bottom: defaultPadding,
40 | right: defaultPadding,
41 | child: Row(
42 | children: List.generate(
43 | widget.images.length,
44 | (index) => DotIndicator(
45 | isActive: intialIndex == index,
46 | activeColor: Colors.white,
47 | inActiveColor: Colors.white,
48 | ),
49 | ),
50 | ),
51 | )
52 | ],
53 | ),
54 | );
55 | }
56 | }
57 |
--------------------------------------------------------------------------------
/lib/components/cards/big/restaurant_info_big_card.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_svg/flutter_svg.dart';
3 |
4 | import '../../../constants.dart';
5 | import '../../price_range_and_food_type.dart';
6 | import '../../rating_with_counter.dart';
7 | import '../../small_dot.dart';
8 | import 'big_card_image_slide.dart';
9 |
10 | class RestaurantInfoBigCard extends StatelessWidget {
11 | final List images, foodType;
12 | final String name;
13 | final double rating;
14 | final int numOfRating, deliveryTime;
15 | final bool isFreeDelivery;
16 | final VoidCallback press;
17 |
18 | const RestaurantInfoBigCard({
19 | super.key,
20 | required this.name,
21 | required this.rating,
22 | required this.numOfRating,
23 | required this.deliveryTime,
24 | this.isFreeDelivery = true,
25 | required this.images,
26 | required this.foodType,
27 | required this.press,
28 | });
29 | @override
30 | Widget build(BuildContext context) {
31 | return InkWell(
32 | onTap: press,
33 | child: Column(
34 | crossAxisAlignment: CrossAxisAlignment.start,
35 | children: [
36 | // pass list of images here
37 | BigCardImageSlide(images: images),
38 | const SizedBox(height: defaultPadding / 2),
39 | Text(name, style: Theme.of(context).textTheme.titleLarge),
40 | const SizedBox(height: defaultPadding / 4),
41 | PriceRangeAndFoodtype(foodType: foodType),
42 | const SizedBox(height: defaultPadding / 4),
43 | Row(
44 | children: [
45 | RatingWithCounter(rating: rating, numOfRating: numOfRating),
46 | const SizedBox(width: defaultPadding / 2),
47 | SvgPicture.asset(
48 | "assets/icons/clock.svg",
49 | height: 20,
50 | width: 20,
51 | colorFilter: ColorFilter.mode(
52 | Theme.of(context)
53 | .textTheme
54 | .bodyLarge!
55 | .color!
56 | .withOpacity(0.5),
57 | BlendMode.srcIn,
58 | ),
59 | ),
60 | const SizedBox(width: 8),
61 | Text(
62 | "$deliveryTime Min",
63 | style: Theme.of(context).textTheme.labelSmall,
64 | ),
65 | const Padding(
66 | padding: EdgeInsets.symmetric(horizontal: defaultPadding / 2),
67 | child: SmallDot(),
68 | ),
69 | SvgPicture.asset(
70 | "assets/icons/delivery.svg",
71 | height: 20,
72 | width: 20,
73 | colorFilter: ColorFilter.mode(
74 | Theme.of(context)
75 | .textTheme
76 | .bodyLarge!
77 | .color!
78 | .withOpacity(0.5),
79 | BlendMode.srcIn,
80 | ),
81 | ),
82 | const SizedBox(width: 8),
83 | Text(isFreeDelivery ? "Free" : "Paid",
84 | style: Theme.of(context).textTheme.labelSmall),
85 | ],
86 | ),
87 | ],
88 | ),
89 | );
90 | }
91 | }
92 |
--------------------------------------------------------------------------------
/lib/components/cards/iteam_card.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import '../../constants.dart';
4 |
5 | import '../small_dot.dart';
6 |
7 | class ItemCard extends StatelessWidget {
8 | const ItemCard({
9 | super.key,
10 | required this.title,
11 | required this.description,
12 | required this.image,
13 | required this.foodType,
14 | required this.price,
15 | required this.priceRange,
16 | required this.press,
17 | });
18 |
19 | final String? title, description, image, foodType, priceRange;
20 | final double? price;
21 | final VoidCallback press;
22 |
23 | @override
24 | Widget build(BuildContext context) {
25 | TextStyle textStyle = Theme.of(context).textTheme.labelLarge!.copyWith(
26 | color: titleColor.withOpacity(0.64),
27 | fontWeight: FontWeight.normal,
28 | );
29 | return InkWell(
30 | borderRadius: const BorderRadius.all(Radius.circular(8)),
31 | onTap: press,
32 | child: Padding(
33 | padding: const EdgeInsets.all(5.0),
34 | child: SizedBox(
35 | height: 110,
36 | child: Row(
37 | children: [
38 | AspectRatio(
39 | aspectRatio: 1,
40 | child: ClipRRect(
41 | borderRadius: const BorderRadius.all(Radius.circular(8)),
42 | child: Image.asset(
43 | image!,
44 | fit: BoxFit.cover,
45 | ),
46 | ),
47 | ),
48 | const SizedBox(width: defaultPadding),
49 | Expanded(
50 | child: Column(
51 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
52 | crossAxisAlignment: CrossAxisAlignment.start,
53 | children: [
54 | Text(
55 | title!,
56 | maxLines: 1,
57 | style: Theme.of(context)
58 | .textTheme
59 | .titleLarge!
60 | .copyWith(fontSize: 18),
61 | ),
62 | Text(
63 | description!,
64 | style: Theme.of(context).textTheme.bodyMedium,
65 | maxLines: 2,
66 | overflow: TextOverflow.ellipsis,
67 | ),
68 | Row(
69 | children: [
70 | Text(
71 | priceRange!,
72 | style: textStyle,
73 | ),
74 | const Padding(
75 | padding: EdgeInsets.symmetric(
76 | horizontal: defaultPadding / 2),
77 | child: SmallDot(),
78 | ),
79 | Text(foodType!, style: textStyle),
80 | const Spacer(),
81 | Text(
82 | "USD$price",
83 | style: Theme.of(context)
84 | .textTheme
85 | .labelLarge!
86 | .copyWith(color: primaryColor),
87 | )
88 | ],
89 | ),
90 | ],
91 | ),
92 | ),
93 | ],
94 | ),
95 | ),
96 | ),
97 | );
98 | }
99 | }
100 |
--------------------------------------------------------------------------------
/lib/components/cards/medium/restaurant_info_medium_card.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import '../../../constants.dart';
4 | import '../../rating.dart';
5 | import '../../small_dot.dart';
6 |
7 | class RestaurantInfoMediumCard extends StatelessWidget {
8 | const RestaurantInfoMediumCard({
9 | super.key,
10 | required this.image,
11 | required this.name,
12 | required this.location,
13 | required this.rating,
14 | required this.delivertTime,
15 | required this.press,
16 | });
17 |
18 | final String image, name, location;
19 | final double rating;
20 | final int delivertTime;
21 | final VoidCallback press;
22 |
23 | @override
24 | Widget build(BuildContext context) {
25 | return InkWell(
26 | onTap: press,
27 | child: SizedBox(
28 | width: 200,
29 | child: Column(
30 | crossAxisAlignment: CrossAxisAlignment.start,
31 | children: [
32 | AspectRatio(
33 | aspectRatio: 1.25,
34 | child: ClipRRect(
35 | borderRadius: const BorderRadius.all(Radius.circular(10)),
36 | child: Image.asset(image, fit: BoxFit.cover),
37 | ),
38 | ),
39 | const SizedBox(height: defaultPadding / 2),
40 | Text(
41 | name,
42 | maxLines: 1,
43 | overflow: TextOverflow.ellipsis,
44 | style: Theme.of(context).textTheme.titleMedium,
45 | ),
46 | const SizedBox(height: defaultPadding / 4),
47 | Text(
48 | location,
49 | maxLines: 1,
50 | style: Theme.of(context).textTheme.bodyMedium,
51 | ),
52 | const SizedBox(height: defaultPadding / 2),
53 | Row(
54 | crossAxisAlignment: CrossAxisAlignment.center,
55 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
56 | children: [
57 | Rating(rating: rating),
58 | Text(
59 | "$delivertTime min",
60 | style: Theme.of(context)
61 | .textTheme
62 | .labelLarge!
63 | .copyWith(color: titleColor.withOpacity(0.74)),
64 | ),
65 | const SmallDot(),
66 | Text(
67 | "Free delivery",
68 | style: Theme.of(context)
69 | .textTheme
70 | .labelMedium!
71 | .copyWith(color: titleColor.withOpacity(0.74)),
72 | )
73 | ],
74 | )
75 | ],
76 | ),
77 | ),
78 | );
79 | }
80 | }
81 |
--------------------------------------------------------------------------------
/lib/components/dot_indicators.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import '../constants.dart';
4 |
5 | class DotIndicator extends StatelessWidget {
6 | const DotIndicator({
7 | super.key,
8 | this.isActive = false,
9 | this.activeColor = primaryColor,
10 | this.inActiveColor = const Color(0xFF868686),
11 | });
12 |
13 | final bool isActive;
14 | final Color activeColor, inActiveColor;
15 |
16 | @override
17 | Widget build(BuildContext context) {
18 | return AnimatedContainer(
19 | duration: kDefaultDuration,
20 | margin: const EdgeInsets.symmetric(horizontal: defaultPadding / 2),
21 | height: 5,
22 | width: 8,
23 | decoration: BoxDecoration(
24 | color: isActive ? activeColor : inActiveColor.withOpacity(0.25),
25 | borderRadius: const BorderRadius.all(Radius.circular(20)),
26 | ),
27 | );
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/lib/components/price_range_and_food_type.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import '../components/small_dot.dart';
3 |
4 | import '../constants.dart';
5 |
6 | class PriceRangeAndFoodtype extends StatelessWidget {
7 | const PriceRangeAndFoodtype({
8 | super.key,
9 | this.priceRange = "\$\$",
10 | required this.foodType,
11 | });
12 |
13 | final String priceRange;
14 | final List foodType;
15 |
16 | @override
17 | Widget build(BuildContext context) {
18 | return Row(
19 | children: [
20 | Text(priceRange, style: Theme.of(context).textTheme.bodyMedium),
21 | ...List.generate(
22 | foodType.length,
23 | (index) => Row(
24 | children: [
25 | buildSmallDot(),
26 | Text(foodType[index],
27 | style: Theme.of(context).textTheme.bodyMedium),
28 | ],
29 | ),
30 | ),
31 | ],
32 | );
33 | }
34 |
35 | Padding buildSmallDot() {
36 | return const Padding(
37 | padding: EdgeInsets.symmetric(horizontal: defaultPadding / 2),
38 | child: SmallDot(),
39 | );
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/lib/components/rating.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import '../constants.dart';
4 |
5 | class Rating extends StatelessWidget {
6 | const Rating({
7 | super.key,
8 | required this.rating,
9 | });
10 |
11 | final double rating;
12 |
13 | @override
14 | Widget build(BuildContext context) {
15 | return Container(
16 | padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 3),
17 | decoration: const BoxDecoration(
18 | color: primaryColor,
19 | borderRadius: BorderRadius.all(Radius.circular(6)),
20 | ),
21 | child: Text(
22 | rating.toString(),
23 | style: Theme.of(context)
24 | .textTheme
25 | .labelSmall!
26 | .copyWith(color: Colors.white),
27 | ),
28 | );
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/lib/components/rating_with_counter.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_svg/flutter_svg.dart';
3 |
4 | import '../constants.dart';
5 |
6 | class RatingWithCounter extends StatelessWidget {
7 | const RatingWithCounter({
8 | super.key,
9 | required this.rating,
10 | required this.numOfRating,
11 | });
12 |
13 | final double rating;
14 | final int numOfRating;
15 |
16 | @override
17 | Widget build(BuildContext context) {
18 | return Row(
19 | children: [
20 | Text(
21 | rating.toString(),
22 | style: Theme.of(context)
23 | .textTheme
24 | .labelSmall!
25 | .copyWith(color: titleColor.withOpacity(0.74)),
26 | ),
27 | const SizedBox(width: 8),
28 | SvgPicture.asset(
29 | "assets/icons/rating.svg",
30 | height: 20,
31 | width: 20,
32 | colorFilter: const ColorFilter.mode(
33 | primaryColor,
34 | BlendMode.srcIn,
35 | ),
36 | ),
37 | const SizedBox(width: 8),
38 | Text("$numOfRating+ Ratings",
39 | style: Theme.of(context)
40 | .textTheme
41 | .labelSmall!
42 | .copyWith(color: titleColor.withOpacity(0.74))),
43 | ],
44 | );
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/lib/components/scalton/big_card_image_slide_scalton.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import '../../constants.dart';
3 |
4 | import '../dot_indicators.dart';
5 |
6 | class BigCardImageSlideScalton extends StatelessWidget {
7 | const BigCardImageSlideScalton({
8 | super.key,
9 | });
10 |
11 | @override
12 | Widget build(BuildContext context) {
13 | return Stack(
14 | children: [
15 | Container(
16 | decoration: BoxDecoration(
17 | color: Colors.black.withOpacity(0.08),
18 | borderRadius: const BorderRadius.all(Radius.circular(12)),
19 | ),
20 | ),
21 | Positioned(
22 | bottom: defaultPadding,
23 | right: defaultPadding,
24 | child: Row(
25 | children: List.generate(4, (index) => const DotIndicator()),
26 | ),
27 | ),
28 | ],
29 | );
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/lib/components/scalton/big_card_scalton.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import 'big_card_image_slide_scalton.dart';
4 | import 'scalton_line.dart';
5 |
6 | class BigCardScalton extends StatelessWidget {
7 | const BigCardScalton({
8 | super.key,
9 | });
10 |
11 | @override
12 | Widget build(BuildContext context) {
13 | return Column(
14 | crossAxisAlignment: CrossAxisAlignment.start,
15 | children: [
16 | const AspectRatio(
17 | aspectRatio: 1.81,
18 | child: BigCardImageSlideScalton(),
19 | ),
20 | const SizedBox(height: 16),
21 | ScaltonLine(
22 | width: MediaQuery.of(context).size.width * 0.8,
23 | ),
24 | const SizedBox(height: 16),
25 | const ScaltonLine(),
26 | const SizedBox(height: 16),
27 | const ScaltonLine(),
28 | ],
29 | );
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/lib/components/scalton/medium_card_scalton.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import '../scalton/scalton_line.dart';
4 | import '../scalton/scalton_rounded_container.dart';
5 |
6 | class MediumCardScalton extends StatelessWidget {
7 | const MediumCardScalton({
8 | super.key,
9 | });
10 |
11 | @override
12 | Widget build(BuildContext context) {
13 | return const SizedBox(
14 | width: 200,
15 | child: Column(
16 | crossAxisAlignment: CrossAxisAlignment.start,
17 | children: [
18 | AspectRatio(
19 | aspectRatio: 1.25,
20 | child: ScaltonRoundedContainer(),
21 | ),
22 | SizedBox(height: 16),
23 | ScaltonLine(width: 150),
24 | SizedBox(height: 16),
25 | ScaltonLine(),
26 | SizedBox(height: 16),
27 | ScaltonLine(),
28 | ],
29 | ),
30 | );
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/lib/components/scalton/scalton_line.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class ScaltonLine extends StatelessWidget {
4 | const ScaltonLine({
5 | super.key,
6 | this.height = 15,
7 | this.width = double.infinity,
8 | });
9 |
10 | final double height, width;
11 |
12 | @override
13 | Widget build(BuildContext context) {
14 | return Container(
15 | height: height,
16 | width: width,
17 | color: Colors.black.withOpacity(0.08),
18 | );
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/lib/components/scalton/scalton_rounded_container.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class ScaltonRoundedContainer extends StatelessWidget {
4 | const ScaltonRoundedContainer({
5 | super.key,
6 | this.height = double.infinity,
7 | this.width = double.infinity,
8 | this.radious = 10,
9 | });
10 |
11 | final double height, width, radious;
12 |
13 | @override
14 | Widget build(BuildContext context) {
15 | return Container(
16 | height: height,
17 | width: width,
18 | decoration: BoxDecoration(
19 | color: Colors.black.withOpacity(0.08),
20 | borderRadius: BorderRadius.all(Radius.circular(radious)),
21 | ),
22 | );
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/lib/components/section_title.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import '../constants.dart';
4 |
5 | class SectionTitle extends StatelessWidget {
6 | const SectionTitle({
7 | super.key,
8 | this.isMainSection = true,
9 | required this.title,
10 | required this.press,
11 | });
12 |
13 | // Main Section means on Home page section
14 | final bool isMainSection;
15 | final String title;
16 | final VoidCallback press;
17 |
18 | @override
19 | Widget build(BuildContext context) {
20 | return Padding(
21 | padding: const EdgeInsets.symmetric(horizontal: defaultPadding),
22 | child: Row(
23 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
24 | children: [
25 | Text(
26 | isMainSection ? title : title.toUpperCase(),
27 | style: isMainSection
28 | ? Theme.of(context).textTheme.titleLarge
29 | : Theme.of(context).textTheme.titleMedium,
30 | ),
31 | GestureDetector(
32 | onTap: press,
33 | child: Text(
34 | isMainSection ? "See all" : "Clear all".toUpperCase(),
35 | style: isMainSection
36 | ? Theme.of(context)
37 | .textTheme
38 | .bodyMedium!
39 | .copyWith(color: primaryColor)
40 | : TextStyle(
41 | fontSize: 12,
42 | fontWeight: FontWeight.w500,
43 | color: titleColor.withOpacity(0.64),
44 | ),
45 | ),
46 | ),
47 | ],
48 | ),
49 | );
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/lib/components/small_dot.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class SmallDot extends StatelessWidget {
4 | const SmallDot({
5 | super.key,
6 | });
7 |
8 | @override
9 | Widget build(BuildContext context) {
10 | return Container(
11 | height: 4,
12 | width: 4,
13 | decoration: BoxDecoration(
14 | color: Theme.of(context).textTheme.bodyLarge!.color!.withOpacity(0.4),
15 | shape: BoxShape.circle,
16 | ),
17 | );
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/lib/components/welcome_text.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import '../constants.dart';
3 |
4 | class WelcomeText extends StatelessWidget {
5 | final String title, text;
6 |
7 | const WelcomeText({super.key, required this.title, required this.text});
8 | @override
9 | Widget build(BuildContext context) {
10 | return Column(
11 | crossAxisAlignment: CrossAxisAlignment.start,
12 | children: [
13 | const SizedBox(height: defaultPadding),
14 | Text(
15 | title,
16 | style: Theme.of(context)
17 | .textTheme
18 | .titleLarge!
19 | .copyWith(fontWeight: FontWeight.w600),
20 | ),
21 | const SizedBox(height: defaultPadding / 2),
22 | Text(text, style: Theme.of(context).textTheme.bodyMedium),
23 | const SizedBox(height: defaultPadding),
24 | ],
25 | );
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/lib/constants.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:form_field_validator/form_field_validator.dart';
3 |
4 | // clolors that we use in our app
5 | const titleColor = Color(0xFF010F07);
6 | const primaryColor = Color(0xFF22A45D);
7 | const accentColor = Color(0xFFEF9920);
8 | const bodyTextColor = Color(0xFF868686);
9 | const inputColor = Color(0xFFFBFBFB);
10 |
11 | const double defaultPadding = 16;
12 | const Duration kDefaultDuration = Duration(milliseconds: 250);
13 |
14 | const TextStyle kButtonTextStyle = TextStyle(
15 | color: Colors.white,
16 | fontSize: 14,
17 | fontWeight: FontWeight.bold,
18 | );
19 |
20 | const EdgeInsets kTextFieldPadding = EdgeInsets.symmetric(
21 | horizontal: defaultPadding,
22 | vertical: defaultPadding,
23 | );
24 |
25 | // Text Field Decoration
26 | const OutlineInputBorder kDefaultOutlineInputBorder = OutlineInputBorder(
27 | borderRadius: BorderRadius.all(Radius.circular(6)),
28 | borderSide: BorderSide(
29 | color: Color(0xFFF3F2F2),
30 | ),
31 | );
32 |
33 | const InputDecoration otpInputDecoration = InputDecoration(
34 | contentPadding: EdgeInsets.zero,
35 | counterText: "",
36 | errorStyle: TextStyle(height: 0),
37 | );
38 |
39 | const kErrorBorderSide = BorderSide(color: Colors.red, width: 1);
40 |
41 | // Validator
42 | final passwordValidator = MultiValidator([
43 | RequiredValidator(errorText: 'Password is required'),
44 | MinLengthValidator(8, errorText: 'Password must be at least 8 digits long'),
45 | PatternValidator(r'(?=.*?[#?!@$%^&*-/])',
46 | errorText: 'Passwords must have at least one special character')
47 | ]);
48 |
49 | final emailValidator = MultiValidator([
50 | RequiredValidator(errorText: 'Email is required'),
51 | EmailValidator(errorText: 'Enter a valid email address')
52 | ]);
53 |
54 | final requiredValidator =
55 | RequiredValidator(errorText: 'This field is required');
56 | final matchValidator = MatchValidator(errorText: 'passwords do not match');
57 |
58 | final phoneNumberValidator = MinLengthValidator(10,
59 | errorText: 'Phone Number must be at least 10 digits long');
60 |
61 | // Common Text
62 | final Center kOrText = Center(
63 | child: Text("Or", style: TextStyle(color: titleColor.withOpacity(0.7))));
64 |
--------------------------------------------------------------------------------
/lib/demo_data.dart:
--------------------------------------------------------------------------------
1 |
2 |
3 | List demoBigImages = [
4 | "assets/images/big_1.png",
5 | "assets/images/big_2.png",
6 | "assets/images/big_3.png",
7 | "assets/images/big_4.png",
8 | ];
9 |
10 | List