Flutter Weather App Tutorial | OpenWeather API Weather App Flutter | Tutorial For Beginners

Поділитися
Вставка
  • Опубліковано 3 лис 2023
  • 💼 Book a meeting: cutt.ly/Pegxp5rA
    💎 Ultimate Flutter UI Kit: cutt.ly/3w6tqwFA
    In this video, we will be creating a weather app using Flutter. We will use the weather and intl packages to create our Flutter application. We will be using the OpenWeather API to get information regarding weather at a specific location. Moreover, this tutorial will show you how to display information such as temperature, humidity, wind speed and other relevant weather and climate information within Flutter. This guide will help you setup and navigate through the process of creating a simple weather app using Flutter. This is an excellent guide for beginner Flutter developers.
    Resources:
    Source Code: cutt.ly/UwRZbKqD
    Weather Package: pub.dev/packages/weather
    Intl Package: pub.dev/packages/intl
    Socials:
    Website: hussainmustafa.com
    Github: github.com/hussain-mustafa990
    LinkedIn: / hussain-mustafa-960920184
    Twitter: / hussain34274892
    Buy Me A Coffee: www.buymeacoffee.com/hussainm...
    #flutter #flutterweather #fluttertutorialforbeginners #fluttertutorial
  • Наука та технологія

КОМЕНТАРІ • 58

  • @MHM-jy4uj
    @MHM-jy4uj 8 місяців тому +5

    This is such a killer video. I followed it through all the way, and the app works and looks the same. You are the best.

  • @omerfaruk5100
    @omerfaruk5100 2 місяці тому +1

    definetly you are a life saver, your videos are amazing. just perfect with every detail. thanks so much we're waiting for new beginner level projects sir.

  • @srivishwap6107
    @srivishwap6107 3 місяці тому +1

    Thank you so much sir. This helped for our project

  • @MrIMacro
    @MrIMacro 5 місяців тому

    Amazing, Can you please show us how to do it with coordinates and not by the city name, because i can't find my city anywhere.

  • @ZibonNahar-ts5cu
    @ZibonNahar-ts5cu 5 місяців тому +2

    Such a nice video. Very helpful. Thank you so much

  • @BirdsLoversKhurramShahid
    @BirdsLoversKhurramShahid 2 місяці тому

    There is problem that i face is a current time issue it does not show the time of different countries why?????

  • @sumeetshrivastava440
    @sumeetshrivastava440 4 місяці тому

    I don't understand how can the date be 30.28.2023. Even on my end I am getting 4.0.2024. Can you please tell me the fix for it?

  • @moneyman-ne9lw
    @moneyman-ne9lw 8 місяців тому

    Awesome tutorial my man.

  • @sumitsonar1690
    @sumitsonar1690 17 днів тому +1

    awesome tutorial straight to the point😚😍

  • @gamster9898
    @gamster9898 7 місяців тому

    very useful video, thanks for sharing, keep sharing more good videos like this

    • @m_hussain_mustafa
      @m_hussain_mustafa  7 місяців тому +1

      Awesome to hear that. I'll keep posting more content.

  • @MyEdit365
    @MyEdit365 3 місяці тому +1

    It's Working Appreciate It

    • @m_hussain_mustafa
      @m_hussain_mustafa  3 місяці тому +1

      Hi,
      What issue are you running into?

    • @MyEdit365
      @MyEdit365 3 місяці тому

      @@m_hussain_mustafa Sorry It's Working now
      Problem was in the API, It takes time to have access the API for the user.
      Problem was in the the Website

  • @YoniTube
    @YoniTube 8 місяців тому +2

    Nice video, But I think in date section month have type error because min and month display the same result can you check this
    Thanks

  • @RonyHassan47
    @RonyHassan47 8 місяців тому +1

    A very helpful video ❤❤❤

  • @BlackKnight-ju9st
    @BlackKnight-ju9st 7 місяців тому +1

    I ran the using debug and it worked fine..BUT when I build the apk and installed it , It just loads thee CircularProgressIndicator and the data is not showing.

    • @m_hussain_mustafa
      @m_hussain_mustafa  7 місяців тому +1

      Did you add the appropriate permissions to your iOS and Android build settings for accessing the internet? And is your device connected to the internet?

  • @JeevanKumar-vw5nx
    @JeevanKumar-vw5nx 4 місяці тому +1

    How to pass city name dynamically. I tried but on launching the app itself it is throwing exception called city not found.

    • @m_hussain_mustafa
      @m_hussain_mustafa  4 місяці тому

      Hi,
      I'd recommend taking a look at the OpenWeather api documentation.

  • @abhisheksingh8144
    @abhisheksingh8144 7 місяців тому +1

    bro you should have taken 10 more minutes, it could be more descriptive of what and why you are using any widgets and variables in the project else it was all Good.
    Thank you

  • @98live17
    @98live17 22 дні тому

    Can the app predict weather for a particular day?

    • @m_hussain_mustafa
      @m_hussain_mustafa  22 дні тому +1

      If the data is avaliable from the api then you can display it within the app. The app itself can't predict anything.

  • @aqoonteach
    @aqoonteach 7 місяців тому +1

    it good course thanks teach

  • @abdelrhmnmo9574
    @abdelrhmnmo9574 3 місяці тому

    How can i make this app to know the user location and show the weathet of this location

    • @m_hussain_mustafa
      @m_hussain_mustafa  3 місяці тому

      You can access the users lat long position using a package from pub.dev and then send the request to openweather api endpoint that accepts lat and long coordinates to get weather data.

  • @rafaymushtaq2316
    @rafaymushtaq2316 8 місяців тому +1

    Sir, I requested for tutorial of push notification days ago. Please make it I am desperately waiting for this. How to save fcm token in database and most
    important thing how we trigger automatic
    notification for example admin add some
    products it automatically push notification
    to user about adding product

    • @m_hussain_mustafa
      @m_hussain_mustafa  8 місяців тому +1

      Hi,
      I'll try my very best to create a tutorial on this topic. However, I can not promise as I'll have to do research on this topic.

    • @rafaymushtaq2316
      @rafaymushtaq2316 8 місяців тому

      @@m_hussain_mustafa Thank you so much. It will help many others. Because there is no valid tutorial on it. 😍

  • @MichaelDavisB
    @MichaelDavisB 2 місяці тому +1

    sir, how to get the API KEY?

  • @akhigbekelvin9163
    @akhigbekelvin9163 7 місяців тому

    Please why do you add "?" (nullable sign) when introducing a variable into the Text widgets? E.g when gou want to display temp and you go "_weather?. temperature?.celsius?.toStringAsFixed(0)"
    What is the benefit of doing this and why did errors show up without it?

    • @m_hussain_mustafa
      @m_hussain_mustafa  7 місяців тому +1

      Hi, this is the null aware access operator. We use this to signify to the code that hey only try to access a property on a variable if it is not null. This way our application won’t crash during runtime if the variable is null. I recommend taking a look at null safety in dart and reading up on it.

    • @akhigbekelvin9163
      @akhigbekelvin9163 7 місяців тому

      @@m_hussain_mustafa Thank You. I will do that

  • @JeevanRaj28
    @JeevanRaj28 3 місяці тому

    Awesome Video😍. The code works properly in Android Emulater but not supported for the mobile phones because API key is paid. What can i do? Give some Idea......😁

    • @m_hussain_mustafa
      @m_hussain_mustafa  3 місяці тому

      Hi,
      The openweather api key is free to get started with you just need to create an account.

  • @smv1949
    @smv1949 8 місяців тому

    Nice

  • @cheswinraj9472
    @cheswinraj9472 5 місяців тому +1

    helped me to get the png file .thanks

  • @jkkdev
    @jkkdev 5 місяців тому

    It's been 9 hours now and the API is still not working, any follow up?

    • @m_hussain_mustafa
      @m_hussain_mustafa  5 місяців тому

      Are you referring to your API key not being active?

    • @jkkdev
      @jkkdev 5 місяців тому

      @@m_hussain_mustafa if there's any way to know if it is active, my app is stuck on loading screen. Thank you!

  • @marvellouseabraham8436
    @marvellouseabraham8436 8 місяців тому

    so their was no need for model class just use Api keys ,

    • @m_hussain_mustafa
      @m_hussain_mustafa  8 місяців тому

      Yes you can do that if you like as well. There are many ways to solve a problem.

    • @marvellouseabraham8436
      @marvellouseabraham8436 8 місяців тому

      OK thank you for your reply but I have been finding it had to get access to the JSON file so that I can build a model of my own

  • @ayushbenedictsingh1627
    @ayushbenedictsingh1627 3 місяці тому

    Sir, please place your cursor aside when you are typing. Its really annoying.

    • @m_hussain_mustafa
      @m_hussain_mustafa  3 місяці тому

      Hi,
      It is not possible for me to place my cursor to a different place than where I need to type. However, I'll still try to figure out a solution to this.

  • @JeevanKumar-vw5nx
    @JeevanKumar-vw5nx 4 місяці тому

    Quick reply please