Skip to content

aliayn/FlutterWeatherApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Weather App with Flutter Bloc Pattern

Flutter version

160137257-74793b5d-0c44-44ad-a0d3-28aaa06f99b1


Introduction

This mini project is designed to be an example of a flutter_bloc + freezed implementation.

In the bloc folder, you can see the implementation of the bloc's part and the main logic of an app.

I tried to use the abilities of freezed in the control state and event part.

As you can see in the HomeEvent and HomeState, I used freezed and not equatable which leads to increased code readability and development speed.


Stack


Getting start

You need to create an account at http://weatherapi.com/ to get a personal API KEY

create a .env file at the root of the project and put there your API KEY

API_KEY= your key