Skip to content

Water water project is a test program for clean writing

Notifications You must be signed in to change notification settings

alirezabashi98/x-weather

Repository files navigation

X Weather

x weather cover

Description

The x weather program is a weather program for practicing clean code and after writing it, I decided to keep it updated. If you are a programmer, you can learn new things by reading the codes. If you see a problem, you can contact me to improve.
The weather program was written with the help of the api provided by (openweathermap.org)[openweathermap.org.
There are four cities: Tehran, Dubai, London, New York by default, which you can delete by dragging or clicking the delete button, or you can add them by searching and selecting new provinces.

Note

A programmer must learn by reading the code, but I will soon put a pdf here so that by reading it faster, you can understand and learn more about the different parts of the project.

Technologies used

A weather project to practice writing cleanly

  • state management bloc.
  • Clean architecture.
  • Dependency injection.
  • solid.
  • Multi-platform.

Download Demo App

Demo App Android

screenshots

x weather folder structure home screen search box search box

dependencies

icon

  • cupertino_icons: ^1.0.2
  • ionicons: ^0.2.2

Networking

  • dio: ^5.4.0

State Management

  • flutter_bloc: ^8.1.3
  • bloc: ^8.1.2

database

  • hive_flutter: ^1.1.0
  • hive: ^2.2.3

Others

  • get_it: ^7.6.4
  • auto_route: ^7.8.4
  • awesome_dio_interceptor: ^1.0.0
  • dartz: ^0.10.1
  • loading_animation_widget: ^1.2.0+4
  • flutter_typeahead: ^5.0.1
  • intl: ^0.19.0

dev dependencies

  • flutter_lints: ^2.0.0
  • lint: ^2.2.0
  • build_runner: ^2.4.7
  • auto_route_generator: ^7.3.2
  • hive_generator: ^2.0.1

Getting Started

https://github.com/alirezabashi98/x-weather.git
ch x-weather
flutter pub get
flutter run 

For the rest of the operating systems, you can also use the following command, for example, for Linux as below, if there are several, put a comma between them as below

flutter create . --platforms=linux,android

this repo will be updated 💙 .

Developers

Please subscribe into our Telegram channel and to contact with the developer click this link address. I love to gain new experiences and share them with others. I am very eager to learn new things. If you see an issue that needs to be fixed, please contact me or if you give me money for a request. I will be very happy if it is compatible with the project. Merge with the main project

Links