Demo application for hotel booking app made with @flutter and love.

Overview

Hotel Booking App

coverage style: very good analysis License: MIT

Generated by the Very Good CLI πŸ€–

A Very Good Project created by Very Good CLI.


Getting Started πŸš€

This project contains 3 flavors:

  • development
  • staging
  • production

To run the desired flavor either use the launch configuration in VSCode/Android Studio or use the following commands:

# Development
$ flutter run --flavor development --target lib/main_development.dart

# Staging
$ flutter run --flavor staging --target lib/main_staging.dart

# Production
$ flutter run --flavor production --target lib/main_production.dart

*Hotel Booking App works on iOS, Android, and Web.


Running Tests πŸ§ͺ

To run all unit and widget tests use the following command:

$ flutter test --coverage --test-randomize-ordering-seed random

To view the generated coverage report you can use lcov.

# Generate Coverage Report
$ genhtml coverage/lcov.info -o coverage/

# Open Coverage Report
$ open coverage/index.html

Working with Translations 🌐

This project relies on flutter_localizations and follows the official internationalization guide for Flutter.

Adding Strings

  1. To add a new localizable string, open the app_en.arb file at lib/l10n/arb/app_en.arb.
{
    "@@locale": "en",
    "counterAppBarTitle": "Counter",
    "@counterAppBarTitle": {
        "description": "Text shown in the AppBar of the Counter Page"
    }
}
  1. Then add a new key/value and description
{
    "@@locale": "en",
    "counterAppBarTitle": "Counter",
    "@counterAppBarTitle": {
        "description": "Text shown in the AppBar of the Counter Page"
    },
    "helloWorld": "Hello World",
    "@helloWorld": {
        "description": "Hello World Text"
    }
}
  1. Use the new string
import 'package:hotel_booking_app/l10n/l10n.dart';

@override
Widget build(BuildContext context) {
  final l10n = context.l10n;
  return Text(l10n.helloWorld);
}

Adding Supported Locales

Update the CFBundleLocalizations array in the Info.plist at ios/Runner/Info.plist to include the new locale.

    ...

    <key>CFBundleLocalizationskey>
	<array>
		<string>enstring>
		<string>esstring>
	array>

    ...

Adding Translations

  1. For each supported locale, add a new ARB file in lib/l10n/arb.
β”œβ”€β”€ l10n
β”‚   β”œβ”€β”€ arb
β”‚   β”‚   β”œβ”€β”€ app_en.arb
β”‚   β”‚   └── app_es.arb
  1. Add the translated strings to each .arb file:

app_en.arb

{
    "@@locale": "en",
    "counterAppBarTitle": "Counter",
    "@counterAppBarTitle": {
        "description": "Text shown in the AppBar of the Counter Page"
    }
}

app_es.arb

{
    "@@locale": "es",
    "counterAppBarTitle": "Contador",
    "@counterAppBarTitle": {
        "description": "Texto mostrado en la AppBar de la pΓ‘gina del contador"
    }
}
You might also like...

Ez tickets app - A cinema ticket booking app made with Flutter SDK

Ez tickets app - A cinema ticket booking app made with Flutter SDK

EZ Tickets Cinema App - Made With Flutter A ticket booking app made for Nueplex

Jan 9, 2023

Web3-demo-flutter - A demo for the flutter web3 library.

web3_demo_flutter A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you starte

Oct 7, 2022

Flutter UI design for a car booking application

Flutter UI design for a car booking application

Flutter UBER UI Kit A flutter Uber UI Kit inspired by A design on behance 20+ Screens and still making more. 😁 Star if you like what you see. ⭐ ⭐ ⭐ ⭐

Dec 11, 2022

Flutter UI design for a car booking application

Flutter UI design for a car booking application

Flutter UBER UI Kit A flutter Uber UI Kit inspired by A design on behance 20+ Screens and still making more. 😁 Star if you like what you see. ⭐ ⭐ ⭐ ⭐

Dec 22, 2021

Docoline is a virtual Doctor appointment booking application

Docoline is a virtual Doctor appointment booking application

Docoline Docoline is a virtual Doctor appointment booking application, that has been developed to override the problems of booking an appointment with

Oct 17, 2022

NearTurf is a turf booking app that helps you find the best turf near you and book more slots. Created by using flutter , Node js

Near Turf A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if thi

Oct 26, 2022

On Demand Doctor Appointment Booking App Built in Flutter

flutter_doctor_appointment_booking_app Getting Started flutter_doctor_appointment_booking_app project has "main.dart" as Entry Point. Hire Me Drop me

Dec 23, 2022

Cab Booking Web App in Flutter

Cab-Booking-Flutter-Web-App Cab Booking Template - Flutter Cab offers you just about everything you are looking for in a free taxi service website tem

Dec 30, 2022

Bus Seat Booking App For Flutter

Bus Seat Booking App For Flutter

shani_bus(Bus Seat Booking App) splash screen Login page 3)Home screen Seat book

Oct 8, 2022
Comments
  • Added firebase to pubspec.yaml

    Added firebase to pubspec.yaml

    Please add a google_config.json file for adding database and further development.

    Refer to this link : https://firebase.flutter.dev/docs/installation/android#installing-your-firebase-configuration-file

    opened by r0hnx 7
  • Connect with Firebase to retrieve hotels from Firestore

    Connect with Firebase to retrieve hotels from Firestore

    Connect the app with Firebase to get all the information for FireStore.

    The steps you have to follow to go forward to this issue is:

    • Setup your own Firebase project.
    • Get the google-services.json from your Firebase project.
    • Set up the project to run with Firebase ( Add the necessary files and dependencies to achieve that)
    • Add to .gitignore file the google-services.json file path. Same for ios version.
    • Implement the logic to get all data from firestore.
    • Verify everything works as expected.
    help wanted good first issue hacktoberfest 
    opened by enzoftware 5
Releases(v2.0.0)
Owner
Enzo Lizama Paredes
Challenges lover. Mobile software engineer. Passionate about soccer. Mobile Software Engineer at @superformula. Article author at @raywenderlich
Enzo Lizama Paredes
Hotel Booking Concept is a promo sample application inspired by

hotel-booking-concept-flutter Hotel Booking Concept is a promo sample application inspired by https://dribbble.com/shots/6821188-Hotel-Booking-App-Con

null 97 Dec 17, 2022
Flutter Hotel Booking UI

hotel_booking Original Design: https://dribbble.com/shots/7967793-Travel-App RESULT Getting Started This project is a starting point for a Flutter app

Cybdom 143 Dec 28, 2022
Love-Calculator-Flutter - A Love Calculator Flutter app created for learning basic stuffs in Dart

Love Calculator The same old Love Calculator ,but in flutter NB A simple flutter

Adithya Krishnan 3 Nov 14, 2022
GrowERP Flutter Administrator front-end & Hotel & Ecommerce for Android, IOS and Web using Moqui.org, Apache OFBiz

Welcome to flutter open source GrowERP. GrowERP is an open source multi platform ERP application you can try right now! We have latest test version at

GrowERP 11 Dec 24, 2022
Hangman and yet another gaming App(i love games and making it XD)

and yet another gaming App(i love games and making it XD) , i completed the ui and almost all the functionality , i will add some storing data using firebase later, anyways please give a try and enjoy it , i will try in the future to use flame engine to make a 3d cool app or even 2d, any feedback will be apperciated since im still halfway to be a proffesional

FarZ 15 Dec 29, 2022
DostiPak - Dating app to make connection between people and start new love story to lovers

Dosti Pak Dating app to make connection between people and start new love story

ABDULKARIM ALBAIK 6 Oct 2, 2022
It's OK to love Flutter and hate hand-coding design elements. Parabeac-Core converts design files into Flutter code.

Parabeac-Core Parabeac-Core converts design files into Flutter code driven by open-source & community. Contribute Β· Discord Community Β· Designer Proto

Parabeac 536 Jan 4, 2023
Play Around with Dartpad and fall in love with Flutter

Flutter Workshop - GDSC NIT ROURKELA - Preptember 2021 What we built during the workshop? For checking out the code For checking out the code For chec

Astha Nayak 4 Feb 27, 2022
Tribally SDKs enable your users to create communities and bring in more people to talk about the things they love.

tribally Tribally SDKs enable your users to create communities and bring in more people to talk about the things they love. Getting Started This proje

Horum 0 Dec 28, 2021