Skip to content

Shadow60539/travel_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Test support GitHub Repo stars GitHub forks

Cover

Introduction

Airnbn is a simple prototype app which lists tourist destinations.

Before we start, you can take a look at the app:

Output sample

Key Features

  • Book trips with a single swipe.
  • View trips timeline.
  • Favourite any trip.

How To Use

To clone and run this application, you'll need Git and Flutter installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/Shadow60539/travel_app.git

# Go into the repository
$ cd travel_app.git

# Install dependencies
$ flutter packages get

# Run the app
$ flutter run

Packages

Some very good packages are used in the project, not a big list.

Below are the information about these packages.

package explain
font_awesome_flutter Awesome icons
flag Country Flags
http Network
cached_network_image Caching Network Images
flutter_bloc Bloc Pattern
lottie Lottie files animations
google_fonts Google fonts
freezed Code generation for immutable classes
lint Rules handler for Dart
build_runner Build Custom Models

Directory Structure

The project directory structure is as follows:

β”œβ”€β”€ android
β”œβ”€β”€ asset
β”œβ”€β”€ build
β”œβ”€β”€ images
β”œβ”€β”€ ios
β”œβ”€β”€ lib
β”œβ”€β”€ pubspec.lock
β”œβ”€β”€ pubspec.yaml

Let me explain the other directories besides lib:

DIRECTORY INFO
images readme images files
asset images and lottie files

Then the lib directory

lib

DIRECTORY INFO
application State Management
core Global Classes
domain Abstract Classes
infrastructure Domain implementation (backend)
presentation UI