Facebook Twitter Instagram
    DeepCrazyWorld
    Facebook Twitter Instagram Pinterest YouTube
    • FLUTTER
      • FLUTTER APP
        • QRCode
        • Quiz App
        • Chat GPT
        • PDF App
        • News App
        • Fitness App
        • Weather App
        • BMI Calculator
        • GAME APP
        • Ecommerce App
        • wallpaper App
        • Finance app
        • Chat App
        • Wallet App
        • Taxi App
        • Quran app
        • Music player app
      • FLUTTER UI
        • Splash Screen
        • Onboarding Screen
        • Login Screen
        • Card Design
        • Drawer
    • PROJECT
      • Android Projects
      • College Projects
      • FLUTTER APP
      • Project Ideas
      • PHP Projects
      • Python Projects
    • SOURCE CODE
    • ANDROID
      • ANDROID APP
      • GAME APP
      • ANDROID STUDIO
    • MCQ
      • AKTU MCQ
        • RPA MCQ
        • COA MCQ
        • HPC MCQ
        • SPM MCQ
        • Renewable Energy All MCQ
        • Data Compression MCQ
        • Data Structure MCQ
        • Digital Image Processing MCQ
        • Software Engineering MCQ
        • Machine Learning MCQ
        • Artificial Intelligence MCQ
      • D PHARMA MCQ
        • Pharmaceutics – I MCQ
        • Pharmacognosy MCQ
        • Pharmaceutical Chemistry MCQ
        • Biochemistry and Clinical Pathology MCQ
        • Human Anatomy and Physiology MCQ
        • Heath Education and Community Pharmacy MCQ
    • INTERVIEW QUESTIONS
      • Flutter Interview Questions
      • INTERVIEW QUESTIONS
      • Python Interview Questions
      • Coding ninjas solution
    • MORE
      • WORDPRESS
        • SEO
        • TOP 10 WORDPRESS THEME
      • PRODUCTIVITY
      • Program
      • QUOTES
    DeepCrazyWorld
    Home»Weather App»Flutter weather app using OpenWeatherMap API source code
    Weather App

    Flutter weather app using OpenWeatherMap API source code

    DeepikaBy DeepikaNovember 16, 2023Updated:November 22, 2023No Comments6 Mins Read

    Clima 🌤️ – Flutter weather app – Clima is a user-friendly weather app designed to provide you with accurate and up-to-date weather information in the simplest way possible. With Clima, you can easily check the current temperature in your location for today and the next six days, allowing you to plan your activities accordingly. The app also offers detailed hourly forecasts, providing you with weather updates every three hours throughout the day. Clima’s standout feature lies in its minimalistic and intuitive design, ensuring a hassle-free experience for users. Say goodbye to complicated interfaces and overwhelming data—Clima focuses on delivering essential weather information, making it the go-to choice for anyone seeking a straightforward and reliable weather app.

    Table of Contents

    Toggle
    • Installation Instructions: 💣
      • Setting Up API Keys
      • Running the Flutter Project
    • Features ✨
    • Preview 📱
    • Techniques 🛠️
    • Contribution Guidelines 🚀
    • Get Full Source Code
    • Conclusion
        • Related Articles:
      • READ MORE

    Installation Instructions: 💣

    Before you start, you’ll need to obtain API keys from the following services:

    • Google Maps API Key:
      • Visit the Google Cloud Console.
      • Create a new project and enable the Google Maps API.
      • Generate an API key and restrict its usage as needed.
      • To integrate the map with your project, follow the Configuration
    • OpenWeather API Key:
      • Go to the OpenWeather website.
      • Sign up for a free account and generate an API key.
    <img decoding=
    Flutter weather app

    Setting Up API Keys

    1. Clone the repository to your local machine:
    git clone https://github.com/your-username/your-project.git
    cd your-project
    1. In the project directory, create a new file named .env to store your API keys:
    # .env file
    GOOGLE_MAPS_API_KEY=your-google-maps-api-key
    OPENWEATHER_API_KEY=your-openweather-api-key
    
    1. Save the .env file in the root of your Flutter project directory.

    OR

    do what I did, create a dart class containes the keys and add it to .gitignore like this :

    class Api {
      static const String key = "your-openweather-api-key";
      static const String googleKey = "your-google-maps-api-key";
    }

    Running the Flutter Project

    Now that you have set up your API keys, you can run the Flutter project on your local machine. Make sure you have Flutter installed. If not, you can follow the official Flutter installation guide.

    1. Install project dependencies:
    flutter pub get
    1. Run the Flutter project:
    flutter run

    This will launch the Flutter app, allowing you to utilize Google Maps and OpenWeather services within your Flutter weather app project.

    Note Make sure to add the .env file to your .gitignore to keep your API keys private and not expose them in your version control system. This ensures the security of your API keys.

    Features ✨

    • Current Weather: View the real-time weather conditions for your current location, including temperature, date, and weather description.
    • 6-Day Forecast: Plan your week ahead with a 6-day weather forecast. Get insights into the upcoming weather trends, helping you make informed decisions.
    • Hourly Updates: Access detailed hourly forecasts, providing weather updates every 3 hours throughout the day. Stay prepared for changing weather conditions.
    • Google Maps Integration: Seamlessly integrate Google Maps functionality into the app. Visualize weather data on an interactive map, allowing users to explore different locations.
    • Notifications: Receive daily weather notifications to stay informed about significant weather changes. Customize notification preferences for specific weather conditions or time intervals.
    • User-Friendly Interface: Experience the simplicity of design. Clima features an intuitive and minimalistic interface, ensuring effortless navigation and quick access to weather information.
    • Responsive Design: Enjoy consistent user experience across various devices and screen sizes, including smartphones and tablets.

    Preview 📱

    preview.mp4

    Techniques 🛠️

    • Minimum SDK level 21
    • Compile SDK Version 33
    • Font:
      • Manrope
    • Architecture
      • Mvvm
    • Dio
      • A powerful and easy-to-use HTTP client for Flutter and Dart.
    • Permission Handler
      • Flutter plugin for managing permissions on both Android and iOS platforms.
    • Geolocator
      • A Flutter geolocation plugin for Android and iOS, providing easy access to device location services such as GPS and Network.
    • Dartz
      • A functional programming library for Dart and Flutter, offering tools for handling immutable data, errors, and functional programming concepts.
    • Flutter Bloc
      • A predictable state management library that helps implement the BLoC pattern in Flutter applications.
    • Get It
      • A simple Service Locator for Dart and Flutter projects, providing a convenient way to manage and access objects throughout the app.
    • Lottie:
      • A Flutter package for displaying animations created with Lottie, a library for Android, iOS, and the web that parses Adobe After Effects animations.
    • Iconsax:
      • A collection of high-quality and customizable icons for Flutter projects, offering a wide range of icons to enhance the app’s visual appeal.
    • Flutter Local Notifications:
      • A Flutter plugin for displaying local notifications on Android and iOS devices. Useful for scheduling and managing notifications within the app.
    • Path Provider:
      • A Dart library for retrieving commonly used locations on the filesystem, such as temporary and application-specific directories.
    • Equatable:
      • A Dart package that helps in comparing objects for equality in a more convenient way, enhancing the simplicity of value-based equality checks.
    • Flutter SVG:
      • An SVG rendering and widget library for Flutter, enabling the display of Scalable Vector Graphics files in Flutter applications.
    • Connectivity Plus:
      • A Flutter plugin for monitoring network connectivity, providing information about the device’s network status and connection type Flutter weather app.
    • Google Maps Flutter:
      • A Flutter plugin for integrating Google Maps into Flutter applications, allowing developers to display interactive maps with markers, polylines, and more.

    Contribution Guidelines 🚀

    We appreciate your interest in contributing to Clima! Before you start, please take a moment to read our Contribution Guidelines for details on how to contribute, code of conduct, and other important information.

    Thank you for contributing to Clima! 🌦️

    Resources Used:

    • YouTube
    • Dart & Flutter Packages

    You can check out the entire code of this App here:

    Get Full Source Code

    View Github

    download source code

    Conclusion

    This was all about a quick go through the basic flutter App UI Screen. If you need any assistance regarding flutter app development, you can consult a flutter developer from FlutterDesk. We would love to be of help. Still, if you feel any difficult while dealing with Flutter app development projects, you can reach out to us or hire Flutter developers to outsource any of your app development project.

    Do like & share my Facebook page. if you find this post helpful. Thank you!!

    Happy coding! 😉

    Related Articles:

    • How to Install Flutter in windows 10
    • Beautiful Plants App UI design using flutter and firebase
    • Simple Wallet App UI Build With Flutter source code
    • The Real taxi app with Flutter source code
    • Awesome onboarding screen with Flutter source code
    • Create Onboarding login page with flutter page view
    • Quiz App using flutter with source code
    • Flutter music app Search all audio files in android phone
    • Chat GPT Voice Chatbot App with Flutter source code
    • Flutter NEWS App with REST APIs source code
    • Flutter Wallpaper Application built with Flutter source code
    • Chatting app made with flutter using Firebase source code
    • Flutter Login Screen with Firebase Auth and Facebook Login Auth
    • Flutter weather app using OpenWeatherMap API source code
    • A Local Data Quiz Game App using Flutter and Dart
    • Workout Fitness App built using Flutter for android and iOS
    • Make News and Weather App using flutter

    READ MORE

    Share. Facebook Twitter LinkedIn WhatsApp Telegram Pinterest Reddit Email
    Previous ArticleAnimated login screen page designed with flutter dart
    Next Article A Local Data Quiz Game App using Flutter and Dart

    Related Posts

    Animated Backgrounds in Flutter: A Complete Guide

    FLUTTER 4 Mins Read

    How to Create Music Player UI screen with fully functional in flutter

    FLUTTER APP 3 Mins Read

    How to make ListView Builder Ui in flutter with Source Code

    FLUTTER UI 5 Mins Read

    How to create TabBar view in flutter with source code step wise

    FLUTTER UI 5 Mins Read

    Leave A Reply Cancel Reply

    Recent Posts
    • Implementing a Dynamic FAQ Screen UI in Flutter Using ExpansionTile March 29, 2025
    • Creating an Instruction UI Screen in Flutter Application March 29, 2025
    • Animated Backgrounds in Flutter: A Complete Guide March 15, 2025
    • How to make Diary App using flutter stepwise using getx August 31, 2024
    • How to Create Music Player UI screen with fully functional in flutter August 30, 2024
    • How to make ListView Builder Ui in flutter with Source Code August 29, 2024
    • Create a TabBar View in flutter with fully functional stepwise August 28, 2024
    • How to create TabBar view in flutter with source code step wise August 27, 2024
    • How to make Heart rate measure app with Flutter stepwise August 26, 2024
    • How to make ChatGpt App in flutter with source code Stepwise August 25, 2024
    Facebook Twitter Instagram Pinterest YouTube
    • About
    • Contact
    • Disclaimer
    • Privacy Policy
    Copyright by DeepCrazyWorld © 2025

    Type above and press Enter to search. Press Esc to cancel.