Skip to content

Flutter Weather Application: A cross-platform app for iOS and Android that provides comprehensive weather details. Features include current weather display, detailed forecasts, visual weather charts, and a search function with real-time suggestions. Built with Clean Architecture principles, BLoC for state management, and integrates with WeatherAPI.

Notifications You must be signed in to change notification settings

NoaTubic/weather_app

Repository files navigation

Flutter Weather Application

A comprehensive weather application built with Flutter for both iOS and Android platforms.

weather

Features

  • Weather Display: Shows the weather for the current location.
  • Detailed Forecast: Provides hourly weather details for today and tomorrow.
  • Weather Charts: Visual representation of weather conditions such as sunny, rain, or showers.
  • Search: Allows users to search for the weather forecast by city or location name with real-time suggestions as they type.

Architecture & Libraries

  • Clean Architecture: The app follows Uncle Bob's Clean Architecture principles.
  • State Management: Uses the BLoC pattern for state management.
  • Location Tracking: Implemented with the geolocator package.
  • Local Caching: Uses the Hive database for caching data locally.
  • Navigation: Navigation is handled by the auto_route package.
  • API Integration: The app integrates with the WeatherAPI using dio, freezed, and retrofit.

Testing

  • Unit Tests: The application includes unit tests to ensure functionality.
  • Test Coverage: High test coverage has been maintained throughout the application.

Requirements

  • Flutter Version: The app is built using Flutter version 2.10.2.

🚀 Getting Started

  1. Clone the repository.
  2. Navigate to the project directory.
  3. Run flutter pub get to install dependencies.
  4. Add your Weather API key to the api_constants.dart file.
  5. Run flutter run to start the application.

About

Flutter Weather Application: A cross-platform app for iOS and Android that provides comprehensive weather details. Features include current weather display, detailed forecasts, visual weather charts, and a search function with real-time suggestions. Built with Clean Architecture principles, BLoC for state management, and integrates with WeatherAPI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published