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.
- Flutter 3.1.0 (Null Safety)
- flutter_bloc
- Freezed
- Retrofit
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