├── ios ├── Flutter │ ├── Debug.xcconfig │ ├── Release.xcconfig │ └── AppFrameworkInfo.plist ├── Runner │ ├── Runner-Bridging-Header.h │ ├── Assets.xcassets │ │ ├── LaunchImage.imageset │ │ │ ├── LaunchImage.png │ │ │ ├── LaunchImage@2x.png │ │ │ ├── LaunchImage@3x.png │ │ │ ├── README.md │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ ├── Icon-App-20x20@1x.png │ │ │ ├── Icon-App-20x20@2x.png │ │ │ ├── Icon-App-20x20@3x.png │ │ │ ├── Icon-App-29x29@1x.png │ │ │ ├── Icon-App-29x29@2x.png │ │ │ ├── Icon-App-29x29@3x.png │ │ │ ├── Icon-App-40x40@1x.png │ │ │ ├── Icon-App-40x40@2x.png │ │ │ ├── Icon-App-40x40@3x.png │ │ │ ├── Icon-App-60x60@2x.png │ │ │ ├── Icon-App-60x60@3x.png │ │ │ ├── Icon-App-76x76@1x.png │ │ │ ├── Icon-App-76x76@2x.png │ │ │ ├── Icon-App-1024x1024@1x.png │ │ │ ├── Icon-App-83.5x83.5@2x.png │ │ │ └── Contents.json │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── Main.storyboard │ │ └── LaunchScreen.storyboard │ └── Info.plist ├── Runner.xcodeproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── WorkspaceSettings.xcsettings │ │ │ └── IDEWorkspaceChecks.plist │ └── xcshareddata │ │ └── xcschemes │ │ └── Runner.xcscheme ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── WorkspaceSettings.xcsettings │ │ └── IDEWorkspaceChecks.plist └── .gitignore ├── images ├── 1 8.png ├── 4 1.png ├── fish.png ├── img.png ├── last.png ├── logo.png ├── mail.png ├── Comp-1.gif ├── hotel.png ├── new_bg.jpg ├── paypal.jpg ├── thans.png ├── B.g (1).jpg ├── camping.png ├── citytour.png ├── dancing.png ├── fishing.png ├── grouptour.png ├── karachi.png ├── newlogo.png ├── packages.png ├── profile.png ├── touring.png ├── transport.png ├── wildlife.png ├── Comp-1-min.gif ├── Ellipse 167.png ├── Places (2).png ├── Places (4).png ├── goggle_icon.png ├── kudaisland.png ├── masterlogo.png ├── profilepic.png ├── splash_icon.png ├── tourdetails.png ├── backgroundimg.jpg ├── details_hotel.png ├── facebook_icon.png ├── hotel_category.png ├── myotpackages.png ├── started_cover.png ├── Ellipse 176 (1).png ├── car_details.dart.png ├── honeymonpackage.png ├── karachilocation.png ├── winter_activity.png ├── grouptourcategorie.png ├── transpoortcategory.png └── unsplash_JqhVgs4WANQ (3).png ├── lib ├── view │ ├── description.dart │ ├── transport_category.dart │ ├── owntrip_controller.dart │ ├── modal.dart │ └── recomend_product.dart ├── provider │ └── provider.dart ├── splash_Screen.dart ├── login_signup │ ├── signup.dart │ ├── login.dart │ ├── tabbar.dart │ ├── confirm_email.dart │ ├── forgot_password.dart │ └── select_your_interest_screen.dart ├── Dashboard_screens │ ├── hotel_booking_show.dart │ ├── coins_screen.dart │ ├── bookmark_screen.dart │ ├── notifications_screen.dart │ ├── tranportation.dart │ ├── my_referal_screen.dart │ ├── hotels_bookmark.dart │ ├── transportation.dart │ ├── profile_setting.dart │ ├── drawer.dart │ ├── my_booking_screen.dart │ └── past_booking.dart ├── slider_screen.dart ├── widgets │ ├── button.dart │ └── app_color.dart ├── category │ ├── grouptour.dart │ └── myotpackages.dart ├── main.dart └── make_my_own_trip │ ├── slider.dart │ ├── review_location.dart │ ├── select_last_location.dart │ └── NEXT_location_hotel.dart ├── android ├── gradle.properties ├── app │ ├── src │ │ ├── main │ │ │ ├── res │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── drawable │ │ │ │ │ └── launch_background.xml │ │ │ │ ├── drawable-v21 │ │ │ │ │ └── launch_background.xml │ │ │ │ ├── values │ │ │ │ │ └── styles.xml │ │ │ │ └── values-night │ │ │ │ │ └── styles.xml │ │ │ ├── kotlin │ │ │ │ └── com │ │ │ │ │ └── example │ │ │ │ │ └── myot_app │ │ │ │ │ └── MainActivity.kt │ │ │ └── AndroidManifest.xml │ │ ├── debug │ │ │ └── AndroidManifest.xml │ │ └── profile │ │ │ └── AndroidManifest.xml │ └── build.gradle ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── .gitignore ├── settings.gradle └── build.gradle ├── .metadata ├── README.md ├── .gitignore ├── test └── widget_test.dart ├── pubspec.yaml └── pubspec.lock /ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /images/1 8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/1 8.png -------------------------------------------------------------------------------- /images/4 1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/4 1.png -------------------------------------------------------------------------------- /images/fish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/fish.png -------------------------------------------------------------------------------- /images/img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/img.png -------------------------------------------------------------------------------- /images/last.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/last.png -------------------------------------------------------------------------------- /images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/logo.png -------------------------------------------------------------------------------- /images/mail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/mail.png -------------------------------------------------------------------------------- /lib/view/description.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | 4 | -------------------------------------------------------------------------------- /images/Comp-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/Comp-1.gif -------------------------------------------------------------------------------- /images/hotel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/hotel.png -------------------------------------------------------------------------------- /images/new_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/new_bg.jpg -------------------------------------------------------------------------------- /images/paypal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/paypal.jpg -------------------------------------------------------------------------------- /images/thans.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/thans.png -------------------------------------------------------------------------------- /images/B.g (1).jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/B.g (1).jpg -------------------------------------------------------------------------------- /images/camping.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/camping.png -------------------------------------------------------------------------------- /images/citytour.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/citytour.png -------------------------------------------------------------------------------- /images/dancing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/dancing.png -------------------------------------------------------------------------------- /images/fishing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/fishing.png -------------------------------------------------------------------------------- /images/grouptour.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/grouptour.png -------------------------------------------------------------------------------- /images/karachi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/karachi.png -------------------------------------------------------------------------------- /images/newlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/newlogo.png -------------------------------------------------------------------------------- /images/packages.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/packages.png -------------------------------------------------------------------------------- /images/profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/profile.png -------------------------------------------------------------------------------- /images/touring.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/touring.png -------------------------------------------------------------------------------- /images/transport.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/transport.png -------------------------------------------------------------------------------- /images/wildlife.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/wildlife.png -------------------------------------------------------------------------------- /images/Comp-1-min.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/Comp-1-min.gif -------------------------------------------------------------------------------- /images/Ellipse 167.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/Ellipse 167.png -------------------------------------------------------------------------------- /images/Places (2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/Places (2).png -------------------------------------------------------------------------------- /images/Places (4).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/Places (4).png -------------------------------------------------------------------------------- /images/goggle_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/goggle_icon.png -------------------------------------------------------------------------------- /images/kudaisland.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/kudaisland.png -------------------------------------------------------------------------------- /images/masterlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/masterlogo.png -------------------------------------------------------------------------------- /images/profilepic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/profilepic.png -------------------------------------------------------------------------------- /images/splash_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/splash_icon.png -------------------------------------------------------------------------------- /images/tourdetails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/tourdetails.png -------------------------------------------------------------------------------- /images/backgroundimg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/backgroundimg.jpg -------------------------------------------------------------------------------- /images/details_hotel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/details_hotel.png -------------------------------------------------------------------------------- /images/facebook_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/facebook_icon.png -------------------------------------------------------------------------------- /images/hotel_category.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/hotel_category.png -------------------------------------------------------------------------------- /images/myotpackages.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/myotpackages.png -------------------------------------------------------------------------------- /images/started_cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/started_cover.png -------------------------------------------------------------------------------- /images/Ellipse 176 (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/Ellipse 176 (1).png -------------------------------------------------------------------------------- /images/car_details.dart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/car_details.dart.png -------------------------------------------------------------------------------- /images/honeymonpackage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/honeymonpackage.png -------------------------------------------------------------------------------- /images/karachilocation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/karachilocation.png -------------------------------------------------------------------------------- /images/winter_activity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/winter_activity.png -------------------------------------------------------------------------------- /images/grouptourcategorie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/grouptourcategorie.png -------------------------------------------------------------------------------- /images/transpoortcategory.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/transpoortcategory.png -------------------------------------------------------------------------------- /lib/view/transport_category.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class categories{ 4 | 5 | } -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /images/unsplash_JqhVgs4WANQ (3).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/images/unsplash_JqhVgs4WANQ (3).png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syeduzairdev/MYOT/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /android/app/src/main/kotlin/com/example/myot_app/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.myot_app 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() { 6 | } 7 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jun 23 08:50:38 CEST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip 7 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | 9 | # Remember to never publicly share your keystore. 10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app 11 | key.properties 12 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /lib/provider/provider.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/cupertino.dart'; 2 | 3 | class cartprovider with ChangeNotifier{ 4 | bool active = false; 5 | void actives( ){ 6 | active = true; 7 | notifyListeners(); 8 | } 9 | 10 | void activefalse( ){ 11 | active = false; 12 | notifyListeners(); 13 | } 14 | 15 | 16 | 17 | } -------------------------------------------------------------------------------- /.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: b22742018b3edf16c6cadd7b76d9db5e7f9064b5 8 | channel: stable 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Flutter 3 | 4 | @UIApplicationMain 5 | @objc class AppDelegate: FlutterAppDelegate { 6 | override func application( 7 | _ application: UIApplication, 8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? 9 | ) -> Bool { 10 | GeneratedPluginRegistrant.register(with: self) 11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties") 4 | def properties = new Properties() 5 | 6 | assert localPropertiesFile.exists() 7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } 8 | 9 | def flutterSdkPath = properties.getProperty("flutter.sdk") 10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" 12 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchImage.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchImage@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "LaunchImage@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # myot_app 2 | 3 | A new Flutter project. 4 | 5 | ## Getting Started 6 | 7 | This project is a starting point for a Flutter application. 8 | 9 | A few resources to get you started if this is your first Flutter project: 10 | 11 | - [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab) 12 | - [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook) 13 | 14 | For help getting started with Flutter, view our 15 | [online documentation](https://flutter.dev/docs), which offers tutorials, 16 | samples, guidance on mobile development, and a full API reference. 17 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.3.50' 3 | repositories { 4 | google() 5 | jcenter() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:4.1.0' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | } 12 | } 13 | 14 | allprojects { 15 | repositories { 16 | google() 17 | jcenter() 18 | } 19 | } 20 | 21 | rootProject.buildDir = '../build' 22 | subprojects { 23 | project.buildDir = "${rootProject.buildDir}/${project.name}" 24 | project.evaluationDependsOn(':app') 25 | } 26 | 27 | task clean(type: Delete) { 28 | delete rootProject.buildDir 29 | } 30 | -------------------------------------------------------------------------------- /ios/.gitignore: -------------------------------------------------------------------------------- 1 | *.mode1v3 2 | *.mode2v3 3 | *.moved-aside 4 | *.pbxuser 5 | *.perspectivev3 6 | **/*sync/ 7 | .sconsign.dblite 8 | .tags* 9 | **/.vagrant/ 10 | **/DerivedData/ 11 | Icon? 12 | **/Pods/ 13 | **/.symlinks/ 14 | profile 15 | xcuserdata 16 | **/.generated/ 17 | Flutter/App.framework 18 | Flutter/Flutter.framework 19 | Flutter/Flutter.podspec 20 | Flutter/Generated.xcconfig 21 | Flutter/ephemeral/ 22 | Flutter/app.flx 23 | Flutter/app.zip 24 | Flutter/flutter_assets/ 25 | Flutter/flutter_export_environment.sh 26 | ServiceDefinitions.json 27 | Runner/GeneratedPluginRegistrant.* 28 | 29 | # Exceptions to above rules. 30 | !default.mode1v3 31 | !default.mode2v3 32 | !default.pbxuser 33 | !default.perspectivev3 34 | -------------------------------------------------------------------------------- /lib/splash_Screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | 4 | class splash_screen extends StatefulWidget { 5 | const splash_screen({Key? key}) : super(key: key); 6 | 7 | @override 8 | _splash_screenState createState() => _splash_screenState(); 9 | } 10 | 11 | class _splash_screenState extends State { 12 | 13 | @override 14 | 15 | @override 16 | Widget build(BuildContext context) { 17 | return Scaffold( 18 | body: AnimatedContainer( 19 | 20 | 21 | color: Colors.white, 22 | width: MediaQuery.of(context).size.width, 23 | height: MediaQuery.of(context).size.height, 24 | duration: Duration(seconds: 8), 25 | ), 26 | ); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | App 9 | CFBundleIdentifier 10 | io.flutter.flutter.app 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | App 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | MinimumOSVersion 24 | 8.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | 12 | # IntelliJ related 13 | *.iml 14 | *.ipr 15 | *.iws 16 | .idea/ 17 | 18 | # The .vscode folder contains launch configuration and tasks you configure in 19 | # VS Code which you may wish to be included in version control, so this line 20 | # is commented out by default. 21 | #.vscode/ 22 | 23 | # Flutter/Dart/Pub related 24 | **/doc/api/ 25 | **/ios/Flutter/.last_build_id 26 | .dart_tool/ 27 | .flutter-plugins 28 | .flutter-plugins-dependencies 29 | .packages 30 | .pub-cache/ 31 | .pub/ 32 | /build/ 33 | 34 | # Web related 35 | lib/generated_plugin_registrant.dart 36 | 37 | # Symbolication related 38 | app.*.symbols 39 | 40 | # Obfuscation related 41 | app.*.map.json 42 | 43 | # Android Studio will place build artifacts here 44 | /android/app/debug 45 | /android/app/profile 46 | /android/app/release 47 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /android/app/src/main/res/values-night/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /test/widget_test.dart: -------------------------------------------------------------------------------- 1 | // This is a basic Flutter widget test. 2 | // 3 | // To perform an interaction with a widget in your test, use the WidgetTester 4 | // utility that Flutter provides. For example, you can send tap and scroll 5 | // gestures. You can also use WidgetTester to find child widgets in the widget 6 | // tree, read text, and verify that the values of widget properties are correct. 7 | 8 | import 'package:flutter/material.dart'; 9 | import 'package:flutter_test/flutter_test.dart'; 10 | 11 | import 'package:myot_app/main.dart'; 12 | 13 | void main() { 14 | testWidgets('Counter increments smoke test', (WidgetTester tester) async { 15 | // Build our app and trigger a frame. 16 | await tester.pumpWidget(MyApp()); 17 | 18 | // Verify that our counter starts at 0. 19 | expect(find.text('0'), findsOneWidget); 20 | expect(find.text('1'), findsNothing); 21 | 22 | // Tap the '+' icon and trigger a frame. 23 | await tester.tap(find.byIcon(Icons.add)); 24 | await tester.pump(); 25 | 26 | // Verify that our counter has incremented. 27 | expect(find.text('0'), findsNothing); 28 | expect(find.text('1'), findsOneWidget); 29 | }); 30 | } 31 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | myot_app 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | $(FLUTTER_BUILD_NAME) 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UISupportedInterfaceOrientations 30 | 31 | UIInterfaceOrientationPortrait 32 | UIInterfaceOrientationLandscapeLeft 33 | UIInterfaceOrientationLandscapeRight 34 | 35 | UISupportedInterfaceOrientations~ipad 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationPortraitUpsideDown 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | UIViewControllerBasedStatusBarAppearance 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | def localProperties = new Properties() 2 | def localPropertiesFile = rootProject.file('local.properties') 3 | if (localPropertiesFile.exists()) { 4 | localPropertiesFile.withReader('UTF-8') { reader -> 5 | localProperties.load(reader) 6 | } 7 | } 8 | 9 | def flutterRoot = localProperties.getProperty('flutter.sdk') 10 | if (flutterRoot == null) { 11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") 12 | } 13 | 14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode') 15 | if (flutterVersionCode == null) { 16 | flutterVersionCode = '1' 17 | } 18 | 19 | def flutterVersionName = localProperties.getProperty('flutter.versionName') 20 | if (flutterVersionName == null) { 21 | flutterVersionName = '1.0' 22 | } 23 | 24 | apply plugin: 'com.android.application' 25 | apply plugin: 'kotlin-android' 26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 27 | 28 | android { 29 | compileSdkVersion 30 30 | 31 | sourceSets { 32 | main.java.srcDirs += 'src/main/kotlin' 33 | } 34 | 35 | defaultConfig { 36 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 37 | applicationId "com.example.myot_app" 38 | minSdkVersion 16 39 | targetSdkVersion 30 40 | versionCode flutterVersionCode.toInteger() 41 | versionName flutterVersionName 42 | } 43 | 44 | buildTypes { 45 | release { 46 | // TODO: Add your own signing config for the release build. 47 | // Signing with the debug keys for now, so `flutter run --release` works. 48 | signingConfig signingConfigs.debug 49 | } 50 | } 51 | } 52 | 53 | flutter { 54 | source '../..' 55 | } 56 | 57 | dependencies { 58 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 59 | } 60 | -------------------------------------------------------------------------------- /lib/login_signup/signup.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/cupertino.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:myot_app/widgets/app_color.dart'; 4 | import 'package:myot_app/widgets/button.dart'; 5 | 6 | class signup_screen extends StatelessWidget { 7 | const signup_screen({Key? key}) : super(key: key); 8 | 9 | @override 10 | Widget build(BuildContext context) { 11 | return Scaffold( 12 | 13 | body: SingleChildScrollView( 14 | child: Container( 15 | padding: EdgeInsets.only(left:15,right:15), 16 | child: Column( 17 | mainAxisAlignment: MainAxisAlignment.center, 18 | children: [ 19 | SizedBox(height: 15,), 20 | apptheme().textfield(context,'Full Name','Full Name'), 21 | SizedBox(height: 15,), 22 | apptheme().textfield(context,'Eg namaemail@emailkamu.com','Email address'), 23 | SizedBox(height: 15,), 24 | apptheme().textfield(context,'Phone no','Phone no'), 25 | SizedBox(height: 15,), 26 | apptheme().textfield(context,'Password','Password'), 27 | SizedBox(height: 15,), 28 | apptheme().textfield(context,'Reffer Code','Reffer Code'), 29 | SizedBox(height: 15,), 30 | button().materialbuttons('Registration',(){}), 31 | SizedBox(height: 15,), 32 | Text("Signup with",style: TextStyle(fontWeight: FontWeight.w600,fontSize: 16),), 33 | SizedBox(height: 5,), 34 | Row( 35 | crossAxisAlignment: CrossAxisAlignment.center, 36 | mainAxisAlignment: MainAxisAlignment.center, 37 | children: [ 38 | Image.asset('images/facebook_icon.png'), 39 | SizedBox(width: 5,), 40 | Image.asset('images/goggle_icon.png'), 41 | 42 | ], 43 | ) 44 | 45 | 46 | 47 | ], 48 | ), 49 | ), 50 | ) 51 | ); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /lib/Dashboard_screens/hotel_booking_show.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:myot_app/Dashboard_screens/hotels_bookmark.dart'; 3 | import 'package:myot_app/Dashboard_screens/past_booking.dart'; 4 | import 'package:myot_app/Dashboard_screens/tranportation.dart'; 5 | import 'package:myot_app/Dashboard_screens/transportation.dart'; 6 | import 'package:myot_app/widgets/app_color.dart'; 7 | 8 | import 'my_booking_screen.dart'; 9 | 10 | 11 | class hotel_booking_screen extends StatelessWidget { 12 | const hotel_booking_screen({Key? key}) : super(key: key); 13 | 14 | @override 15 | Widget build(BuildContext context) { 16 | return DefaultTabController( 17 | length: 2, 18 | child: Scaffold( 19 | appBar: AppBar( 20 | automaticallyImplyLeading: false, 21 | elevation: 0.0, 22 | backgroundColor: apptheme().appbackgroundcolour, 23 | 24 | iconTheme: IconThemeData(color: Colors.red), 25 | 26 | bottom: TabBar( 27 | unselectedLabelColor: Color.fromRGBO(151, 151, 151, 1), 28 | indicatorSize: TabBarIndicatorSize.tab, 29 | indicator: BoxDecoration( 30 | gradient: LinearGradient( 31 | colors: [apptheme().appthemecoloue, apptheme().appthemecoloue]), 32 | borderRadius: BorderRadius.circular(50), 33 | color: apptheme().appthemecoloue), 34 | tabs: [ 35 | Tab( 36 | child: Text("Current", style: TextStyle(fontSize: 10)), 37 | ), 38 | Tab( 39 | child: Align( 40 | alignment: Alignment.center, 41 | child: Text("Past", 42 | style: TextStyle(fontSize: 10)), 43 | ), 44 | ), 45 | 46 | 47 | ] 48 | ) 49 | 50 | ), 51 | body: TabBarView( 52 | 53 | 54 | children: [ 55 | my_booking_screen(), 56 | past_booking(), 57 | 58 | 59 | ]), 60 | ), 61 | ); 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 13 | 17 | 21 | 26 | 30 | 31 | 32 | 33 | 34 | 35 | 37 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /lib/Dashboard_screens/coins_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | 4 | 5 | class coins_screen extends StatelessWidget { 6 | const coins_screen({Key? key}) : super(key: key); 7 | 8 | @override 9 | Widget build(BuildContext context) { 10 | return Scaffold( 11 | body: SafeArea( 12 | child: Container( 13 | padding: EdgeInsets.only(left: 15, right: 15, top: 15, bottom: 10), 14 | 15 | child: Column( 16 | crossAxisAlignment: CrossAxisAlignment.start, 17 | children: [ 18 | Text( 19 | 'My Coins', 20 | style: TextStyle( 21 | color: Colors.black, 22 | fontSize: 16, 23 | fontWeight: FontWeight.bold), 24 | ), 25 | SizedBox(height: 5,), 26 | Text( 27 | 'Guaranteed referred are waiting! scratch to reveal', 28 | 29 | style: TextStyle( 30 | color: Colors.black, 31 | fontSize: 12, 32 | fontWeight: FontWeight.w400), 33 | ), 34 | SizedBox(height: 5,), 35 | Text( 36 | 'Claim your Prize Now', 37 | 38 | style: TextStyle( 39 | color: Colors.black, 40 | fontSize: 12, 41 | fontWeight: FontWeight.w400), 42 | ), 43 | SizedBox(height: 5,), 44 | Container( 45 | width: 110, 46 | height: 30, 47 | decoration: BoxDecoration( 48 | color: Color.fromRGBO(111, 192, 91, 1), 49 | borderRadius: BorderRadius.circular(22), 50 | ), 51 | child: Row( 52 | crossAxisAlignment: CrossAxisAlignment.center, 53 | mainAxisAlignment: MainAxisAlignment.center, 54 | children: [ 55 | 56 | Icon(Icons.star,color: Colors.white,), 57 | Text('300 points',style: TextStyle( 58 | color: Colors.white, 59 | ),), 60 | 61 | ], 62 | ) 63 | ), 64 | ], 65 | ), 66 | ), 67 | ), 68 | ); 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /lib/slider_screen.dart: -------------------------------------------------------------------------------- 1 | import 'dart:async'; 2 | 3 | import 'package:flutter/cupertino.dart'; 4 | import 'package:flutter/material.dart'; 5 | import 'package:flutter_slider_drawer/flutter_slider_drawer.dart'; 6 | import 'package:myot_app/Dashboard_screens/dashboard_screens.dart'; 7 | import 'package:myot_app/Dashboard_screens/drawer.dart'; 8 | import 'package:myot_app/widgets/app_color.dart'; 9 | 10 | import 'Dashboard_screens/notifications_screen.dart'; 11 | 12 | class SideBar extends StatefulWidget { 13 | @override 14 | _SideBarState createState() => _SideBarState(); 15 | } 16 | 17 | class _SideBarState extends State 18 | with SingleTickerProviderStateMixin { 19 | @override 20 | Widget build(BuildContext context) { 21 | final screenWidth = MediaQuery.of(context).size.width; 22 | GlobalKey _key = GlobalKey(); 23 | 24 | return Scaffold( 25 | body: SafeArea( 26 | child: SliderDrawer( 27 | appBar: SliderAppBar( 28 | appBarColor: apptheme().appbackgroundcolour, 29 | trailing: InkWell( 30 | onTap: () { 31 | Navigator.push( 32 | context, 33 | CupertinoPageRoute( 34 | builder: (BuildContext context) => notify())); 35 | }, 36 | child: Padding( 37 | padding: const EdgeInsets.all(8.0), 38 | child: Icon(Icons.notifications), 39 | )), 40 | title: Container( 41 | width: 250, 42 | height: 40, 43 | decoration: BoxDecoration( 44 | color: apptheme().appbackgroundcolour, 45 | borderRadius: BorderRadius.circular(5)), 46 | child: Center( 47 | child: TextField( 48 | onTap: null, 49 | decoration: InputDecoration( 50 | prefixIcon: Icon(Icons.search), 51 | hintText: 'Search...', 52 | border: InputBorder.none), 53 | )))), 54 | key: _key, 55 | sliderOpenSize: 285, 56 | slider: drawer(), 57 | child: dashboard_screen()), 58 | ), 59 | ); 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /lib/Dashboard_screens/bookmark_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:myot_app/Dashboard_screens/hotels_bookmark.dart'; 3 | import 'package:myot_app/Dashboard_screens/tranportation.dart'; 4 | import 'package:myot_app/Dashboard_screens/transportation.dart'; 5 | import 'package:myot_app/widgets/app_color.dart'; 6 | 7 | import 'dashboard_screens.dart'; 8 | 9 | class bookmark_screen extends StatelessWidget { 10 | const bookmark_screen({Key? key}) : super(key: key); 11 | 12 | @override 13 | Widget build(BuildContext context) { 14 | return DefaultTabController( 15 | length: 3, 16 | child: Scaffold( 17 | appBar: AppBar( 18 | automaticallyImplyLeading: false, 19 | elevation: 0.0, 20 | backgroundColor: apptheme().appbackgroundcolour, 21 | 22 | iconTheme: IconThemeData(color: Colors.red), 23 | 24 | bottom: TabBar( 25 | unselectedLabelColor: Color.fromRGBO(151, 151, 151, 1), 26 | indicatorSize: TabBarIndicatorSize.tab, 27 | indicator: BoxDecoration( 28 | gradient: LinearGradient( 29 | colors: [apptheme().appthemecoloue, apptheme().appthemecoloue]), 30 | borderRadius: BorderRadius.circular(50), 31 | color: apptheme().appthemecoloue), 32 | tabs: [ 33 | Tab( 34 | child: Text("Hotels", style: TextStyle(fontSize: 10)), 35 | ), 36 | Tab( 37 | child: Align( 38 | alignment: Alignment.center, 39 | child: Text("Transportation", 40 | style: TextStyle(fontSize: 10)), 41 | ), 42 | ), 43 | Tab( 44 | child: Align( 45 | alignment: Alignment.center, 46 | child: Text("Packages", 47 | style: TextStyle(fontSize: 10)), 48 | ), 49 | ), 50 | 51 | ] 52 | ) 53 | 54 | ), 55 | body: TabBarView( 56 | 57 | 58 | children: [ 59 | hotel_bookmark(), 60 | tranportation(), 61 | packages(), 62 | 63 | ]), 64 | ), 65 | ); 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /lib/login_signup/login.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:myot_app/login_signup/forgot_password.dart'; 3 | import 'package:myot_app/login_signup/select_your_interest_screen.dart'; 4 | import 'package:myot_app/widgets/app_color.dart'; 5 | import 'package:myot_app/widgets/button.dart'; 6 | 7 | class login_screen extends StatelessWidget { 8 | const login_screen({Key? key}) : super(key: key); 9 | 10 | @override 11 | Widget build(BuildContext context) { 12 | return Scaffold( 13 | 14 | body: SingleChildScrollView( 15 | child: Container( 16 | padding: EdgeInsets.only(left:15,right:15), 17 | child: Column( 18 | mainAxisAlignment: MainAxisAlignment.center, 19 | children: [ 20 | SizedBox(height: 15,), 21 | 22 | 23 | apptheme().textfield(context,'Eg namaemail@emailkamu.com','Email address'), 24 | SizedBox(height: 15,), 25 | 26 | apptheme().textfield(context,'Password','Password'), 27 | SizedBox(height: 15,), 28 | 29 | button().materialbuttons('Login',(){ 30 | 31 | Navigator.push( 32 | context, 33 | MaterialPageRoute( 34 | builder: (BuildContext context) => 35 | select_your_interest_screen()), 36 | ); 37 | 38 | }), 39 | SizedBox(height: 5,), 40 | GestureDetector( 41 | onTap: (){ 42 | Navigator.push( 43 | context, 44 | MaterialPageRoute( 45 | builder: (BuildContext context) => 46 | forgot_password()), 47 | ); 48 | }, 49 | child: 50 | Text("Forget Password?",style: TextStyle(fontWeight: FontWeight.w600,fontSize: 16,color: Color.fromRGBO(111, 192, 91, 1)),)), 51 | 52 | SizedBox(height: 15,), 53 | 54 | 55 | Row( 56 | crossAxisAlignment: CrossAxisAlignment.center, 57 | mainAxisAlignment: MainAxisAlignment.center, 58 | children: [ 59 | Image.asset('images/facebook_icon.png'), 60 | SizedBox(width: 5,), 61 | Image.asset('images/goggle_icon.png'), 62 | 63 | ], 64 | ) 65 | 66 | 67 | 68 | ], 69 | ), 70 | ), 71 | ) 72 | ); 73 | } 74 | } 75 | -------------------------------------------------------------------------------- /lib/widgets/button.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | 4 | class button { 5 | Widget materialbuttons(name,rout){ 6 | return Container( 7 | height: 49, 8 | width: 260, 9 | child: MaterialButton( 10 | shape: RoundedRectangleBorder( 11 | borderRadius: BorderRadius.circular(60)), 12 | color: Color.fromRGBO(111, 192, 91, 1), 13 | child: Text( 14 | name, 15 | style: TextStyle( 16 | fontFamily: 'Roboto', 17 | color: Colors.white, 18 | fontWeight: FontWeight.w400, 19 | fontSize: 14, 20 | ), 21 | ), 22 | onPressed: rout, 23 | ), 24 | ); 25 | } 26 | Widget newbutton(name,route){ 27 | return Container( 28 | height: 49, 29 | width: 260, 30 | child: MaterialButton( 31 | shape: RoundedRectangleBorder( 32 | borderRadius: BorderRadius.circular(60)), 33 | color: Colors.black, 34 | child: Text( 35 | name, 36 | style: TextStyle( 37 | fontFamily: 'Roboto', 38 | color: Colors.white, 39 | fontWeight: FontWeight.w400, 40 | fontSize: 14, 41 | ), 42 | ), 43 | onPressed: route, 44 | ), 45 | ); 46 | } 47 | Widget smallbutton(name,route){ 48 | return Container( 49 | height: 24, 50 | width: 100, 51 | child: MaterialButton( 52 | shape: RoundedRectangleBorder( 53 | borderRadius: BorderRadius.circular(60)), 54 | color: Color.fromRGBO(111, 192, 91, 1), 55 | child: Center( 56 | child: Text( 57 | name, 58 | style: TextStyle( 59 | fontFamily: 'Roboto', 60 | color: Colors.white, 61 | fontWeight: FontWeight.w400, 62 | fontSize: 14, 63 | ), 64 | ), 65 | ), 66 | onPressed: route, 67 | ), 68 | ); 69 | } 70 | Widget screensbutton(name,route){ 71 | return 72 | Container( 73 | height: 35, 74 | width: 130, 75 | child: MaterialButton( 76 | shape: RoundedRectangleBorder( 77 | borderRadius: BorderRadius.circular(60)), 78 | color: Color.fromRGBO(111, 192, 91, 1), 79 | child: Center( 80 | child: Text( 81 | name, 82 | style: TextStyle( 83 | fontFamily: 'Roboto', 84 | color: Colors.white, 85 | fontWeight: FontWeight.w400, 86 | fontSize: 14, 87 | ), 88 | ), 89 | ), 90 | onPressed: route, 91 | ), 92 | ); 93 | } 94 | } -------------------------------------------------------------------------------- /lib/view/owntrip_controller.dart: -------------------------------------------------------------------------------- 1 | import 'dart:ffi'; 2 | 3 | import 'package:flutter/cupertino.dart'; 4 | import 'package:flutter/material.dart'; 5 | 6 | class owntrip{ 7 | Widget tripperson(iconplus,iconminus, ontap1, ontap2,value,person) { 8 | return Column( 9 | crossAxisAlignment: CrossAxisAlignment.start, 10 | children: [ 11 | Text( 12 | person, 13 | textAlign: TextAlign.center, 14 | style: TextStyle( 15 | color: Colors.black, 16 | fontSize: 10, 17 | fontWeight: FontWeight.w600), 18 | ), 19 | SizedBox( 20 | height: 5, 21 | ), 22 | Container( 23 | 24 | height:30, 25 | width:80, 26 | decoration: BoxDecoration( 27 | color: Colors.black.withAlpha(10), 28 | borderRadius: BorderRadius.all( 29 | Radius.circular(10), 30 | ), 31 | ), 32 | child: Row( 33 | crossAxisAlignment: CrossAxisAlignment.center, 34 | mainAxisAlignment:MainAxisAlignment.spaceBetween, 35 | children: [ 36 | GestureDetector( 37 | onTap:ontap1, 38 | child: Container( 39 | height: 25, 40 | width: 25, 41 | decoration: BoxDecoration( 42 | color: Color.fromRGBO(111, 192, 91, 1), 43 | border: Border.all( 44 | color: Color.fromRGBO(111, 192, 91, 1), 45 | ), 46 | borderRadius: BorderRadius.circular(5.0), 47 | ), 48 | child: Icon( 49 | iconminus, 50 | color: Colors.white, 51 | size: 20, 52 | ), 53 | ), 54 | ), 55 | SizedBox( 56 | width: 10, 57 | ), 58 | Text( 59 | value, 60 | textAlign: TextAlign.center, 61 | style: TextStyle( 62 | color: Colors.black, 63 | fontSize: 17, 64 | fontWeight: FontWeight.w400), 65 | ), 66 | SizedBox( 67 | width: 5, 68 | ), 69 | GestureDetector( 70 | onTap:ontap2, 71 | child: Container( 72 | height: 25, 73 | width: 25, 74 | decoration: BoxDecoration( 75 | color: Color.fromRGBO(111, 192, 91, 1), 76 | border: Border.all( 77 | color: Color.fromRGBO(111, 192, 91, 1), 78 | ), 79 | borderRadius: BorderRadius.circular(5.0), 80 | ), 81 | child: Center( 82 | child: Icon( 83 | iconplus, 84 | color: Colors.white, 85 | ))), 86 | ), 87 | ], 88 | ), 89 | ) 90 | 91 | ], 92 | ); 93 | }} -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /lib/login_signup/tabbar.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:myot_app/login_signup/login.dart'; 3 | import 'package:myot_app/login_signup/signup.dart'; 4 | import 'package:myot_app/widgets/app_color.dart'; 5 | 6 | 7 | class tabbar extends StatelessWidget { 8 | const tabbar({Key? key}) : super(key: key); 9 | 10 | @override 11 | Widget build(BuildContext context) { 12 | return Scaffold( 13 | backgroundColor: Colors.white, 14 | body: SafeArea( 15 | child: Column( 16 | mainAxisAlignment: MainAxisAlignment.center, 17 | children: [ 18 | Container( 19 | margin: EdgeInsets.all(10), 20 | height: 100, 21 | width: 250, 22 | child: Text( 23 | 'Best Travel Agencie in Karachi.', 24 | textAlign: TextAlign.center, 25 | style: TextStyle( 26 | color: Colors.black, 27 | fontSize: 28, 28 | fontWeight: FontWeight.bold), 29 | ), 30 | ), 31 | SizedBox(height: 0,), 32 | Expanded( 33 | child: DefaultTabController( 34 | 35 | length: 2, 36 | child: new Scaffold( 37 | backgroundColor: Colors.white, 38 | appBar: new PreferredSize( 39 | 40 | preferredSize: 41 | Size.fromHeight(MediaQuery.of(context).size.height), 42 | child: new Container( 43 | height: 50.0, 44 | child:TabBar( 45 | indicatorColor: apptheme().appthemecoloue, 46 | labelColor: apptheme().appthemecoloue, 47 | unselectedLabelColor: const Color(0xffacb3bf), 48 | indicatorPadding: EdgeInsets.all(0.0), 49 | indicatorWeight: 4.0, 50 | labelPadding: EdgeInsets.only(left: 0.0, right: 0.0), 51 | 52 | tabs: [ 53 | Container( 54 | height: 40, 55 | alignment: Alignment.center, 56 | color: Colors.white, 57 | child: Text("Create Account",style: TextStyle(fontWeight: FontWeight.w600,fontSize: 16),), 58 | ), 59 | Container( 60 | height: 40, 61 | alignment: Alignment.center , 62 | color: Colors.white, 63 | child: 64 | Text("Login",style: TextStyle(fontWeight: FontWeight.w600,fontSize: 16),), 65 | ), 66 | ], 67 | ), 68 | ) 69 | ), 70 | body: TabBarView( 71 | 72 | children: [ 73 | 74 | signup_screen( ), 75 | login_screen( ), 76 | ], 77 | ), 78 | ), 79 | ), 80 | ), 81 | ], 82 | ), 83 | ), 84 | ); 85 | 86 | 87 | 88 | 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /lib/login_signup/confirm_email.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/gestures.dart'; 2 | import 'package:flutter/material.dart'; 3 | 4 | class confirm_email extends StatelessWidget { 5 | const confirm_email({Key? key}) : super(key: key); 6 | 7 | @override 8 | Widget build(BuildContext context) { 9 | return Scaffold( 10 | body: Column( 11 | crossAxisAlignment: CrossAxisAlignment.center, 12 | mainAxisAlignment: MainAxisAlignment.center, 13 | children: [ 14 | Image.asset('images/mail.png'), 15 | SizedBox( 16 | height: 5, 17 | ), 18 | Center( 19 | child: Text("Check your mail", 20 | style: TextStyle( 21 | fontWeight: FontWeight.w600, 22 | fontSize: 36, 23 | color: Colors.black, 24 | )), 25 | ), 26 | SizedBox( 27 | height: 5, 28 | ), 29 | Center( 30 | child: 31 | Text("We have a Password Recover instructions to you email.", 32 | textAlign: TextAlign.center, 33 | style: TextStyle( 34 | fontWeight: FontWeight.w600, 35 | fontSize: 12, 36 | color: Color.fromRGBO(156, 163, 175, 1), 37 | ))), 38 | SizedBox( 39 | height: 5, 40 | ), 41 | Center( 42 | child: Text("Skip, I'll confirm later", 43 | style: TextStyle( 44 | fontWeight: FontWeight.w600, 45 | fontSize: 18, 46 | color: Colors.black, 47 | )), 48 | ), 49 | SizedBox( 50 | height: 5, 51 | ), 52 | Center( 53 | child: RichText( 54 | textAlign: TextAlign.center, 55 | text: TextSpan(children: [ 56 | 57 | TextSpan( 58 | text: "Did not receive the email? Check your spam\n", 59 | style: TextStyle(color: Colors.black, fontSize: 12), 60 | recognizer: TapGestureRecognizer() 61 | ..onTap = () { 62 | // Navigator.push( 63 | // context, 64 | // CupertinoPageRoute( 65 | // builder: (context) => 66 | // User_Aggrement_Screen()), 67 | // ); 68 | }, 69 | ), 70 | TextSpan( 71 | 72 | text: "filter or", 73 | style: TextStyle(color: Colors.black, fontSize: 12,)), 74 | TextSpan( 75 | text: " try another email address", 76 | style: TextStyle(color: Color.fromRGBO(147, 200, 61, 1), fontSize: 12), 77 | recognizer: TapGestureRecognizer() 78 | ..onTap = () { 79 | // Navigator.push( 80 | // context, 81 | // CupertinoPageRoute( 82 | // builder: (context) => 83 | // Privacy_policy()), 84 | // ); 85 | }, 86 | ), 87 | ])), 88 | ) 89 | ], 90 | ), 91 | ); 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 43 | 44 | 54 | 56 | 62 | 63 | 64 | 65 | 66 | 67 | 73 | 75 | 81 | 82 | 83 | 84 | 86 | 87 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /lib/category/grouptour.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:myot_app/details_screen/details_hotels.dart'; 3 | import 'package:myot_app/view/recomend_product.dart'; 4 | import 'package:myot_app/widgets/app_color.dart'; 5 | 6 | class grouptour extends StatelessWidget { 7 | const grouptour({Key? key}) : super(key: key); 8 | 9 | @override 10 | Widget build(BuildContext context) { 11 | return Scaffold( 12 | backgroundColor: apptheme().appbackgroundcolour, 13 | appBar: PreferredSize( 14 | preferredSize: Size.fromHeight(110), // here the desired height 15 | child: apptheme() 16 | .appbar(context, 'TOTAL NO OF DAYS 7', 'TOTAL COAST RS:50,000'), 17 | ), 18 | body: SingleChildScrollView( 19 | child: Container( 20 | padding: EdgeInsets.only(left: 10, right: 10, top: 10), 21 | child: Column( 22 | crossAxisAlignment: CrossAxisAlignment.start, 23 | children: [ 24 | // Container( 25 | // child: Row( 26 | // crossAxisAlignment: CrossAxisAlignment.center, 27 | // mainAxisAlignment: MainAxisAlignment.spaceBetween, 28 | // children: [ 29 | // for (var i = 0; i < 6; i++) 30 | // Column( 31 | // children: [ 32 | // Image.asset('images/karachi.png'), 33 | // Text('Karachi'), 34 | // ], 35 | // ), 36 | // ], 37 | // )), 38 | SizedBox( 39 | height: 10, 40 | ), 41 | Text( 42 | 'MYOT Packages', 43 | style: TextStyle( 44 | color: Colors.black, 45 | fontSize: 21, 46 | fontWeight: FontWeight.bold), 47 | ), 48 | SizedBox( 49 | height: 10, 50 | ), 51 | Container( 52 | width: MediaQuery.of(context).size.width, 53 | height: 180, 54 | child: ListView.builder( 55 | scrollDirection: Axis.horizontal, 56 | itemCount: 12, 57 | itemBuilder: (BuildContext context, int index) => 58 | Container( 59 | child: Image.asset('images/grouptourcategorie.png'), 60 | ), 61 | )), 62 | SizedBox( 63 | height: 10, 64 | ), 65 | Text( 66 | ' Recommended Group Tour', 67 | style: TextStyle( 68 | color: Colors.black, 69 | fontSize: 21, 70 | fontWeight: FontWeight.bold), 71 | ), 72 | SizedBox( 73 | height: 10, 74 | ), 75 | for (var i = 0; i < 12; i++) 76 | 77 | InkWell( 78 | onTap: (){ 79 | Navigator.push( 80 | context, 81 | MaterialPageRoute( 82 | builder: (BuildContext context) => 83 | 84 | details_hotels(title:'Sumba Island',))); 85 | }, 86 | child: product().honeymoonpackage(context,'images/honeymonpackage.png','Sumba Island','Sumba Island is an exotic island in the\n eastern part of Indonesia ','Rs. 3.295.000', '4.0')), 87 | ], 88 | 89 | )) 90 | )); 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /lib/category/myotpackages.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:myot_app/details_screen/details_hotels.dart'; 3 | import 'package:myot_app/view/recomend_product.dart'; 4 | import 'package:myot_app/widgets/app_color.dart'; 5 | 6 | class myot_packages extends StatelessWidget { 7 | const myot_packages({Key? key}) : super(key: key); 8 | 9 | @override 10 | Widget build(BuildContext context) { 11 | return Scaffold( 12 | backgroundColor: apptheme().appbackgroundcolour, 13 | appBar: PreferredSize( 14 | preferredSize: Size.fromHeight(110), // here the desired height 15 | child: apptheme() 16 | .appbar(context, 'TOTAL NO OF DAYS 7', 'TOTAL COAST RS:50,000'), 17 | ), 18 | body: SingleChildScrollView( 19 | child: Container( 20 | padding: EdgeInsets.only(left: 10, right: 10, top: 10), 21 | child: Column( 22 | crossAxisAlignment: CrossAxisAlignment.start, 23 | children: [ 24 | // Container( 25 | // child: Row( 26 | // crossAxisAlignment: CrossAxisAlignment.center, 27 | // mainAxisAlignment: MainAxisAlignment.spaceBetween, 28 | // children: [ 29 | // for (var i = 0; i < 6; i++) 30 | // Column( 31 | // children: [ 32 | // Image.asset('images/karachi.png'), 33 | // Text('Karachi'), 34 | // ], 35 | // ) 36 | // ], 37 | // )), 38 | // SizedBox( 39 | // height: 10, 40 | // ), 41 | Text( 42 | 'MYOT Packages', 43 | style: TextStyle( 44 | color: Colors.black, 45 | fontSize: 21, 46 | fontWeight: FontWeight.bold), 47 | ), 48 | SizedBox( 49 | height: 10, 50 | ), 51 | Container( 52 | width: MediaQuery.of(context).size.width, 53 | height: 180, 54 | child: ListView.builder( 55 | scrollDirection: Axis.horizontal, 56 | itemCount: 12, 57 | itemBuilder: (BuildContext context, int index) => 58 | Container( 59 | child: Image.asset('images/myotpackages.png'), 60 | ), 61 | )), 62 | SizedBox( 63 | height: 10, 64 | ), 65 | Text( 66 | 'MYOT Packages', 67 | style: TextStyle( 68 | color: Colors.black, 69 | fontSize: 21, 70 | fontWeight: FontWeight.bold), 71 | ), 72 | SizedBox( 73 | height: 10, 74 | ), 75 | for (var i = 0; i < 12; i++) 76 | 77 | InkWell( 78 | onTap: (){ 79 | Navigator.push( 80 | context, 81 | MaterialPageRoute( 82 | builder: (BuildContext context) => 83 | 84 | details_hotels(title:' Sumba Island',))); 85 | }, 86 | child: product().honeymoonpackage(context,'images/honeymonpackage.png','Sumba Island','Sumba Island is an exotic island in the\n eastern part of Indonesia ','Rs. 3.295.000', '4.0')), 87 | ], 88 | 89 | )) 90 | )); 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /lib/Dashboard_screens/notifications_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | 4 | 5 | class notify extends StatelessWidget { 6 | const notify({Key? key}) : super(key: key); 7 | 8 | @override 9 | Widget build(BuildContext context) { 10 | return Scaffold( 11 | body: SafeArea( 12 | child: Container( 13 | padding: EdgeInsets.only(left: 15, right: 15, top: 15, bottom: 10), 14 | 15 | child: Column( 16 | 17 | children: [ 18 | SizedBox(height: 15,), 19 | Text( 20 | 'Notifications', 21 | style: TextStyle( 22 | color: Colors.black, 23 | fontSize: 16, 24 | fontWeight: FontWeight.bold), 25 | ), 26 | SizedBox(height: 15,), 27 | ListTile( 28 | 29 | leading: Column( 30 | crossAxisAlignment: CrossAxisAlignment.start, 31 | children: [ 32 | Text( 33 | 'Your password has been\n successfully changed.', 34 | 35 | style: TextStyle( 36 | color: Colors.black, 37 | fontSize: 12, 38 | fontWeight: FontWeight.bold), 39 | ), 40 | SizedBox(height: 5,), 41 | Text( 42 | '104, 113, 122, 1', 43 | style: TextStyle( 44 | color: Colors.black, 45 | fontSize: 12, 46 | fontWeight: FontWeight.w400), 47 | ), 48 | 49 | ], 50 | ), 51 | 52 | trailing: Image.asset('images/Ellipse 176 (1).png'), 53 | ), 54 | SizedBox(height: 15,), 55 | ListTile( 56 | 57 | leading: Column( 58 | crossAxisAlignment: CrossAxisAlignment.start, 59 | children: [ 60 | Text( 61 | 'Your password has been\n successfully changed.', 62 | 63 | style: TextStyle( 64 | color: Colors.black, 65 | fontSize: 12, 66 | fontWeight: FontWeight.bold), 67 | ), 68 | SizedBox(height: 5,), 69 | Text( 70 | '104, 113, 122, 1', 71 | style: TextStyle( 72 | color: Colors.black, 73 | fontSize: 12, 74 | fontWeight: FontWeight.w400), 75 | ), 76 | 77 | ], 78 | ), 79 | 80 | trailing: Image.asset('images/Ellipse 176 (1).png'), 81 | ), 82 | SizedBox(height: 15,), 83 | ListTile( 84 | 85 | leading: Column( 86 | crossAxisAlignment: CrossAxisAlignment.start, 87 | children: [ 88 | Text( 89 | 'Your password has been\n successfully changed.', 90 | 91 | style: TextStyle( 92 | color: Colors.black, 93 | fontSize: 12, 94 | fontWeight: FontWeight.bold), 95 | ), 96 | SizedBox(height: 5,), 97 | Text( 98 | '104, 113, 122, 1', 99 | style: TextStyle( 100 | color: Colors.black, 101 | fontSize: 12, 102 | fontWeight: FontWeight.w400), 103 | ), 104 | 105 | ], 106 | ), 107 | 108 | trailing: Image.asset('images/Ellipse 176 (1).png'), 109 | ) 110 | ], 111 | ), 112 | ), 113 | ), 114 | ); 115 | } 116 | } 117 | -------------------------------------------------------------------------------- /lib/Dashboard_screens/tranportation.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:myot_app/details_screen/details_hotels.dart'; 3 | import 'package:myot_app/widgets/app_color.dart'; 4 | 5 | 6 | class packages extends StatelessWidget { 7 | const packages({Key? key}) : super(key: key); 8 | 9 | @override 10 | Widget build(BuildContext context) { 11 | return Scaffold( 12 | backgroundColor: apptheme().appbackgroundcolour, 13 | 14 | body: Container( 15 | padding: EdgeInsets.only(left: 15,right: 15,top: 15,bottom: 10), 16 | child: Column( 17 | crossAxisAlignment: CrossAxisAlignment.start, 18 | children: [ 19 | Text( 20 | 'Packages', 21 | style: TextStyle( 22 | color: Colors.black, 23 | fontSize: 16, 24 | fontWeight: FontWeight.bold), 25 | ), 26 | SizedBox(height: 10,), 27 | InkWell( 28 | onTap: (){ 29 | Navigator.push( 30 | context, 31 | MaterialPageRoute( 32 | builder: (BuildContext context) => 33 | 34 | details_hotels()), 35 | ); 36 | }, 37 | child: Center( 38 | child: Container( 39 | margin: EdgeInsets.all(5), 40 | padding: EdgeInsets.only(left: 5, right: 5), 41 | width: MediaQuery.of(context).size.width, 42 | height: 205, 43 | decoration: BoxDecoration( 44 | color: Colors.white, 45 | borderRadius: BorderRadius.circular(15), 46 | ), 47 | child: Column( 48 | children: [ 49 | Image.asset( 50 | 'images/hotel_category.png', 51 | width: 388, 52 | fit: BoxFit.cover, 53 | ), 54 | SizedBox( 55 | height: 5, 56 | ), 57 | Row( 58 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 59 | children: [ 60 | Text( 61 | 'Packages', 62 | style: TextStyle( 63 | color: Colors.black, 64 | fontSize: 15, 65 | fontWeight: FontWeight.w500), 66 | ), 67 | Center( 68 | child: Container( 69 | width: 80, 70 | height: 30, 71 | decoration: BoxDecoration( 72 | color: Color.fromRGBO(0, 0, 0, 0.08), 73 | borderRadius: BorderRadius.circular(22), 74 | ), 75 | child: Center( 76 | child: Text('\$1,459'), 77 | ) 78 | ), 79 | ), 80 | ], 81 | ), 82 | Row( 83 | children: [ 84 | Icon( 85 | Icons.add_location_rounded, 86 | color: Colors.red, 87 | ), 88 | Text( 89 | 'Karachi', 90 | style: TextStyle( 91 | color: Color.fromRGBO(104, 113, 122, 1), 92 | fontSize: 12), 93 | ), 94 | ], 95 | ), 96 | SizedBox( 97 | height: 5, 98 | ), 99 | 100 | ], 101 | ), 102 | ), 103 | ), 104 | ), 105 | ], 106 | ), 107 | ), 108 | ); 109 | } 110 | } 111 | -------------------------------------------------------------------------------- /lib/Dashboard_screens/my_referal_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | 4 | class my_referal extends StatelessWidget { 5 | const my_referal({Key? key}) : super(key: key); 6 | 7 | @override 8 | Widget build(BuildContext context) { 9 | return Scaffold( 10 | body: SafeArea( 11 | child: Container( 12 | padding: EdgeInsets.only(left: 10, right: 10, top: 10), 13 | 14 | child: Column( 15 | crossAxisAlignment: CrossAxisAlignment.start, 16 | children: [ 17 | Center(child: Image.asset('images/4 1.png')), 18 | SizedBox( 19 | height: 15, 20 | ), 21 | Center( 22 | child: Text( 23 | '0375D', 24 | style: TextStyle( 25 | color: Colors.black, 26 | fontSize: 21, 27 | fontWeight: FontWeight.bold), 28 | ), 29 | ), 30 | SizedBox( 31 | height: 15, 32 | ), 33 | Text( 34 | 'Your Invites', 35 | style: TextStyle( 36 | color: Colors.black, 37 | fontSize: 21, 38 | fontWeight: FontWeight.bold), 39 | ), 40 | SizedBox( 41 | height: 15, 42 | ), 43 | Row( 44 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 45 | children: [ 46 | Text( 47 | 'Mohib Ahmed', 48 | 49 | style: TextStyle( 50 | color: Colors.black, 51 | fontSize: 16, 52 | fontWeight: FontWeight.bold), 53 | 54 | 55 | ), 56 | Text( 57 | 'July 25', 58 | 59 | style: TextStyle( 60 | color: Colors.black, 61 | fontSize: 16, 62 | fontWeight: FontWeight.bold), 63 | 64 | 65 | ), 66 | Center( 67 | child: Container( 68 | width: 80, 69 | height: 30, 70 | decoration: BoxDecoration( 71 | color: Color.fromRGBO(111, 192, 91, 1), 72 | borderRadius: BorderRadius.circular(22), 73 | ), 74 | child: Center( 75 | child: Text('10 Coins',style: TextStyle( 76 | color: Colors.white 77 | ),), 78 | ) 79 | ), 80 | ), 81 | ], 82 | ), 83 | SizedBox( 84 | height: 15, 85 | ), 86 | Row( 87 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 88 | children: [ 89 | Text( 90 | 'Mohib Ahmed', 91 | 92 | style: TextStyle( 93 | color: Colors.black, 94 | fontSize: 16, 95 | fontWeight: FontWeight.bold), 96 | 97 | 98 | ), 99 | Text( 100 | 'July 25', 101 | 102 | style: TextStyle( 103 | color: Colors.black, 104 | fontSize: 16, 105 | fontWeight: FontWeight.bold), 106 | 107 | 108 | ), 109 | Center( 110 | child: Container( 111 | width: 80, 112 | height: 30, 113 | decoration: BoxDecoration( 114 | color: Color.fromRGBO(111, 192, 91, 1), 115 | borderRadius: BorderRadius.circular(22), 116 | ), 117 | child: Center( 118 | child: Text('10 Coins',style: TextStyle( 119 | color: Colors.white 120 | ),), 121 | ) 122 | ), 123 | ), 124 | ], 125 | ) 126 | ], 127 | ), 128 | ), 129 | ), 130 | ); 131 | } 132 | } 133 | -------------------------------------------------------------------------------- /lib/Dashboard_screens/hotels_bookmark.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:myot_app/details_screen/details_hotels.dart'; 3 | import 'package:myot_app/main.dart'; 4 | import 'package:myot_app/widgets/app_color.dart'; 5 | import 'package:myot_app/widgets/button.dart'; 6 | 7 | class hotel_bookmark extends StatelessWidget { 8 | const hotel_bookmark({Key? key}) : super(key: key); 9 | 10 | @override 11 | Widget build(BuildContext context) { 12 | return Scaffold( 13 | backgroundColor: apptheme().appbackgroundcolour, 14 | 15 | body: Container( 16 | padding: EdgeInsets.only(left: 15,right: 15,top: 15,bottom: 10), 17 | child: Column( 18 | crossAxisAlignment: CrossAxisAlignment.start, 19 | children: [ 20 | Text( 21 | 'Bookmark', 22 | style: TextStyle( 23 | color: Colors.black, 24 | fontSize: 16, 25 | fontWeight: FontWeight.bold), 26 | ), 27 | SizedBox(height: 10,), 28 | InkWell( 29 | onTap: (){ 30 | Navigator.push( 31 | context, 32 | MaterialPageRoute( 33 | builder: (BuildContext context) => 34 | 35 | details_hotels()), 36 | ); 37 | }, 38 | child: 39 | Center( 40 | child: Container( 41 | margin: EdgeInsets.all(5), 42 | padding: EdgeInsets.only(left: 5, right: 5), 43 | width: MediaQuery.of(context).size.width, 44 | height: 205, 45 | decoration: BoxDecoration( 46 | color: Colors.white, 47 | borderRadius: BorderRadius.circular(15), 48 | ), 49 | child: Column( 50 | children: [ 51 | Image.asset( 52 | 'images/hotel_category.png', 53 | width: 388, 54 | fit: BoxFit.cover, 55 | ), 56 | SizedBox( 57 | height: 5, 58 | ), 59 | Row( 60 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 61 | children: [ 62 | Text( 63 | 'Hotel one Jinnah 1-9 Karachi', 64 | style: TextStyle( 65 | color: Colors.black, 66 | fontSize: 15, 67 | fontWeight: FontWeight.w500), 68 | ), 69 | Center( 70 | child: 71 | Container( 72 | width: 80, 73 | height: 30, 74 | decoration: BoxDecoration( 75 | color: Color.fromRGBO(0, 0, 0, 0.08), 76 | borderRadius: BorderRadius.circular(22), 77 | ), 78 | child: Center( 79 | child: Text('\$1,459'), 80 | ) 81 | ), 82 | ), 83 | ], 84 | ), 85 | Row( 86 | children: [ 87 | Icon( 88 | Icons.add_location_rounded, 89 | color: Colors.red, 90 | ), 91 | Text( 92 | 'Karachi', 93 | style: TextStyle( 94 | color: Color.fromRGBO(104, 113, 122, 1), 95 | fontSize: 12), 96 | ), 97 | ], 98 | ), 99 | SizedBox( 100 | height: 5, 101 | ), 102 | 103 | ], 104 | ), 105 | ), 106 | ), 107 | ), 108 | ], 109 | ), 110 | ), 111 | ); 112 | } 113 | } 114 | -------------------------------------------------------------------------------- /lib/Dashboard_screens/transportation.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:myot_app/details_screen/details_hotels.dart'; 3 | import 'package:myot_app/main.dart'; 4 | import 'package:myot_app/widgets/app_color.dart'; 5 | 6 | 7 | class tranportation extends StatelessWidget { 8 | const tranportation({Key? key}) : super(key: key); 9 | 10 | @override 11 | Widget build(BuildContext context) { 12 | return Scaffold( 13 | backgroundColor: apptheme().appbackgroundcolour, 14 | 15 | body: Container( 16 | padding: EdgeInsets.only(left: 15,right: 15,top: 15,bottom: 10), 17 | 18 | child: Column( 19 | crossAxisAlignment: CrossAxisAlignment.start, 20 | children: [ 21 | Text( 22 | 'Transportation', 23 | style: TextStyle( 24 | color: Colors.black, 25 | fontSize: 16, 26 | fontWeight: FontWeight.bold), 27 | ), 28 | SizedBox(height: 10,), 29 | InkWell( 30 | onTap: (){ 31 | Navigator.push( 32 | context, 33 | MaterialPageRoute( 34 | builder: (BuildContext context) => 35 | 36 | details_hotels()), 37 | ); 38 | }, 39 | child: Center( 40 | child: Container( 41 | margin: EdgeInsets.all(5), 42 | padding: EdgeInsets.only(left: 5, right: 5), 43 | width: MediaQuery.of(context).size.width, 44 | height: 245, 45 | decoration: BoxDecoration( 46 | color: Colors.white, 47 | borderRadius: BorderRadius.circular(15), 48 | ), 49 | child: Column( 50 | children: [ 51 | ClipRRect( 52 | borderRadius: BorderRadius.circular(15), 53 | child: Image.asset( 54 | 'images/car_details.dart.png', 55 | width: 388, 56 | fit: BoxFit.cover, 57 | ), 58 | ), 59 | SizedBox( 60 | height: 5, 61 | ), 62 | Row( 63 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 64 | children: [ 65 | Text( 66 | 'Toyota', 67 | style: TextStyle( 68 | color: Colors.black, 69 | fontSize: 15, 70 | fontWeight: FontWeight.w500), 71 | ), 72 | Center( 73 | child: Container( 74 | width: 80, 75 | height: 30, 76 | decoration: BoxDecoration( 77 | color: Color.fromRGBO(0, 0, 0, 0.08), 78 | borderRadius: BorderRadius.circular(22), 79 | ), 80 | child: Center( 81 | child: Text('\$1,459'), 82 | ) 83 | ), 84 | ), 85 | ], 86 | ), 87 | Row( 88 | children: [ 89 | Icon( 90 | Icons.add_location_rounded, 91 | color: Colors.red, 92 | ), 93 | Text( 94 | 'Karachi', 95 | style: TextStyle( 96 | color: Color.fromRGBO(104, 113, 122, 1), 97 | fontSize: 12), 98 | ), 99 | ], 100 | ), 101 | SizedBox( 102 | height: 5, 103 | ), 104 | 105 | ], 106 | ), 107 | ), 108 | ), 109 | ) 110 | ], 111 | ), 112 | ), 113 | ); 114 | } 115 | } 116 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: myot_app 2 | description: A new Flutter project. 3 | 4 | # The following line prevents the package from being accidentally published to 5 | # pub.dev using `pub publish`. This is preferred for private packages. 6 | publish_to: 'none' # Remove this line if you wish to publish to pub.dev 7 | 8 | # The following defines the version and build number for your application. 9 | # A version number is three numbers separated by dots, like 1.2.43 10 | # followed by an optional build number separated by a +. 11 | # Both the version and the builder number may be overridden in flutter 12 | # build by specifying --build-name and --build-number, respectively. 13 | # In Android, build-name is used as versionName while build-number used as versionCode. 14 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning 15 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. 16 | # Read more about iOS versioning at 17 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 18 | version: 1.0.0+1 19 | 20 | environment: 21 | sdk: ">=2.12.0 <3.0.0" 22 | 23 | dependencies: 24 | flutter: 25 | sdk: flutter 26 | 27 | 28 | # The following adds the Cupertino Icons font to your application. 29 | # Use with the CupertinoIcons class for iOS style icons. 30 | cupertino_icons: ^1.0.2 31 | provider: ^5.0.0 32 | readmore: ^2.1.0 33 | flutter_slider_drawer: ^2.1.1 34 | draggable_home: ^1.0.2 35 | carousel_slider: ^4.0.0 36 | page_transition: ^2.0.5 37 | splash_screen_view: ^3.0.0 38 | bloc: ^7.0.0 39 | 40 | dev_dependencies: 41 | flutter_test: 42 | sdk: flutter 43 | 44 | # For information on the generic Dart part of this file, see the 45 | # following page: https://dart.dev/tools/pub/pubspec 46 | 47 | # The following section is specific to Flutter. 48 | flutter: 49 | 50 | # The following line ensures that the Material Icons font is 51 | # included with your application, so that you can use the icons in 52 | # the material Icons class. 53 | uses-material-design: true 54 | 55 | # To add assets to your application, add an assets section, like this: 56 | assets: 57 | - images/started_cover.png 58 | - images/logo.png 59 | - images/goggle_icon.png 60 | - images/facebook_icon.png 61 | - images/mail.png 62 | - images/fishing.png 63 | - images/touring.png 64 | - images/wildlife.png 65 | - images/winter_activity.png 66 | - images/camping.png 67 | - images/citytour.png 68 | - images/hotel.png 69 | - images/transport.png 70 | - images/grouptour.png 71 | - images/packages.png 72 | - images/kudaisland.png 73 | - images/honeymonpackage.png 74 | - images/karachi.png 75 | - images/hotel_category.png 76 | - images/transpoortcategory.png 77 | - images/myotpackages.png 78 | - images/grouptourcategorie.png 79 | - images/car_details.dart.png 80 | - images/details_hotel.png 81 | - images/Places (2).png 82 | - images/Places (4).png 83 | - images/unsplash_JqhVgs4WANQ (3).png 84 | - images/karachilocation.png 85 | - images/profile.png 86 | - images/4 1.png 87 | - images/Ellipse 176 (1).png 88 | - images/splash_icon.png 89 | - images/ 90 | 91 | 92 | 93 | # An image asset can refer to one or more resolution-specific "variants", see 94 | # https://flutter.dev/assets-and-images/#resolution-aware. 95 | 96 | # For details regarding adding assets from package dependencies, see 97 | # https://flutter.dev/assets-and-images/#from-packages 98 | 99 | # To add custom fonts to your application, add a fonts section here, 100 | # in this "flutter" section. Each entry in this list should have a 101 | # "family" key with the font family name, and a "fonts" key with a 102 | # list giving the asset and other descriptors for the font. For 103 | # example: 104 | # fonts: 105 | # - family: Schyler 106 | # fonts: 107 | # - asset: fonts/Schyler-Regular.ttf 108 | # - asset: fonts/Schyler-Italic.ttf 109 | # style: italic 110 | # - family: Trajan Pro 111 | # fonts: 112 | # - asset: fonts/TrajanPro.ttf 113 | # - asset: fonts/TrajanPro_Bold.ttf 114 | # weight: 700 115 | # 116 | # For details regarding fonts from package dependencies, 117 | # see https://flutter.dev/custom-fonts/#from-packages 118 | -------------------------------------------------------------------------------- /lib/login_signup/forgot_password.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:myot_app/login_signup/confirm_email.dart'; 3 | import 'package:myot_app/widgets/app_color.dart'; 4 | import 'package:myot_app/widgets/button.dart'; 5 | 6 | class forgot_password extends StatelessWidget { 7 | const forgot_password({Key? key}) : super(key: key); 8 | 9 | @override 10 | Widget build(BuildContext context) { 11 | return Scaffold( 12 | body: SafeArea( 13 | child: Container( 14 | padding: EdgeInsets.only(left: 15,right: 15), 15 | child: Column( 16 | mainAxisAlignment: MainAxisAlignment.center, 17 | crossAxisAlignment: CrossAxisAlignment.center, 18 | children: [ 19 | Center( 20 | child: Container( 21 | margin: EdgeInsets.all(10), 22 | height: 100, 23 | width: 250, 24 | child: Image.asset( 25 | 'images/logo.png', 26 | fit: BoxFit.cover, 27 | ), 28 | ), 29 | ), 30 | SizedBox(height: 15,), 31 | Center( 32 | child: Text("Reset Password", 33 | style: TextStyle( 34 | fontWeight: FontWeight.w600, 35 | fontSize: 36, 36 | color: Colors.black, 37 | )), 38 | ), 39 | SizedBox(height: 15,), 40 | Center( 41 | child: Text("Enter the accociation with your account and We’ll send an email with instructions to reset your Password.", 42 | textAlign: TextAlign.center, 43 | style: TextStyle( 44 | fontWeight: FontWeight.w600, 45 | fontSize: 12, 46 | color: Color.fromRGBO(156, 163, 175, 1), 47 | ))), 48 | SizedBox(height: 15,), 49 | Center( 50 | child: Container( 51 | height: 50, 52 | decoration: BoxDecoration( 53 | color: Colors.black.withAlpha(10), 54 | borderRadius: BorderRadius.all( 55 | Radius.circular(10), 56 | ), 57 | ), 58 | width: MediaQuery.of(context).size.width, 59 | child: TextField( 60 | keyboardType: TextInputType.text, 61 | decoration: InputDecoration( 62 | suffixStyle: TextStyle(color: Colors.grey), 63 | // suffixIcon: Icon( 64 | // Icons.check, 65 | // color: Color.fromRGBO(252, 186, 24, 1), 66 | // ), 67 | prefixStyle: TextStyle(color: Colors.grey), 68 | hintText: 'Eg namaemail@emailkamu.com', 69 | enabledBorder: OutlineInputBorder( 70 | borderRadius: BorderRadius.circular(15), 71 | borderSide: BorderSide( 72 | color: Color.fromRGBO(242, 242, 242, 1), 73 | )), 74 | focusedBorder: OutlineInputBorder( 75 | borderRadius: BorderRadius.circular(10), 76 | borderSide: BorderSide( 77 | color: Color.fromRGBO(242, 242, 242, 1), 78 | )), 79 | errorBorder: OutlineInputBorder( 80 | borderRadius: BorderRadius.circular(10), 81 | borderSide: BorderSide(color: Colors.red)), 82 | focusedErrorBorder: OutlineInputBorder( 83 | borderRadius: BorderRadius.circular(10), 84 | borderSide: BorderSide(color: Colors.red))), 85 | ), 86 | ), 87 | ), 88 | SizedBox(height: 15,), 89 | button().materialbuttons('Next',(){ 90 | Navigator.push( 91 | context, 92 | MaterialPageRoute( 93 | builder: (BuildContext context) => 94 | confirm_email()), 95 | ); 96 | }), 97 | ], 98 | ), 99 | ), 100 | ), 101 | ); 102 | } 103 | } 104 | -------------------------------------------------------------------------------- /lib/view/modal.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:myot_app/widgets/app_color.dart'; 3 | 4 | 5 | 6 | class modal { 7 | reject_order(BuildContext context,heading,first,first1,second,second2,third,third1,fourth,fourth1,five,five1) { 8 | return showDialog( 9 | context: context, 10 | builder: (BuildContext context) { 11 | return AlertDialog( 12 | shape: RoundedRectangleBorder( 13 | borderRadius: BorderRadius.all(Radius.circular(20))), 14 | contentPadding: EdgeInsets.only(top: 0.0, bottom: 10), 15 | backgroundColor: Color.fromRGBO(242, 242, 242, 1), 16 | content: Column( 17 | mainAxisAlignment: MainAxisAlignment.start, 18 | crossAxisAlignment: CrossAxisAlignment.start, 19 | mainAxisSize: MainAxisSize.min, 20 | children: [ 21 | Container( 22 | decoration: BoxDecoration( 23 | color:apptheme().appthemecoloue, 24 | borderRadius: BorderRadius.all(Radius.circular(0)), 25 | ), 26 | height: 50, 27 | child: Center( 28 | child: Text( 29 | heading, 30 | style: TextStyle( 31 | color: Colors.white, fontWeight: FontWeight.w700), 32 | ), 33 | ), 34 | ), 35 | SizedBox(height: 10,), 36 | Container( 37 | padding: EdgeInsets.only(left: 15,right: 15,bottom: 15), 38 | child: Column( 39 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 40 | children: [ 41 | Row( 42 | crossAxisAlignment: CrossAxisAlignment.start, 43 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 44 | children: [ 45 | Text(first, style: TextStyle( 46 | color: Colors.black, fontWeight: FontWeight.w400,fontSize: 14),), 47 | Text(first1, style: TextStyle( 48 | color: Colors.black,fontSize: 14 ),), 49 | ], 50 | ), 51 | SizedBox(height:10,), 52 | Row( 53 | crossAxisAlignment: CrossAxisAlignment.start, 54 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 55 | children: [ 56 | Text(second, style: TextStyle( 57 | color: Colors.black, fontWeight: FontWeight.w400,fontSize: 14),), 58 | Text(second2, style: TextStyle( 59 | color: Colors.black, fontSize: 14 ),), 60 | ], 61 | ), 62 | SizedBox(height: 10,), 63 | Row( 64 | crossAxisAlignment: CrossAxisAlignment.start, 65 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 66 | children: [ 67 | Text(third, style: TextStyle( 68 | color: Colors.black, fontWeight: FontWeight.w400,fontSize: 14),), 69 | Text(third1, style: TextStyle( 70 | color: Colors.black,fontSize: 14 ),), 71 | ], 72 | ), 73 | SizedBox(height:10,), 74 | Row( 75 | crossAxisAlignment: CrossAxisAlignment.start, 76 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 77 | children: [ 78 | Text(fourth, style: TextStyle( 79 | color: Colors.black, fontWeight: FontWeight.w400,fontSize: 14),), 80 | Text(fourth1, style: TextStyle( 81 | color: Colors.black, fontSize: 14 ),), 82 | ], 83 | ), 84 | SizedBox(height: 10,), 85 | Row( 86 | crossAxisAlignment: CrossAxisAlignment.start, 87 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 88 | children: [ 89 | Text(five, style: TextStyle( 90 | color: Colors.black, fontWeight: FontWeight.w400,fontSize: 14),), 91 | Text(five1, style: TextStyle( 92 | color: Colors.black, fontSize: 14 ),), 93 | ], 94 | ) 95 | ], 96 | ), 97 | ) 98 | 99 | ], 100 | ), 101 | ); 102 | });}} 103 | -------------------------------------------------------------------------------- /lib/view/recomend_product.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class product{ 4 | Widget Recommentproduct(images,name,location,price){ 5 | return Container( 6 | margin: EdgeInsets.all(5), 7 | decoration: BoxDecoration( 8 | color: Colors.white, 9 | borderRadius: BorderRadius.circular(15), 10 | ), 11 | height: 165, 12 | width: 135, 13 | child: Column( 14 | children: [ 15 | SizedBox( 16 | height: 5, 17 | ), 18 | Center( 19 | child: Image.asset( 20 | images, 21 | height: 100, 22 | width: 110, 23 | 24 | )), 25 | SizedBox( 26 | height: 5, 27 | ), 28 | Center( 29 | child: Text( 30 | name, 31 | textAlign: TextAlign.center, 32 | style: TextStyle( 33 | color: Colors.black, 34 | fontSize: 12, 35 | fontWeight: FontWeight.w600), 36 | )), 37 | SizedBox( 38 | height: 5, 39 | ), 40 | Row( 41 | mainAxisAlignment: MainAxisAlignment.spaceEvenly, 42 | children: [ 43 | Row( 44 | children: [ 45 | Icon( 46 | Icons.add_location_rounded, 47 | color: Colors.red, 48 | ), 49 | Text( 50 | location, 51 | style: TextStyle( 52 | color: Color.fromRGBO(104, 113, 122, 1), 53 | fontSize: 12), 54 | ), 55 | ], 56 | ), 57 | Center( 58 | child: Container( 59 | width: 60, 60 | height: 30, 61 | decoration: BoxDecoration( 62 | color: Color.fromRGBO(0, 0, 0, 0.08), 63 | borderRadius: BorderRadius.circular(10), 64 | ), 65 | child: Center(child: Text( price))), 66 | ), 67 | ], 68 | ) 69 | ], 70 | ), 71 | ); 72 | 73 | } 74 | Widget honeymoonpackage(BuildContext context,image,name,description,price,star){ 75 | return Container( 76 | margin: EdgeInsets.all(10), 77 | child: Container( 78 | decoration: BoxDecoration( 79 | color: Colors.white, 80 | borderRadius: BorderRadius.circular(15), 81 | ), 82 | height: 90, 83 | 84 | width: MediaQuery.of(context).size.width, 85 | child: Row( 86 | crossAxisAlignment: CrossAxisAlignment.start, 87 | children: [ 88 | Container( 89 | child: Image.asset( 90 | image, 91 | height: 130, 92 | fit: BoxFit.cover, 93 | ), 94 | ), 95 | Column( 96 | crossAxisAlignment: CrossAxisAlignment.start, 97 | mainAxisAlignment: MainAxisAlignment.center, 98 | children: [ 99 | Text( 100 | name, 101 | style: TextStyle( 102 | color: Colors.black, 103 | fontSize: 15, 104 | fontWeight: FontWeight.w500), 105 | ), 106 | Text( 107 | description, 108 | 109 | style: TextStyle( 110 | color: Color.fromRGBO(109, 113, 118, 1), 111 | fontSize: 10, 112 | fontWeight: FontWeight.w500), 113 | ), 114 | SizedBox(height: 15,), 115 | Row( 116 | children: [ 117 | Text( 118 | price, 119 | style: TextStyle( 120 | color: Colors.black, 121 | fontSize: 15, 122 | fontWeight: FontWeight.w700), 123 | ), 124 | Row( 125 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 126 | 127 | children: [ 128 | Icon(Icons.star,color: Colors.yellow,), 129 | Text(star) 130 | ], 131 | ) 132 | ], 133 | ) 134 | ], 135 | ) 136 | ], 137 | )), 138 | ); 139 | } 140 | } -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'dart:ui'; 2 | 3 | import 'package:flutter/cupertino.dart'; 4 | import 'package:flutter/material.dart'; 5 | import 'package:myot_app/Dashboard_screens/dashboard_screens.dart'; 6 | import 'package:myot_app/login_signup/tabbar.dart'; 7 | import 'package:myot_app/provider/provider.dart'; 8 | import 'package:myot_app/slider_screen.dart'; 9 | import 'package:myot_app/widgets/app_color.dart'; 10 | import 'package:myot_app/widgets/button.dart'; 11 | import 'package:page_transition/page_transition.dart'; 12 | import 'package:provider/provider.dart'; 13 | import 'package:splash_screen_view/SplashScreenView.dart'; 14 | 15 | void main() { 16 | runApp(ChangeNotifierProvider( 17 | create: (_) => cartprovider(), child: MyApp())); 18 | } 19 | 20 | class MyApp extends StatelessWidget { 21 | // This widget is the root of your application. 22 | @override 23 | Widget build(BuildContext context) { 24 | return MaterialApp( 25 | debugShowCheckedModeBanner: false, 26 | title: 'Flutter Demo', 27 | theme: ThemeData( 28 | 29 | backgroundColor: apptheme().appbackgroundcolour, 30 | // This is the theme of your application. 31 | // 32 | // Try running your application with "flutter run". You'll see the 33 | // application has a blue toolbar. Then, without quitting the app, try 34 | // changing the primarySwatch below to Colors.green and then invoke 35 | // "hot reload" (press "r" in the console where you ran "flutter run", 36 | // or simply save your changes to "hot reload" in a Flutter IDE). 37 | // Notice that the counter didn't reset back to zero; the application 38 | // is not restarted. 39 | 40 | 41 | ), 42 | home: splash_screen(), 43 | ); 44 | } 45 | } 46 | class splash_screen extends StatelessWidget { 47 | const splash_screen({Key? key}) : super(key: key); 48 | 49 | @override 50 | Widget build(BuildContext context) { 51 | return Scaffold( 52 | body: SplashScreenView( 53 | pageRouteTransition: PageRouteTransition.SlideTransition, 54 | navigateRoute: start_screen(), 55 | duration: 7000, 56 | imageSize: 500, 57 | imageSrc: "images/Comp-1.gif", 58 | 59 | // text: "MYOT", 60 | 61 | textStyle: TextStyle( 62 | fontSize: 30.0, 63 | color: Colors.black 64 | ), 65 | backgroundColor: Colors.white, 66 | ), 67 | ); 68 | } 69 | } 70 | 71 | class start_screen extends StatelessWidget { 72 | const start_screen({Key? key}) : super(key: key); 73 | 74 | @override 75 | Widget build(BuildContext context) { 76 | return Scaffold( 77 | body: Container( 78 | height: MediaQuery.of(context).size.height, 79 | width: MediaQuery.of(context).size.width, 80 | 81 | decoration: BoxDecoration( 82 | 83 | 84 | image: DecorationImage( 85 | colorFilter: new ColorFilter.mode(Colors.black.withOpacity(0.3), BlendMode.darken ), 86 | 87 | image: AssetImage( 88 | 'images/started_cover.png', 89 | ), 90 | fit: BoxFit.cover, 91 | 92 | )), 93 | child: Column( 94 | crossAxisAlignment: CrossAxisAlignment.center, 95 | mainAxisAlignment: MainAxisAlignment.center, 96 | children: [ 97 | Image.asset('images/logo.png'), 98 | SizedBox(height: 15,), 99 | Text( 100 | 'welcome', 101 | style: TextStyle( 102 | color: Colors.black, 103 | fontSize: 28, 104 | fontWeight: FontWeight.bold), 105 | ), 106 | SizedBox(height: 15,), 107 | Text( 108 | 'A new way to travel with the best\n agency of the world.', 109 | textAlign: TextAlign.center, 110 | style: TextStyle( 111 | color: Colors.white70, 112 | fontSize: 16, 113 | fontWeight: FontWeight.w500), 114 | ), 115 | 116 | SizedBox(height: 15,), 117 | button(). newbutton('Get Started' , (){ 118 | Navigator.push( 119 | context, 120 | CupertinoPageRoute( 121 | builder: (BuildContext context) => 122 | tabbar()), 123 | ); 124 | 125 | } ), 126 | SizedBox(height: 15,), 127 | button().materialbuttons('GUEST',(){ 128 | Navigator.push( 129 | context, 130 | CupertinoPageRoute( 131 | builder: (BuildContext context) => 132 | SideBar()), 133 | ); 134 | 135 | } ), 136 | SizedBox(height: 15,), 137 | Text( 138 | 'By logging in or registering,you have agreed to the\nTerms and Conditions and Privacy Policy.', 139 | textAlign: TextAlign.center, 140 | style: TextStyle( 141 | 142 | color: Colors.white70, 143 | fontSize: 10, 144 | fontWeight: FontWeight.w400), 145 | ), 146 | ], 147 | ), 148 | ), 149 | ); 150 | } 151 | } 152 | -------------------------------------------------------------------------------- /lib/make_my_own_trip/slider.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/cupertino.dart'; 2 | import 'package:flutter/material.dart'; 3 | 4 | class MostPopularWidget extends StatelessWidget { 5 | 6 | 7 | @override 8 | Widget build(BuildContext context) { 9 | return ListView.builder( 10 | padding: EdgeInsets.symmetric(horizontal: 15), 11 | scrollDirection: Axis.horizontal, 12 | itemBuilder: (context, index) { 13 | 14 | return GestureDetector( 15 | onTap: () { 16 | 17 | }, 18 | child: Hero( 19 | tag: 'bean.url', 20 | child: Stack( 21 | children: [ 22 | Padding( 23 | padding: const EdgeInsets.only(bottom: 30, right: 10), 24 | child: ClipRRect( 25 | borderRadius: BorderRadius.circular(5), 26 | child: Image.asset( 27 | ' images/hotel.png', 28 | width: 170, 29 | fit: BoxFit.cover, 30 | ), 31 | ), 32 | ), 33 | Positioned( 34 | bottom: 50, 35 | left: 15, 36 | child: Column( 37 | crossAxisAlignment: CrossAxisAlignment.start, 38 | children: [ 39 | Material( 40 | color: Colors.transparent, 41 | child: Text( 42 | 'bean.location', 43 | style: TextStyle( 44 | color: Colors.white, 45 | fontSize: 15, 46 | ), 47 | ), 48 | ), 49 | Material( 50 | color: Colors.transparent, 51 | child: Text( 52 | ' bean.name', 53 | style: TextStyle( 54 | color: Colors.white, 55 | fontSize: 15, 56 | ), 57 | ), 58 | ), 59 | ], 60 | ), 61 | ), 62 | ], 63 | ), 64 | ), 65 | ); 66 | }, 67 | itemCount:3, 68 | ); 69 | } 70 | } 71 | 72 | class TravelWidget extends StatelessWidget { 73 | 74 | 75 | @override 76 | Widget build(BuildContext context) { 77 | return PageView.builder( 78 | controller: PageController(viewportFraction: 0.9), 79 | itemBuilder: (context, index) { 80 | 81 | return GestureDetector( 82 | onTap: () { 83 | 84 | 85 | }, 86 | child: Hero( 87 | tag:' bean.url', 88 | child: Stack( 89 | children: [ 90 | Padding( 91 | padding: const EdgeInsets.only(bottom: 30, right: 10), 92 | child: ClipRRect( 93 | borderRadius: BorderRadius.circular(5), 94 | child: Image.asset( 95 | 'images/hotel.png', 96 | width: MediaQuery.of(context).size.width, 97 | fit: BoxFit.cover, 98 | ), 99 | ), 100 | ), 101 | Positioned( 102 | bottom: 80, 103 | left: 15, 104 | child: Column( 105 | crossAxisAlignment: CrossAxisAlignment.start, 106 | children: [ 107 | Material( 108 | color: Colors.transparent, 109 | child: Text( 110 | 'bean.location', 111 | style: TextStyle( 112 | color: Colors.black54, 113 | fontSize: 15, 114 | ), 115 | ), 116 | ), 117 | Material( 118 | color: Colors.transparent, 119 | child: Text( 120 | 'bean.name', 121 | style: TextStyle( 122 | color: Colors.black, 123 | fontSize: 20, 124 | ), 125 | ), 126 | ), 127 | ], 128 | ), 129 | ), 130 | Positioned( 131 | bottom: 0, 132 | right: 30, 133 | child: Container( 134 | width: 60, 135 | height: 60, 136 | decoration: BoxDecoration( 137 | color: Colors.red, 138 | borderRadius: BorderRadius.circular(30), 139 | ), 140 | child: Icon( 141 | Icons.arrow_forward, 142 | color: Colors.white, 143 | size: 30, 144 | ), 145 | ), 146 | ) 147 | ], 148 | ), 149 | ), 150 | ); 151 | }, 152 | itemCount: 5, 153 | ); 154 | } 155 | } -------------------------------------------------------------------------------- /lib/Dashboard_screens/profile_setting.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:myot_app/widgets/app_color.dart'; 3 | 4 | class profile_screen extends StatelessWidget { 5 | const profile_screen({Key? key}) : super(key: key); 6 | 7 | @override 8 | Widget build(BuildContext context) { 9 | return Scaffold( 10 | backgroundColor: apptheme().appbackgroundcolour, 11 | body: SafeArea( 12 | child: SingleChildScrollView( 13 | child: Container( 14 | padding: EdgeInsets.only(left: 15, right: 15, top: 15, bottom: 10), 15 | child: Column( 16 | crossAxisAlignment: CrossAxisAlignment.start, 17 | mainAxisAlignment: MainAxisAlignment.center, 18 | children: [ 19 | Text( 20 | 'Edit Profile', 21 | style: TextStyle( 22 | color: Colors.black, 23 | fontSize: 16, 24 | fontWeight: FontWeight.bold), 25 | ), 26 | SizedBox( 27 | height: 10, 28 | ), 29 | Center( 30 | child: Card( 31 | elevation: 4.4, 32 | child: Container( 33 | padding: EdgeInsets.only(left: 10, right: 15, top: 15), 34 | width: MediaQuery.of(context).size.width, 35 | height: 590, 36 | decoration: BoxDecoration( 37 | color: Colors.white, 38 | borderRadius: BorderRadius.circular(5), 39 | ), 40 | child: Column( 41 | crossAxisAlignment: CrossAxisAlignment.start, 42 | children: [ 43 | Center( 44 | child: CircleAvatar( 45 | radius: 55, 46 | child: CircleAvatar( 47 | radius: 50, 48 | backgroundImage: 49 | AssetImage('images/profile.png'), 50 | ), 51 | ), 52 | ), 53 | TextField( 54 | decoration: InputDecoration( 55 | fillColor: Colors.grey, 56 | hoverColor: Colors.grey, 57 | focusColor: Colors.grey, 58 | labelText: 'User Name', 59 | hintText: 'User Name'), 60 | ), 61 | SizedBox( 62 | height: 5, 63 | ), 64 | TextField( 65 | decoration: InputDecoration( 66 | fillColor: Colors.grey, 67 | hoverColor: Colors.grey, 68 | focusColor: Colors.grey, 69 | labelText: 'Email', 70 | hintText: 'Email'), 71 | ), 72 | SizedBox( 73 | height: 5, 74 | ), 75 | TextField( 76 | decoration: InputDecoration( 77 | fillColor: Colors.grey, 78 | hoverColor: Colors.grey, 79 | focusColor: Colors.grey, 80 | labelText: 'Phone', 81 | hintText: 'Phone'), 82 | ), 83 | SizedBox( 84 | height: 5, 85 | ), 86 | TextField( 87 | decoration: InputDecoration( 88 | fillColor: Colors.grey, 89 | hoverColor: Colors.grey, 90 | focusColor: Colors.grey, 91 | labelText: 'Gender', 92 | hintText: 'Gender'), 93 | ), 94 | SizedBox( 95 | height: 5, 96 | ), 97 | TextField( 98 | decoration: InputDecoration( 99 | fillColor: Colors.grey, 100 | hoverColor: Colors.grey, 101 | focusColor: Colors.grey, 102 | labelText: 'Date Of Birth', 103 | hintText: 'Date Of Birth'), 104 | ), 105 | SizedBox( 106 | height: 5, 107 | ), 108 | TextField( 109 | decoration: InputDecoration( 110 | fillColor: Colors.grey, 111 | hoverColor: Colors.grey, 112 | focusColor: Colors.grey, 113 | labelText: 'Interest', 114 | hintText: 'Interest'), 115 | ), 116 | ], 117 | ), 118 | ), 119 | ), 120 | ), 121 | ], 122 | ), 123 | ), 124 | ), 125 | ), 126 | ); 127 | } 128 | } 129 | -------------------------------------------------------------------------------- /lib/widgets/app_color.dart: -------------------------------------------------------------------------------- 1 | 2 | import 'dart:ffi'; 3 | 4 | import 'package:flutter/cupertino.dart'; 5 | import 'package:flutter/material.dart'; 6 | import 'package:myot_app/Dashboard_screens/notifications_screen.dart'; 7 | 8 | class apptheme{ 9 | var appthemecoloue = Color.fromRGBO(111, 192, 91, 1); 10 | var appbackgroundcolour = Color.fromRGBO(236, 236, 236,1); 11 | 12 | 13 | Widget textfield(BuildContext context,hinttext,heading){ 14 | return Column( 15 | crossAxisAlignment: CrossAxisAlignment.start, 16 | children: [ 17 | Text(heading,style: TextStyle(fontWeight: FontWeight.w600,fontSize: 14),), 18 | SizedBox(height: 5,), 19 | Center( 20 | child: Container( 21 | height: 50, 22 | decoration: BoxDecoration( 23 | color: Colors.black.withAlpha(10), 24 | borderRadius: BorderRadius.all( 25 | Radius.circular(10), 26 | ), 27 | ), 28 | width: MediaQuery.of(context).size.width, 29 | child: TextField( 30 | keyboardType: TextInputType.text, 31 | decoration: InputDecoration( 32 | suffixStyle: TextStyle(color: Colors.grey), 33 | // suffixIcon: Icon( 34 | // Icons.check, 35 | // color: Color.fromRGBO(252, 186, 24, 1), 36 | // ), 37 | prefixStyle: TextStyle(color: Colors.grey), 38 | hintText: hinttext, 39 | enabledBorder: OutlineInputBorder( 40 | borderRadius: BorderRadius.circular(10), 41 | borderSide: BorderSide( 42 | color: Color.fromRGBO(242, 242, 242, 1), 43 | )), 44 | focusedBorder: OutlineInputBorder( 45 | borderRadius: BorderRadius.circular(10), 46 | borderSide: BorderSide( 47 | color: Color.fromRGBO(242, 242, 242, 1), 48 | )), 49 | errorBorder: OutlineInputBorder( 50 | borderRadius: BorderRadius.circular(10), 51 | borderSide: BorderSide(color: Colors.red)), 52 | focusedErrorBorder: OutlineInputBorder( 53 | borderRadius: BorderRadius.circular(10), 54 | borderSide: BorderSide(color: Colors.red))), 55 | ), 56 | ), 57 | ), 58 | ], 59 | ); 60 | } 61 | Widget appbar(BuildContext context,days,price){ 62 | return SafeArea( 63 | child: AppBar( 64 | 65 | leadingWidth:35, 66 | backgroundColor: Color.fromRGBO(111, 192, 91, 1), 67 | automaticallyImplyLeading: false, 68 | centerTitle: true, 69 | actions: [ 70 | Padding( 71 | padding: const EdgeInsets.all(8.0), 72 | child: InkWell( 73 | onTap: (){ 74 | Navigator.push( 75 | context, 76 | CupertinoPageRoute( 77 | builder: (BuildContext context) => 78 | 79 | notify())); 80 | }, 81 | child: Icon( Icons.notifications)), 82 | ), 83 | ], 84 | leading:InkWell( 85 | onTap: ()=>Navigator.of(context).pop() , 86 | child: Icon( Icons.arrow_back_ios)), 87 | title: Center( 88 | child: Container( 89 | height: 45, 90 | width: MediaQuery.of(context).size.width, 91 | child: TextField( 92 | 93 | decoration: InputDecoration( 94 | filled: true, 95 | fillColor: Colors.white, 96 | prefixIcon: Icon(Icons.search, color: Colors.black), 97 | border: OutlineInputBorder( 98 | borderRadius: BorderRadius.all(Radius.circular(15))), 99 | hintStyle: new TextStyle(color: Colors.black38), 100 | ), 101 | )), 102 | ), 103 | flexibleSpace: Align( 104 | alignment: Alignment. bottomLeft, 105 | child: Container( 106 | padding: EdgeInsets.only(left: 10,right: 10,bottom: 10), 107 | child: Row( 108 | crossAxisAlignment: CrossAxisAlignment.center, 109 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 110 | children: [ 111 | Text(days, style: TextStyle( 112 | color: Color.fromRGBO(255, 255, 255, 1), 113 | fontSize: 12, 114 | fontWeight: FontWeight.bold),), 115 | 116 | Text(price, style: TextStyle( 117 | color: Color.fromRGBO(255, 255, 255, 1), 118 | fontSize: 12, 119 | fontWeight: FontWeight.bold),), 120 | 121 | ], 122 | ), 123 | ), 124 | ), 125 | ), 126 | 127 | ); 128 | 129 | } 130 | Widget drwaeritem(VoidCallback ontap,icon,name){ 131 | return InkWell( 132 | onTap: ontap , 133 | child: Column( 134 | children:[ 135 | Row( 136 | crossAxisAlignment: CrossAxisAlignment.center, 137 | mainAxisAlignment: MainAxisAlignment.start, 138 | children: [ 139 | Icon( 140 | icon, 141 | color: Color.fromRGBO(111, 192, 91, 1) 142 | ), 143 | SizedBox( 144 | width: 10, 145 | ), 146 | Text( 147 | name, 148 | style: TextStyle( 149 | fontWeight: FontWeight.w600, 150 | color: Color.fromRGBO(111, 192, 91, 1), 151 | ), 152 | ), 153 | ], 154 | ), 155 | Divider(thickness: 0.3,), 156 | ] 157 | 158 | ), 159 | 160 | ); 161 | } 162 | } -------------------------------------------------------------------------------- /lib/login_signup/select_your_interest_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/cupertino.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:myot_app/Dashboard_screens/dashboard_screens.dart'; 4 | import 'package:myot_app/provider/provider.dart'; 5 | import 'package:myot_app/slider_screen.dart'; 6 | import 'package:myot_app/widgets/app_color.dart'; 7 | import 'package:provider/provider.dart'; 8 | 9 | class select_your_interest_screen extends StatelessWidget { 10 | const select_your_interest_screen({Key? key}) : super(key: key); 11 | 12 | @override 13 | Widget build(BuildContext context) { 14 | var active = Provider.of(context); 15 | List images = [ 16 | "images/fishing.png", 17 | "images/touring.png", 18 | "images/wildlife.png", 19 | "images/wildlife.png", 20 | "images/fishing.png", 21 | "images/touring.png", 22 | "images/wildlife.png", 23 | "images/fishing.png", 24 | "images/fishing.png", 25 | "images/wildlife.png", 26 | "images/wildlife.png", 27 | "images/fishing.png", 28 | ]; 29 | List text = [ 30 | "fishing", 31 | "touring", 32 | "wildlife", 33 | "winter activity", 34 | "fishing", 35 | "touring", 36 | "wildlife", 37 | "winteractivity", 38 | "fishing", 39 | "touring", 40 | "wildlife", 41 | "winteractivity" 42 | ]; 43 | return Scaffold( 44 | backgroundColor: apptheme().appbackgroundcolour, 45 | body: SingleChildScrollView( 46 | child: Container( 47 | padding: EdgeInsets.only(bottom: 20), 48 | child: Column( 49 | crossAxisAlignment: CrossAxisAlignment.center, 50 | mainAxisAlignment: MainAxisAlignment.center, 51 | children: [ 52 | Container( 53 | height: 100, 54 | ), 55 | Center( 56 | child: Text("Select Your Interest", 57 | style: TextStyle( 58 | fontWeight: FontWeight.w600, 59 | fontSize: 24, 60 | color: Colors.black, 61 | )), 62 | ), 63 | SizedBox( 64 | height: 20, 65 | ), 66 | Container( 67 | margin: EdgeInsets.all(15), 68 | child: 69 | GridView.builder( 70 | physics: NeverScrollableScrollPhysics(), 71 | shrinkWrap: true, 72 | itemCount: images.length, 73 | gridDelegate: SliverGridDelegateWithMaxCrossAxisExtent( 74 | maxCrossAxisExtent: 80, 75 | childAspectRatio: 4 / 6, 76 | crossAxisSpacing: 30, 77 | mainAxisSpacing: 0, 78 | ), 79 | itemBuilder: (BuildContext context, int index) { 80 | return GestureDetector( 81 | onTap: () { 82 | active.actives(); 83 | }, 84 | onDoubleTap: () { 85 | active.activefalse(); 86 | }, 87 | child: Column( 88 | children: [ 89 | Image.asset( 90 | images[index], 91 | color: active.active ? Colors.green : Colors.grey, 92 | ), 93 | Text(text[index]), 94 | ], 95 | ), 96 | ); 97 | }, 98 | )), 99 | Row( 100 | crossAxisAlignment: CrossAxisAlignment.center, 101 | mainAxisAlignment: MainAxisAlignment.spaceAround, 102 | children: [ 103 | Container( 104 | height: 34, 105 | width: 110, 106 | child: MaterialButton( 107 | shape: RoundedRectangleBorder( 108 | borderRadius: BorderRadius.circular(17)), 109 | color: Color.fromRGBO(111, 192, 91, 1), 110 | child: Center( 111 | child: Text( 112 | 'Skip', 113 | style: TextStyle( 114 | fontFamily: 'Roboto', 115 | color: Colors.white, 116 | fontWeight: FontWeight.w400, 117 | fontSize: 14, 118 | ), 119 | ), 120 | ), 121 | onPressed: () { 122 | Navigator.push( 123 | context, 124 | CupertinoPageRoute( 125 | builder: (BuildContext context) => SideBar()), 126 | ); 127 | }, 128 | ), 129 | ), 130 | Container( 131 | height: 34, 132 | width: 110, 133 | child: MaterialButton( 134 | shape: RoundedRectangleBorder( 135 | borderRadius: BorderRadius.circular(17)), 136 | color: Color.fromRGBO(111, 192, 91, 1), 137 | child: Center( 138 | child: Text( 139 | 'Submit', 140 | style: TextStyle( 141 | fontFamily: 'Roboto', 142 | color: Colors.white, 143 | fontWeight: FontWeight.w400, 144 | fontSize: 14, 145 | ), 146 | ), 147 | ), 148 | 149 | onPressed: () { 150 | Navigator.push( 151 | context, 152 | CupertinoPageRoute( 153 | builder: (BuildContext context) => SideBar()), 154 | ); 155 | }, 156 | ), 157 | ), 158 | ], 159 | ) 160 | ], 161 | ), 162 | ), 163 | )); 164 | } 165 | } 166 | -------------------------------------------------------------------------------- /lib/Dashboard_screens/drawer.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:myot_app/Dashboard_screens/bookmark_screen.dart'; 3 | import 'package:myot_app/Dashboard_screens/coins_screen.dart'; 4 | import 'package:myot_app/Dashboard_screens/dashboard_screens.dart'; 5 | import 'package:myot_app/Dashboard_screens/hotel_booking_show.dart'; 6 | import 'package:myot_app/Dashboard_screens/my_referal_screen.dart'; 7 | import 'package:myot_app/Dashboard_screens/notifications_screen.dart'; 8 | import 'package:myot_app/Dashboard_screens/profile_setting.dart'; 9 | import 'package:myot_app/login_signup/login.dart'; 10 | import 'package:myot_app/login_signup/tabbar.dart'; 11 | import 'package:myot_app/slider_screen.dart'; 12 | import 'package:myot_app/widgets/app_color.dart'; 13 | class drawer extends StatelessWidget { 14 | const drawer({Key? key}) : super(key: key); 15 | 16 | @override 17 | Widget build(BuildContext context) { 18 | return Scaffold( 19 | body:SafeArea( 20 | child: AnimatedContainer( 21 | padding: EdgeInsets.only(left: 15,right: 15,top: 20), 22 | duration: new Duration (seconds: 10), 23 | 24 | child: Column( 25 | crossAxisAlignment: CrossAxisAlignment.center, 26 | 27 | children: [ 28 | Center( 29 | child: Container( 30 | child: Row( 31 | crossAxisAlignment: CrossAxisAlignment.start, 32 | mainAxisAlignment: MainAxisAlignment.start, 33 | children: [ 34 | Image.asset('images/profile.png'), 35 | SizedBox(width: 10,), 36 | Column( 37 | crossAxisAlignment: CrossAxisAlignment.start, 38 | mainAxisAlignment: MainAxisAlignment.start, 39 | children: [ 40 | Text('Hello Robert',style: TextStyle(fontSize: 20,fontWeight: FontWeight.bold),), 41 | SizedBox(height: 2,), 42 | Text('lets start your vocation\nwith us',textAlign:TextAlign.start,style: TextStyle(fontSize: 15,fontWeight: FontWeight.w400,color: Color.fromRGBO(104, 113, 122, 1)),), 43 | SizedBox(height:2,), 44 | Text('mvc 1234567',style: TextStyle(fontSize: 15,fontWeight: FontWeight.w400),), 45 | Divider(thickness: 0.3,), 46 | ], 47 | ) 48 | ], 49 | ), 50 | ), 51 | ), 52 | SizedBox( 53 | height: 25, 54 | ), 55 | apptheme().drwaeritem(() { 56 | 57 | Navigator.push( 58 | context, 59 | MaterialPageRoute( 60 | builder: (BuildContext context) => 61 | SideBar()), 62 | ); 63 | }, Icons.home, 'Dashboard'), 64 | SizedBox( 65 | height: 15, 66 | ), 67 | 68 | apptheme().drwaeritem(() { 69 | Navigator.push( 70 | context, 71 | MaterialPageRoute( 72 | builder: (BuildContext context) => 73 | notify()), 74 | ); 75 | }, Icons.notifications, 'Notifications'), 76 | SizedBox( 77 | height: 15, 78 | ), 79 | apptheme().drwaeritem(() { 80 | 81 | Navigator.push( 82 | context, 83 | MaterialPageRoute( 84 | builder: (BuildContext context) => 85 | bookmark_screen()), 86 | ); 87 | }, Icons.bookmark, 'Bookmark'), 88 | SizedBox( 89 | height: 15, 90 | ), 91 | apptheme().drwaeritem(() { 92 | 93 | Navigator.push( 94 | context, 95 | MaterialPageRoute( 96 | builder: (BuildContext context) => 97 | my_referal()), 98 | ); 99 | }, Icons.person_add_alt, 'My Referral'), 100 | SizedBox( 101 | height: 15, 102 | ), 103 | apptheme().drwaeritem(() { 104 | 105 | Navigator.push( 106 | context, 107 | MaterialPageRoute( 108 | builder: (BuildContext context) => 109 | hotel_booking_screen()), 110 | ); 111 | }, Icons.book, 'My Booking'), 112 | SizedBox( 113 | height: 15, 114 | ), 115 | apptheme().drwaeritem(() { 116 | 117 | Navigator.push( 118 | context, 119 | MaterialPageRoute( 120 | builder: (BuildContext context) => 121 | profile_screen()), 122 | ); 123 | }, Icons.settings,'Setting'), 124 | SizedBox( 125 | height: 15, 126 | ), 127 | apptheme().drwaeritem(() { 128 | Navigator.push( 129 | context, 130 | MaterialPageRoute( 131 | builder: (BuildContext context) => 132 | coins_screen()), 133 | ); 134 | }, Icons.animation, 'My Coins'), 135 | SizedBox( 136 | height: 15, 137 | ), 138 | apptheme().drwaeritem(() { 139 | Widget cancelButton = TextButton( 140 | child: Text("Cancel",style: TextStyle(color: Colors.black),), 141 | onPressed: () { 142 | Navigator.pop(context); 143 | }, 144 | ); 145 | 146 | 147 | // set up the AlertDialog 148 | AlertDialog alert = AlertDialog( 149 | title: Text("Logout"), 150 | content: Text("Do you want to Logout?"), 151 | actions: [ 152 | cancelButton, 153 | // continueButton, 154 | Container( 155 | height: 40, 156 | width: 110, 157 | child: MaterialButton( 158 | shape: RoundedRectangleBorder( 159 | borderRadius: 160 | BorderRadius.circular(15)), 161 | color: Color.fromRGBO(111, 192, 91, 1), 162 | child: Text( 163 | 'Logout', 164 | style: TextStyle( 165 | fontFamily: 'Roboto', 166 | color: Colors.white, 167 | ), 168 | ), 169 | onPressed: () { 170 | Navigator.push( 171 | context, 172 | MaterialPageRoute( 173 | builder: (context) => 174 | tabbar()), 175 | ); 176 | }, 177 | ), 178 | ), 179 | ], 180 | ); 181 | 182 | // show the dialog 183 | showDialog( 184 | context: context, 185 | builder: (BuildContext context) { 186 | return alert; 187 | }, 188 | ); 189 | }, 190 | Icons.logout, 'Logout'), 191 | 192 | ], 193 | ), 194 | ), 195 | ) , 196 | ); 197 | } 198 | } 199 | -------------------------------------------------------------------------------- /pubspec.lock: -------------------------------------------------------------------------------- 1 | # Generated by pub 2 | # See https://dart.dev/tools/pub/glossary#lockfile 3 | packages: 4 | archive: 5 | dependency: transitive 6 | description: 7 | name: archive 8 | url: "https://pub.dartlang.org" 9 | source: hosted 10 | version: "3.1.11" 11 | async: 12 | dependency: transitive 13 | description: 14 | name: async 15 | url: "https://pub.dartlang.org" 16 | source: hosted 17 | version: "2.8.2" 18 | bloc: 19 | dependency: "direct main" 20 | description: 21 | name: bloc 22 | url: "https://pub.dartlang.org" 23 | source: hosted 24 | version: "7.2.1" 25 | boolean_selector: 26 | dependency: transitive 27 | description: 28 | name: boolean_selector 29 | url: "https://pub.dartlang.org" 30 | source: hosted 31 | version: "2.1.0" 32 | carousel_slider: 33 | dependency: "direct main" 34 | description: 35 | name: carousel_slider 36 | url: "https://pub.dartlang.org" 37 | source: hosted 38 | version: "4.0.0" 39 | characters: 40 | dependency: transitive 41 | description: 42 | name: characters 43 | url: "https://pub.dartlang.org" 44 | source: hosted 45 | version: "1.2.0" 46 | charcode: 47 | dependency: transitive 48 | description: 49 | name: charcode 50 | url: "https://pub.dartlang.org" 51 | source: hosted 52 | version: "1.3.1" 53 | clock: 54 | dependency: transitive 55 | description: 56 | name: clock 57 | url: "https://pub.dartlang.org" 58 | source: hosted 59 | version: "1.1.0" 60 | collection: 61 | dependency: transitive 62 | description: 63 | name: collection 64 | url: "https://pub.dartlang.org" 65 | source: hosted 66 | version: "1.15.0" 67 | crypto: 68 | dependency: transitive 69 | description: 70 | name: crypto 71 | url: "https://pub.dartlang.org" 72 | source: hosted 73 | version: "3.0.1" 74 | cupertino_icons: 75 | dependency: "direct main" 76 | description: 77 | name: cupertino_icons 78 | url: "https://pub.dartlang.org" 79 | source: hosted 80 | version: "1.0.4" 81 | draggable_home: 82 | dependency: "direct main" 83 | description: 84 | name: draggable_home 85 | url: "https://pub.dartlang.org" 86 | source: hosted 87 | version: "1.0.2" 88 | fake_async: 89 | dependency: transitive 90 | description: 91 | name: fake_async 92 | url: "https://pub.dartlang.org" 93 | source: hosted 94 | version: "1.2.0" 95 | flutter: 96 | dependency: "direct main" 97 | description: flutter 98 | source: sdk 99 | version: "0.0.0" 100 | flutter_slider_drawer: 101 | dependency: "direct main" 102 | description: 103 | name: flutter_slider_drawer 104 | url: "https://pub.dartlang.org" 105 | source: hosted 106 | version: "2.1.1" 107 | flutter_test: 108 | dependency: "direct dev" 109 | description: flutter 110 | source: sdk 111 | version: "0.0.0" 112 | image: 113 | dependency: transitive 114 | description: 115 | name: image 116 | url: "https://pub.dartlang.org" 117 | source: hosted 118 | version: "3.1.1" 119 | matcher: 120 | dependency: transitive 121 | description: 122 | name: matcher 123 | url: "https://pub.dartlang.org" 124 | source: hosted 125 | version: "0.12.11" 126 | material_color_utilities: 127 | dependency: transitive 128 | description: 129 | name: material_color_utilities 130 | url: "https://pub.dartlang.org" 131 | source: hosted 132 | version: "0.1.3" 133 | meta: 134 | dependency: transitive 135 | description: 136 | name: meta 137 | url: "https://pub.dartlang.org" 138 | source: hosted 139 | version: "1.7.0" 140 | nested: 141 | dependency: transitive 142 | description: 143 | name: nested 144 | url: "https://pub.dartlang.org" 145 | source: hosted 146 | version: "1.0.0" 147 | page_transition: 148 | dependency: "direct main" 149 | description: 150 | name: page_transition 151 | url: "https://pub.dartlang.org" 152 | source: hosted 153 | version: "2.0.5" 154 | path: 155 | dependency: transitive 156 | description: 157 | name: path 158 | url: "https://pub.dartlang.org" 159 | source: hosted 160 | version: "1.8.0" 161 | petitparser: 162 | dependency: transitive 163 | description: 164 | name: petitparser 165 | url: "https://pub.dartlang.org" 166 | source: hosted 167 | version: "4.1.0" 168 | provider: 169 | dependency: "direct main" 170 | description: 171 | name: provider 172 | url: "https://pub.dartlang.org" 173 | source: hosted 174 | version: "5.0.0" 175 | readmore: 176 | dependency: "direct main" 177 | description: 178 | name: readmore 179 | url: "https://pub.dartlang.org" 180 | source: hosted 181 | version: "2.1.0" 182 | rxdart: 183 | dependency: transitive 184 | description: 185 | name: rxdart 186 | url: "https://pub.dartlang.org" 187 | source: hosted 188 | version: "0.27.3" 189 | sky_engine: 190 | dependency: transitive 191 | description: flutter 192 | source: sdk 193 | version: "0.0.99" 194 | source_span: 195 | dependency: transitive 196 | description: 197 | name: source_span 198 | url: "https://pub.dartlang.org" 199 | source: hosted 200 | version: "1.8.1" 201 | splash_screen_view: 202 | dependency: "direct main" 203 | description: 204 | name: splash_screen_view 205 | url: "https://pub.dartlang.org" 206 | source: hosted 207 | version: "3.0.0" 208 | stack_trace: 209 | dependency: transitive 210 | description: 211 | name: stack_trace 212 | url: "https://pub.dartlang.org" 213 | source: hosted 214 | version: "1.10.0" 215 | stream_channel: 216 | dependency: transitive 217 | description: 218 | name: stream_channel 219 | url: "https://pub.dartlang.org" 220 | source: hosted 221 | version: "2.1.0" 222 | string_scanner: 223 | dependency: transitive 224 | description: 225 | name: string_scanner 226 | url: "https://pub.dartlang.org" 227 | source: hosted 228 | version: "1.1.0" 229 | term_glyph: 230 | dependency: transitive 231 | description: 232 | name: term_glyph 233 | url: "https://pub.dartlang.org" 234 | source: hosted 235 | version: "1.2.0" 236 | test_api: 237 | dependency: transitive 238 | description: 239 | name: test_api 240 | url: "https://pub.dartlang.org" 241 | source: hosted 242 | version: "0.4.8" 243 | typed_data: 244 | dependency: transitive 245 | description: 246 | name: typed_data 247 | url: "https://pub.dartlang.org" 248 | source: hosted 249 | version: "1.3.0" 250 | universal_io: 251 | dependency: transitive 252 | description: 253 | name: universal_io 254 | url: "https://pub.dartlang.org" 255 | source: hosted 256 | version: "2.0.4" 257 | vector_math: 258 | dependency: transitive 259 | description: 260 | name: vector_math 261 | url: "https://pub.dartlang.org" 262 | source: hosted 263 | version: "2.1.1" 264 | xml: 265 | dependency: transitive 266 | description: 267 | name: xml 268 | url: "https://pub.dartlang.org" 269 | source: hosted 270 | version: "5.1.2" 271 | yaml: 272 | dependency: transitive 273 | description: 274 | name: yaml 275 | url: "https://pub.dartlang.org" 276 | source: hosted 277 | version: "3.1.0" 278 | sdks: 279 | dart: ">=2.14.0 <3.0.0" 280 | flutter: ">=1.17.0" 281 | -------------------------------------------------------------------------------- /lib/make_my_own_trip/review_location.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/cupertino.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:myot_app/login_signup/select_your_interest_screen.dart'; 4 | import 'package:myot_app/make_my_own_trip/payment_option.dart'; 5 | import 'package:myot_app/make_my_own_trip/select_last_location.dart'; 6 | import 'package:myot_app/make_my_own_trip/starting_location_screen.dart'; 7 | import 'package:myot_app/view/modal.dart'; 8 | import 'package:myot_app/widgets/app_color.dart'; 9 | import 'package:myot_app/widgets/button.dart'; 10 | 11 | class review_location extends StatelessWidget { 12 | const review_location({Key? key}) : super(key: key); 13 | 14 | @override 15 | Widget build(BuildContext context) { 16 | return Scaffold( 17 | backgroundColor: apptheme().appbackgroundcolour, 18 | appBar: PreferredSize( 19 | preferredSize: Size.fromHeight(110), // here the desired height 20 | child: apptheme() 21 | .appbar(context, 'TOTAL NO OF DAYS 7', 'TOTAL COAST RS:50,000'), 22 | ), 23 | body: SingleChildScrollView( 24 | child: Container( 25 | padding: EdgeInsets.only(left: 10, right: 10, top: 10,bottom: 15), 26 | child: Column( 27 | crossAxisAlignment: CrossAxisAlignment.start, 28 | children: [ 29 | // Container( 30 | // child: Row( 31 | // crossAxisAlignment: CrossAxisAlignment.center, 32 | // mainAxisAlignment: MainAxisAlignment.spaceBetween, 33 | // children: [ 34 | // for (var i = 0; i < 6; i++) 35 | // Column( 36 | // children: [ 37 | // Image.asset('images/karachi.png'), 38 | // Text('Karachi'), 39 | // ], 40 | // ) 41 | // ], 42 | // )), 43 | SizedBox( 44 | height: 15, 45 | ), 46 | Text( 47 | ' Review All Locations', 48 | style: TextStyle( 49 | color: Colors.black, 50 | fontSize: 16, 51 | fontWeight: FontWeight.bold), 52 | ), 53 | SizedBox( 54 | height: 15, 55 | ), 56 | Row( 57 | mainAxisAlignment: MainAxisAlignment.spaceEvenly, 58 | children: [ 59 | button().screensbutton('Basic Detail',(){ 60 | 61 | modal().reject_order(context,' Basic Detail', 'Full Name','Shabir','Last Name','Anwar Sheikh','Total People','5 Person','Email','Shabirahmed@gmail.com','Price','198980'); 62 | 63 | 64 | 65 | }), 66 | button().screensbutton('Transportation',(){ 67 | 68 | modal().reject_order(context,'Transportation Detail', 'Car Name','Shabir','Last Name','Anwar Sheikh','Total People','5 Person','Email','Shabirahmed@gmail.com','Price','198980'); 69 | 70 | 71 | }), 72 | ], 73 | ), 74 | SizedBox( 75 | height: 15, 76 | ), 77 | Center(child: Image.asset('images/Places (4).png',fit: BoxFit.cover,)), 78 | SizedBox( 79 | height: 15, 80 | ), 81 | Container( 82 | padding: EdgeInsets.only(left: 10,right: 10,bottom: 15,top: 10), 83 | height: 150, 84 | width: MediaQuery.of(context).size.width, 85 | decoration: BoxDecoration( 86 | 87 | image: DecorationImage( 88 | fit: BoxFit.cover, 89 | image: AssetImage('images/unsplash_JqhVgs4WANQ (3).png',), 90 | 91 | ), 92 | 93 | ), 94 | child: Column( 95 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 96 | children: [ 97 | Row( 98 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 99 | children: [ 100 | GestureDetector( 101 | onTap:(){ 102 | Navigator.push( 103 | context, 104 | CupertinoPageRoute( 105 | builder: (BuildContext context) => 106 | starting_location_screen()), 107 | ); 108 | }, 109 | child: Icon(Icons.edit,color: Colors.white,)), 110 | button().smallbutton(' Details', (){ 111 | modal().reject_order(context,' Basic Detail', 'Full Name','Shabir','Last Name','Anwar Sheikh','Total People','5 Person','Email','Shabirahmed@gmail.com','Price','198980'); 112 | }), 113 | ], 114 | ), 115 | Align( 116 | alignment:Alignment.topLeft, 117 | child: Text('Lahore',style: TextStyle(color: Colors.white,fontWeight: FontWeight.w400),)) 118 | ], 119 | ), 120 | ), 121 | SizedBox( 122 | height: 15, 123 | ), 124 | Container( 125 | padding: EdgeInsets.only(left: 10,right: 10,bottom: 15,top: 10), 126 | height: 150, 127 | width: MediaQuery.of(context).size.width, 128 | decoration: BoxDecoration( 129 | 130 | image: DecorationImage( 131 | fit: BoxFit.cover, 132 | image: AssetImage('images/karachilocation.png',), 133 | 134 | ), 135 | 136 | ), 137 | child: Column( 138 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 139 | children: [ 140 | 141 | Row( 142 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 143 | children: [ 144 | GestureDetector( 145 | onTap:(){ 146 | Navigator.push( 147 | context, 148 | CupertinoPageRoute( 149 | builder: (BuildContext context) => 150 | select_last_location()), 151 | ); 152 | }, 153 | child: Icon(Icons.edit,color: Colors.white,)), 154 | button().smallbutton(' Details', (){ 155 | modal().reject_order(context,' Basic Detail', 'Full Name','Shabir','Last Name','Anwar Sheikh','Total People','5 Person','Email','Shabirahmed@gmail.com','Price','198980'); 156 | }), 157 | ], 158 | ), 159 | 160 | Align( 161 | alignment:Alignment.topLeft, 162 | child: Text('Karachi',style: TextStyle(color: Colors.white,fontWeight: FontWeight.w400),)) 163 | ], 164 | ), 165 | ), 166 | SizedBox(height: 5,), 167 | Center( 168 | child: button().screensbutton('Pay now',(){ 169 | 170 | Navigator.push( 171 | context, 172 | CupertinoPageRoute( 173 | builder: (BuildContext context) => 174 | payment_option()), 175 | ); 176 | 177 | }), 178 | ), 179 | ], 180 | ), 181 | ), 182 | ), 183 | ); 184 | } 185 | } 186 | -------------------------------------------------------------------------------- /lib/Dashboard_screens/my_booking_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:myot_app/widgets/app_color.dart'; 3 | 4 | 5 | class my_booking_screen extends StatelessWidget { 6 | const my_booking_screen({Key? key}) : super(key: key); 7 | 8 | @override 9 | Widget build(BuildContext context) { 10 | return Scaffold( 11 | backgroundColor: apptheme().appbackgroundcolour, 12 | 13 | body: Container( 14 | padding: EdgeInsets.only(left: 15,right: 15,top: 15,bottom: 10), 15 | 16 | child: Column( 17 | crossAxisAlignment: CrossAxisAlignment.start, 18 | children: [ 19 | 20 | 21 | Text( 22 | 'My Booking', 23 | style: TextStyle( 24 | color: Colors.black, 25 | fontSize: 16, 26 | fontWeight: FontWeight.bold), 27 | ), 28 | SizedBox(height: 10,), 29 | Center( 30 | child: Card( 31 | elevation: 4.4, 32 | child: Container( 33 | 34 | padding: EdgeInsets.only(left: 5, right: 15,top: 15 35 | ), 36 | width: MediaQuery.of(context).size.width, 37 | height: 170, 38 | decoration: BoxDecoration( 39 | color: Colors.white, 40 | borderRadius: BorderRadius.circular(5), 41 | ), 42 | child: Column( 43 | crossAxisAlignment: CrossAxisAlignment.start, 44 | children: [ 45 | Center( 46 | child: Text( 47 | 'Karachi To Islamabad', 48 | style: TextStyle( 49 | color: Colors.black, 50 | fontSize: 16, 51 | fontWeight: FontWeight.bold), 52 | ), 53 | ), 54 | SizedBox(height: 10,), 55 | Row( 56 | crossAxisAlignment: CrossAxisAlignment.start, 57 | mainAxisAlignment: MainAxisAlignment.spaceEvenly, 58 | children: [ 59 | Column( 60 | crossAxisAlignment: CrossAxisAlignment.start, 61 | children: [ 62 | Text( 63 | 'Departs', 64 | style: TextStyle( 65 | color: Colors.black, 66 | fontSize: 12, 67 | fontWeight: FontWeight.w400), 68 | ), 69 | SizedBox(height: 2,), 70 | Text( 71 | '20-1-2022', 72 | style: TextStyle( 73 | color: Color.fromRGBO(104, 113, 122, 1), 74 | fontSize: 14, 75 | fontWeight: FontWeight.bold), 76 | ), 77 | ], 78 | ), 79 | Column( 80 | crossAxisAlignment: CrossAxisAlignment.start, 81 | children: [ 82 | Text( 83 | 'Arrives', 84 | style: TextStyle( 85 | color: Colors.black, 86 | fontSize: 12, 87 | fontWeight: FontWeight.w400), 88 | ), 89 | SizedBox(height: 2,), 90 | Text( 91 | '24-2-2022', 92 | style: TextStyle( 93 | color: Color.fromRGBO(104, 113, 122, 1), 94 | fontSize: 14, 95 | fontWeight: FontWeight.bold), 96 | ), 97 | ], 98 | ), 99 | Column( 100 | crossAxisAlignment: CrossAxisAlignment.start, 101 | children: [ 102 | Text( 103 | 'Duration', 104 | style: TextStyle( 105 | color: Colors.black, 106 | fontSize: 12, 107 | fontWeight: FontWeight.w400), 108 | ), 109 | SizedBox(height: 2,), 110 | Text( 111 | '02 D 86 H 01M', 112 | style: TextStyle( 113 | color: Color.fromRGBO(104, 113, 122, 1), 114 | fontSize: 14, 115 | fontWeight: FontWeight.bold), 116 | ), 117 | ], 118 | ) 119 | ], 120 | ), 121 | SizedBox(height: 20,), 122 | Row( 123 | crossAxisAlignment: CrossAxisAlignment.start, 124 | mainAxisAlignment: MainAxisAlignment.spaceAround, 125 | children: [ 126 | Column( 127 | crossAxisAlignment: CrossAxisAlignment.start, 128 | children: [ 129 | Text( 130 | 'Departs On', 131 | style: TextStyle( 132 | color: Colors.black, 133 | fontSize: 12, 134 | fontWeight: FontWeight.w400), 135 | ), 136 | SizedBox(height: 2,), 137 | Text( 138 | 'Monday,Tuesday,Wenesday', 139 | style: TextStyle( 140 | color: Color.fromRGBO(104, 113, 122, 1), 141 | fontSize: 14, 142 | fontWeight: FontWeight.bold), 143 | ), 144 | ], 145 | ), 146 | Column( 147 | children: [ 148 | Text( 149 | 'Price', 150 | style: TextStyle( 151 | color: Colors.black, 152 | fontSize: 12, 153 | fontWeight: FontWeight.w400), 154 | ), 155 | SizedBox(height: 2,), 156 | Text( 157 | 'Rs:11,000 ', 158 | style: TextStyle( 159 | color: Color.fromRGBO(104, 113, 122, 1), 160 | fontSize: 14, 161 | fontWeight: FontWeight.bold), 162 | ), 163 | ], 164 | ), 165 | 166 | ], 167 | ) 168 | 169 | ], 170 | ), 171 | ), 172 | ), 173 | ), 174 | ], 175 | ), 176 | ), 177 | ); 178 | } 179 | } 180 | -------------------------------------------------------------------------------- /lib/Dashboard_screens/past_booking.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:myot_app/widgets/app_color.dart'; 3 | 4 | class past_booking extends StatelessWidget { 5 | const past_booking({Key? key}) : super(key: key); 6 | 7 | @override 8 | Widget build(BuildContext context) { 9 | return Scaffold( 10 | backgroundColor: apptheme().appbackgroundcolour, 11 | body: Container( 12 | padding: EdgeInsets.only(left: 15, right: 15, top: 15, bottom: 10), 13 | child: 14 | Column(crossAxisAlignment: CrossAxisAlignment.start, children: [ 15 | Text( 16 | 'My Booking', 17 | style: TextStyle( 18 | color: Colors.black, 19 | fontSize: 16, 20 | fontWeight: FontWeight.bold), 21 | ), 22 | SizedBox( 23 | height: 10, 24 | ), 25 | Center( 26 | child: Card( 27 | elevation: 4.4, 28 | child: Container( 29 | padding: EdgeInsets.only(left: 5, right: 15, top: 15), 30 | width: MediaQuery.of(context).size.width, 31 | height: 170, 32 | decoration: BoxDecoration( 33 | color: Colors.white, 34 | borderRadius: BorderRadius.circular(5), 35 | ), 36 | child: Column( 37 | crossAxisAlignment: CrossAxisAlignment.start, 38 | children: [ 39 | Center( 40 | child: Text( 41 | 'Karachi To Islamabad', 42 | style: TextStyle( 43 | color: Colors.black, 44 | fontSize: 16, 45 | fontWeight: FontWeight.bold), 46 | ), 47 | ), 48 | SizedBox( 49 | height: 10, 50 | ), 51 | Row( 52 | crossAxisAlignment: CrossAxisAlignment.start, 53 | mainAxisAlignment: MainAxisAlignment.spaceEvenly, 54 | children: [ 55 | Column( 56 | crossAxisAlignment: CrossAxisAlignment.start, 57 | children: [ 58 | Text( 59 | 'Departs', 60 | style: TextStyle( 61 | color: Colors.black, 62 | fontSize: 12, 63 | fontWeight: FontWeight.w400), 64 | ), 65 | SizedBox( 66 | height: 2, 67 | ), 68 | Text( 69 | '20-1-2022', 70 | style: TextStyle( 71 | color: Color.fromRGBO(104, 113, 122, 1), 72 | fontSize: 14, 73 | fontWeight: FontWeight.bold), 74 | ), 75 | ], 76 | ), 77 | Column( 78 | crossAxisAlignment: CrossAxisAlignment.start, 79 | children: [ 80 | Text( 81 | 'Arrives', 82 | style: TextStyle( 83 | color: Colors.black, 84 | fontSize: 12, 85 | fontWeight: FontWeight.w400), 86 | ), 87 | SizedBox( 88 | height: 2, 89 | ), 90 | Text( 91 | '24-2-2022', 92 | style: TextStyle( 93 | color: Color.fromRGBO(104, 113, 122, 1), 94 | fontSize: 14, 95 | fontWeight: FontWeight.bold), 96 | ), 97 | ], 98 | ), 99 | Column( 100 | crossAxisAlignment: CrossAxisAlignment.start, 101 | children: [ 102 | Text( 103 | 'Duration', 104 | style: TextStyle( 105 | color: Colors.black, 106 | fontSize: 12, 107 | fontWeight: FontWeight.w400), 108 | ), 109 | SizedBox( 110 | height: 2, 111 | ), 112 | Text( 113 | '02 D 86 H 01M', 114 | style: TextStyle( 115 | color: Color.fromRGBO(104, 113, 122, 1), 116 | fontSize: 14, 117 | fontWeight: FontWeight.bold), 118 | ), 119 | ], 120 | ) 121 | ], 122 | ), 123 | SizedBox( 124 | height: 20, 125 | ), 126 | Row( 127 | crossAxisAlignment: CrossAxisAlignment.start, 128 | mainAxisAlignment: MainAxisAlignment.spaceAround, 129 | children: [ 130 | Column( 131 | crossAxisAlignment: CrossAxisAlignment.start, 132 | children: [ 133 | Text( 134 | 'Departs On', 135 | style: TextStyle( 136 | color: Colors.black, 137 | fontSize: 12, 138 | fontWeight: FontWeight.w400), 139 | ), 140 | SizedBox( 141 | height: 2, 142 | ), 143 | Text( 144 | 'Monday,Tuesday,Wenesday', 145 | style: TextStyle( 146 | color: Color.fromRGBO(104, 113, 122, 1), 147 | fontSize: 14, 148 | fontWeight: FontWeight.bold), 149 | ), 150 | ], 151 | ), 152 | Column( 153 | children: [ 154 | Text( 155 | 'Price', 156 | style: TextStyle( 157 | color: Colors.black, 158 | fontSize: 12, 159 | fontWeight: FontWeight.w400), 160 | ), 161 | SizedBox( 162 | height: 2, 163 | ), 164 | Text( 165 | 'Rs:11,000 ', 166 | style: TextStyle( 167 | color: Color.fromRGBO(104, 113, 122, 1), 168 | fontSize: 14, 169 | fontWeight: FontWeight.bold), 170 | ), 171 | ], 172 | ), 173 | ], 174 | ) 175 | ], 176 | ), 177 | ), 178 | ), 179 | ) 180 | ]))); 181 | } 182 | } 183 | -------------------------------------------------------------------------------- /lib/make_my_own_trip/select_last_location.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/cupertino.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:myot_app/make_my_own_trip/NEXT_location_hotel.dart'; 4 | import 'package:myot_app/make_my_own_trip/payment_option.dart'; 5 | import 'package:myot_app/make_my_own_trip/review_location.dart'; 6 | import 'package:myot_app/make_my_own_trip/select_hotel.dart'; 7 | import 'package:myot_app/view/owntrip_controller.dart'; 8 | import 'package:myot_app/widgets/app_color.dart'; 9 | import 'package:myot_app/widgets/button.dart'; 10 | 11 | 12 | class select_last_location extends StatelessWidget { 13 | const select_last_location({Key? key}) : super(key: key); 14 | 15 | @override 16 | Widget build(BuildContext context) { 17 | return Scaffold( 18 | backgroundColor: apptheme().appbackgroundcolour, 19 | appBar: PreferredSize( 20 | preferredSize: Size.fromHeight(110), // here the desired height 21 | child: apptheme() 22 | .appbar(context, 'TOTAL NO OF DAYS 7', 'TOTAL COAST RS:50,000'), 23 | ), 24 | body: Container( 25 | padding: EdgeInsets.only(left: 10, right: 10, top: 10), 26 | 27 | child: Column( 28 | crossAxisAlignment: CrossAxisAlignment.start, 29 | children: [ 30 | // Container( 31 | // child: Row( 32 | // crossAxisAlignment: CrossAxisAlignment.center, 33 | // mainAxisAlignment: MainAxisAlignment.spaceBetween, 34 | // children: [ 35 | // for (var i = 0; i < 6; i++) 36 | // Column( 37 | // children: [ 38 | // Image.asset('images/karachi.png'), 39 | // Text('Karachi'), 40 | // ], 41 | // ) 42 | // ], 43 | // )), 44 | // SizedBox( 45 | // height: 15, 46 | // ), 47 | Text( 48 | 'LOCATION', 49 | style: TextStyle( 50 | color: Colors.black, 51 | fontSize: 10, 52 | fontWeight: FontWeight.w400), 53 | ), 54 | SizedBox( 55 | height: 5, 56 | ), 57 | Center( 58 | child: Container( 59 | height: 50, 60 | decoration: BoxDecoration( 61 | color: Colors.black.withAlpha(10), 62 | borderRadius: BorderRadius.all( 63 | Radius.circular(10), 64 | ), 65 | ), 66 | width: MediaQuery.of(context).size.width, 67 | child: TextField( 68 | keyboardType: TextInputType.text, 69 | decoration: InputDecoration( 70 | prefixIcon: Icon(Icons.search,color: Colors.black,size: 20,), 71 | 72 | suffixStyle: TextStyle(color: Colors.black), 73 | hintStyle: TextStyle(color: Colors.black,fontSize: 12,fontWeight: FontWeight.w400), 74 | // suffixIcon: Icon( 75 | // Icons.check, 76 | // color: Color.fromRGBO(252, 186, 24, 1), 77 | // ), 78 | prefixStyle: TextStyle(color: Colors.black), 79 | hintText: 'Karachi', 80 | enabledBorder: OutlineInputBorder( 81 | borderRadius: BorderRadius.circular(10), 82 | borderSide: BorderSide( 83 | color: Color.fromRGBO(242, 242, 242, 1), 84 | )), 85 | focusedBorder: OutlineInputBorder( 86 | borderRadius: BorderRadius.circular(10), 87 | borderSide: BorderSide( 88 | color: Color.fromRGBO(242, 242, 242, 1), 89 | )), 90 | errorBorder: OutlineInputBorder( 91 | borderRadius: BorderRadius.circular(10), 92 | borderSide: BorderSide(color: Colors.red)), 93 | focusedErrorBorder: OutlineInputBorder( 94 | borderRadius: BorderRadius.circular(10), 95 | borderSide: BorderSide(color: Colors.red))), 96 | ), 97 | ), 98 | ), 99 | SizedBox( 100 | height: 15, 101 | ), 102 | 103 | Text( 104 | 'SELECT NEXT LOCATION ', 105 | style: TextStyle( 106 | color: Colors.black, 107 | fontSize: 16, 108 | fontWeight: FontWeight.bold), 109 | ), 110 | SizedBox( 111 | height: 15, 112 | ), 113 | Text( 114 | 'PERSON', 115 | 116 | style: TextStyle( 117 | color: Colors.black, 118 | fontSize: 10, 119 | fontWeight: FontWeight.w400), 120 | ), 121 | SizedBox( 122 | height: 5, 123 | ), 124 | Center( 125 | child: Container( 126 | padding: EdgeInsets.only(left: 10, right: 10), 127 | height: 50, 128 | decoration: BoxDecoration( 129 | color: Colors.black.withAlpha(10), 130 | borderRadius: BorderRadius.all( 131 | Radius.circular(10), 132 | ), 133 | ), 134 | width: MediaQuery.of(context).size.width, 135 | child: Row( 136 | crossAxisAlignment: CrossAxisAlignment.center, 137 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 138 | children: [ 139 | Row( 140 | crossAxisAlignment: CrossAxisAlignment.center, 141 | children: [ 142 | Icon( 143 | Icons.person, 144 | color: Colors.black, 145 | ), 146 | SizedBox( 147 | width: 5, 148 | ), 149 | Text( 150 | 'Total PERSON', 151 | textAlign: TextAlign.center, 152 | style: TextStyle( 153 | color: Colors.black, 154 | fontSize: 12, 155 | fontWeight: FontWeight.w400), 156 | ), 157 | ], 158 | ), 159 | Row( 160 | children: [ 161 | Container( 162 | height: 25, 163 | width: 25, 164 | decoration: BoxDecoration( 165 | color: Color.fromRGBO(111, 192, 91, 1), 166 | border: Border.all( 167 | color: Color.fromRGBO(111, 192, 91, 1), 168 | ), 169 | borderRadius: BorderRadius.circular(5.0), 170 | ), 171 | child: Icon( 172 | Icons.add, 173 | color: Colors.white, 174 | size: 20, 175 | ), 176 | ), 177 | SizedBox( 178 | width: 10, 179 | ), 180 | Text( 181 | '3', 182 | textAlign: TextAlign.center, 183 | style: TextStyle( 184 | color: Colors.black, 185 | fontSize: 17, 186 | fontWeight: FontWeight.w400), 187 | ), 188 | SizedBox( 189 | width: 5, 190 | ), 191 | Container( 192 | height: 25, 193 | width: 25, 194 | decoration: BoxDecoration( 195 | color: Color.fromRGBO(111, 192, 91, 1), 196 | border: Border.all( 197 | color: Color.fromRGBO(111, 192, 91, 1), 198 | ), 199 | borderRadius: BorderRadius.circular(5.0), 200 | ), 201 | child: Center( 202 | child: Icon( 203 | Icons.remove, 204 | color: Colors.white, 205 | ))), 206 | ], 207 | ) 208 | ], 209 | )), 210 | ), 211 | SizedBox( 212 | height: 20, 213 | ), 214 | Row( 215 | crossAxisAlignment: CrossAxisAlignment.center, 216 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 217 | children: [ 218 | 219 | owntrip().tripperson(Icons.add, Icons.remove, (){}, (){}, "1", 'Infants'), 220 | owntrip().tripperson(Icons.add, Icons.remove, (){}, (){}, "1", 'Children'), 221 | owntrip().tripperson(Icons.add, Icons.remove, (){}, (){}, "1", 'Adults'), 222 | owntrip().tripperson(Icons.add, Icons.remove, (){}, (){}, "1", 'Old Age Person') 223 | ], 224 | ), 225 | SizedBox( 226 | height: 25, 227 | ), 228 | Center( 229 | child: button().materialbuttons('PROCEED TO THE HOTEL BOOKING',(){ 230 | 231 | Navigator.push( 232 | context, 233 | CupertinoPageRoute( 234 | builder: (BuildContext context) => 235 | Next_location_hotel()), 236 | ); 237 | 238 | }), 239 | ), 240 | ], 241 | ), 242 | ), 243 | ); 244 | } 245 | } 246 | -------------------------------------------------------------------------------- /lib/make_my_own_trip/NEXT_location_hotel.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/cupertino.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:myot_app/details_screen/details_hotels.dart'; 4 | import 'package:myot_app/make_my_own_trip/next_location_transport.dart'; 5 | import 'package:myot_app/make_my_own_trip/select_hotel.dart'; 6 | import 'package:myot_app/make_my_own_trip/select_transportation.dart'; 7 | import 'package:myot_app/widgets/app_color.dart'; 8 | import 'package:myot_app/widgets/button.dart'; 9 | 10 | 11 | class Next_location_hotel extends StatelessWidget { 12 | const Next_location_hotel({Key? key}) : super(key: key); 13 | 14 | @override 15 | Widget build(BuildContext context) { 16 | return Scaffold( 17 | backgroundColor: apptheme().appbackgroundcolour, 18 | appBar: PreferredSize( 19 | preferredSize: Size.fromHeight(110), // here the desired height 20 | child: apptheme() 21 | .appbar(context, 'TOTAL NO OF DAYS 7', 'TOTAL COAST RS:50,000'), 22 | ), 23 | body: SingleChildScrollView( 24 | physics: ScrollPhysics(), 25 | child: Container( 26 | padding: EdgeInsets.only(left: 10, right: 10, top: 10,bottom: 10), 27 | 28 | child: Column( 29 | crossAxisAlignment: CrossAxisAlignment.start, 30 | children: [ 31 | // Container( 32 | // child: Row( 33 | // crossAxisAlignment: CrossAxisAlignment.center, 34 | // mainAxisAlignment: MainAxisAlignment.spaceBetween, 35 | // children: [ 36 | // for (var i = 0; i < 6; i++) 37 | // Column( 38 | // children: [ 39 | // Image.asset('images/karachi.png'), 40 | // Text('Karachi'), 41 | // ], 42 | // ) 43 | // ], 44 | // )), 45 | SizedBox( 46 | height: 15, 47 | ), 48 | Text( 49 | 'Select Hotel', 50 | style: TextStyle( 51 | color: Colors.black, 52 | fontSize: 16, 53 | fontWeight: FontWeight.bold), 54 | ), 55 | SizedBox( 56 | height: 5, 57 | ), 58 | InkWell( 59 | onTap: (){ 60 | Navigator.push( 61 | context, 62 | MaterialPageRoute( 63 | builder: (BuildContext context) => 64 | 65 | details_hotels()), 66 | ); 67 | }, 68 | child: Container( 69 | 70 | 71 | width: 395, 72 | height: 244, 73 | decoration: BoxDecoration( 74 | color: Colors.white, 75 | borderRadius: BorderRadius.circular(15), 76 | ), 77 | child: Column( 78 | children: [ 79 | ClipRRect( 80 | borderRadius: BorderRadius.circular(15), 81 | child: Image.asset( 82 | 'images/details_hotel.png', 83 | fit: BoxFit.cover, 84 | height: 140, 85 | width: 390, 86 | ), 87 | ), 88 | SizedBox( 89 | height: 5, 90 | ), 91 | Container( 92 | padding: EdgeInsets.only(left: 10,right: 10,bottom: 3), 93 | child: Column( 94 | children: [ 95 | Row( 96 | children: [ 97 | Text( 98 | 'Hotel one Jinnah 1-9 Karachi', 99 | style: TextStyle( 100 | color: Colors.black, 101 | fontSize: 15, 102 | fontWeight: FontWeight.w500), 103 | ), 104 | Icon( 105 | Icons.star, 106 | color: Colors.yellow, 107 | ), 108 | Icon( 109 | Icons.star, 110 | color: Colors.yellow, 111 | ), 112 | Icon( 113 | Icons.star, 114 | color: Colors.yellow, 115 | ), 116 | ], 117 | ), 118 | Row( 119 | children: [ 120 | Icon( 121 | Icons.add_location_rounded, 122 | color: Colors.red, 123 | ), 124 | Text( 125 | 'Karachi', 126 | style: TextStyle( 127 | color: Color.fromRGBO(104, 113, 122, 1), 128 | fontSize: 12), 129 | ), 130 | ], 131 | ), 132 | SizedBox( 133 | height: 5, 134 | ), 135 | Row( 136 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 137 | children: [ 138 | button().smallbutton('Book Now', () {}), 139 | Column( 140 | crossAxisAlignment: CrossAxisAlignment.start, 141 | children: [ 142 | Text( 143 | '1 night,1 adult', 144 | style: TextStyle( 145 | color: Color.fromRGBO(104, 113, 122, 1), 146 | fontSize: 12), 147 | ), 148 | Text( 149 | 'Rs 10,500', 150 | style: TextStyle( 151 | color: Color.fromRGBO(111, 192, 91, 1), 152 | fontSize: 12, 153 | fontWeight: FontWeight.bold), 154 | ), 155 | Text( 156 | 'inclusive of all taxes', 157 | style: TextStyle( 158 | color: Color.fromRGBO(104, 113, 122, 1), 159 | fontSize: 12), 160 | ), 161 | ], 162 | ) 163 | ], 164 | ) 165 | ], 166 | ), 167 | ) 168 | ], 169 | ), 170 | ), 171 | ), 172 | SizedBox( 173 | height: 15, 174 | ), 175 | // CarouselSlider( 176 | // options: CarouselOptions( 177 | // 178 | // height: 250, 179 | // autoPlay: true, 180 | // enlargeCenterPage: true, 181 | // aspectRatio: 0 /2, 182 | // viewportFraction: 10, 183 | // scrollDirection: Axis.horizontal, 184 | // autoPlayInterval: Duration(seconds: 3), 185 | // autoPlayAnimationDuration: Duration(milliseconds: 800), 186 | // 187 | // ), 188 | // items: images.map((i) { 189 | // return Builder( 190 | // builder: (BuildContext context) { 191 | // return Container( 192 | // 193 | // height: 180.0, 194 | // 195 | // margin: EdgeInsets.symmetric(horizontal: 2.0), 196 | // decoration: BoxDecoration( 197 | // borderRadius: BorderRadius.circular(25)), 198 | // child: Image.asset( 199 | // i, 200 | // height: 180, 201 | // fit: BoxFit.cover, 202 | // ) 203 | // ); 204 | // }, 205 | // ); 206 | // }).toList(), 207 | // ), 208 | Container( 209 | width: MediaQuery.of(context).size.width, 210 | height: 180, 211 | child: ListView.builder( 212 | physics: BouncingScrollPhysics(parent: AlwaysScrollableScrollPhysics()), 213 | 214 | scrollDirection: Axis.horizontal, 215 | itemCount: 12, 216 | itemBuilder: (BuildContext context, int index) => 217 | Container( 218 | child: Image.asset('images/Places (2).png'), 219 | ), 220 | )), 221 | SizedBox( 222 | height: 15, 223 | ), 224 | Row( 225 | crossAxisAlignment: CrossAxisAlignment.center, 226 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 227 | children: [ 228 | Container( 229 | height: 35, 230 | width: 220, 231 | child: MaterialButton( 232 | shape: RoundedRectangleBorder( 233 | borderRadius: BorderRadius.circular(60)), 234 | color: Color.fromRGBO(111, 192, 91, 1), 235 | child: Center( 236 | child: Text( 237 | 'PROCEED TO THE TRANSPOTAION', 238 | style: TextStyle( 239 | fontFamily: 'Roboto', 240 | color: Colors.white, 241 | fontWeight: FontWeight.w400, 242 | fontSize: 12, 243 | ), 244 | ), 245 | ), 246 | onPressed: (){ 247 | Navigator.push( 248 | context, 249 | CupertinoPageRoute( 250 | builder: (BuildContext context) => 251 | next_location_transport()), 252 | ); 253 | }, 254 | ), 255 | ), 256 | SizedBox(width: 10,), 257 | Container( 258 | height: 35, 259 | width: 120, 260 | child: MaterialButton( 261 | shape: RoundedRectangleBorder( 262 | borderRadius: BorderRadius.circular(60)), 263 | color: Color.fromRGBO(111, 192, 91, 1), 264 | child: Center( 265 | child: Text( 266 | 'SKIP', 267 | style: TextStyle( 268 | fontFamily: 'Roboto', 269 | color: Colors.white, 270 | fontWeight: FontWeight.w400, 271 | fontSize: 12, 272 | ), 273 | ), 274 | ), 275 | onPressed: (){ 276 | Navigator.push( 277 | context, 278 | CupertinoPageRoute( 279 | builder: (BuildContext context) => 280 | next_location_transport()), 281 | ); 282 | }, 283 | ), 284 | ), 285 | ], 286 | ) 287 | ], 288 | ), 289 | ), 290 | ), 291 | ); 292 | 293 | } 294 | } 295 | --------------------------------------------------------------------------------