Created
November 4, 2023 10:01
-
-
Save IsmailAlamKhan/a09ce1ea9f08cce1c79831e6dd1e0a0a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Display the current weather (temperature, weather description, and icon) for a user-specified location. | |
2. Use a public weather API like OpenWeatherMap (https://openweathermap.org/api) or any other API of your choice. The candidate should make an API request to fetch the weather data. | |
3. Provide a text input field where the user can enter the name of a city or a location. | |
4. When the user enters a location and taps a "Get Weather" button, the app should fetch the weather data for that location and display it on the screen. | |
5. Implement proper error handling and show error messages to the user if the location is not found or if there is a network-related issue. | |
6. Use Flutter's async/await and Future-based networking to make the API requests. | |
7. Style the app for a visually appealing and user-friendly interface. | |
8. You must be consistent. | |
9. The code need to have proper comment where needed. | |
10. We value good quality code so keep that in mind |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment