CloudScope is a simple and user-friendly weather application that provides real-time weather updates for any city. Built with Flutter, the app integrates seamlessly with the OpenWeatherMap API to fetch accurate weather data.
- Search for weather updates by city.
- View real-time weather conditions, including:
- Temperature (current, high, and low).
- Weather conditions (e.g., sunny, cloudy, rainy).
- Corresponding weather icons.
- Detailed weather screen with:
- Current date and time.
- Comprehensive weather description.
- Responsive and visually appealing UI with a dark theme.
- Frontend: Flutter (Dart)
- Backend API: OpenWeatherMap API
- Packages Used:
httpfor API requests.intlfor date and time formatting.
-
Clone the Repository
git clone https://github.com/Samenergy/CloudScope.git cd cloudscope -
Set Up Dependencies Install the required Flutter packages:
flutter pub get
-
Run the App Use the Flutter CLI to run the app on an emulator or physical device:
flutter run
lib/main.dart: Entry point of the application.screens/homescreen.dart: Contains the home screen UI and logic.screens/detailed_weather_screen.dart: UI for detailed weather information.screens/weather_service.dart: Handles API integration and data fetching.
-
fetchWeatherData(String city)- Fetches weather data from the OpenWeatherMap API.
- Parses and returns the necessary weather information.
-
Error Handling:
- Displays appropriate error messages in case of failed API requests.
-
Search for a City:
- Enter a city name in the search bar and press enter.
- View the current weather conditions.
-
Detailed Weather View:
- Tap on a weather card to view more details about the selected city.
- Add weekly weather forecasts.
- Implement user accounts to save favorite cities.
- Include push notifications for severe weather alerts.
- Add localization for multiple languages.
Contributions are welcome! To contribute:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Commit your changes and push them to your branch.
- Submit a pull request explaining your changes.
This project is licensed under the MIT License. See the LICENSE file for details.
- Special thanks to OpenWeatherMap for providing the API.
- Inspired by the need for simple and effective weather applications.
- Developer: [Samuel Dushime]
- Email: sdushime38@gmail.com
- GitHub: Samenergy
Feel free to reach out with any questions or feedback!