This is my screen shot for my app by using WeatherAPI https://openweathermap.org/appid
i used a clean archticture for this app that contain 2 layers:
The data layer contains a single weather repository that is used to fetch weather data from the OpenWeatherMap API.
The data is then parsed (using Freezed) and returned using type-safe entity classes (Weather and Forecast).
This layer holds all the widgets, along with their controllers.
Widgets do not communicate directly with the repository.
Instead, they watch some controllers that extend the StateNotifier class (using Riverpod).
This allows to map the data from the layer above to AsyncValue objects that can be mapped to the appropriate UI states (data, loading, error).
1- Current weather (condition and temperature) 2- 5-day weather forecast 3- Search by city