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

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

Комментарии • 68

  • @MHM-jy4uj
    @MHM-jy4uj 11 месяцев назад +7

    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.

  • @srivishwap6107
    @srivishwap6107 6 месяцев назад +2

    Thank you so much sir. This helped for our project

  • @YoniTube
    @YoniTube 11 месяцев назад +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

    • @m_hussain_mustafa
      @m_hussain_mustafa  11 месяцев назад

      Thanks for reaching out ill take a look at it.

  • @owenrupnow7873
    @owenrupnow7873 4 дня назад +1

    For others wanting to convert the wind speed to mph, you can you this in the text widget: "Wind: ${(_weather?.windSpeed != null ? _weather!.windSpeed! * 2.23694 : 0).toStringAsFixed(0)} mph"

  • @robopoc9212
    @robopoc9212 Месяц назад +1

    Nice video, only one doubt, why on date is showing at the end "Monday 30/28/2023" and also displaying same time on all the cities.😅

    • @FlutterDudexd
      @FlutterDudexd Месяц назад

      Same doubt did you get answer for this?

  • @omerfaruk5100
    @omerfaruk5100 5 месяцев назад +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.

  • @MrIMacro
    @MrIMacro 8 месяцев назад

    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 8 месяцев назад +2

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

  • @JeevanKumar-vw5nx
    @JeevanKumar-vw5nx 7 месяцев назад +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  7 месяцев назад

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

  • @lucameinardi197
    @lucameinardi197 2 месяца назад

    Whi I have this problem, I can't start the program
    E/flutter (28797): [ERROR:flutter/runtime/dart_isolate.cc(146)] Could not prepare isolate.
    E/flutter (28797): [ERROR:flutter/runtime/runtime_controller.cc(487)] Could not create root isolate.
    E/flutter (28797): [ERROR:flutter/shell/common/shell.cc(686)] Could not launch engine with configuration.

  • @BlackKnight-ju9st
    @BlackKnight-ju9st 11 месяцев назад +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  11 месяцев назад +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?

  • @JeevanRaj28
    @JeevanRaj28 6 месяцев назад

    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  6 месяцев назад

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

  • @BirdsLoversKhurramShahid
    @BirdsLoversKhurramShahid 5 месяцев назад

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

  • @rafaymushtaq2316
    @rafaymushtaq2316 11 месяцев назад +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  11 месяцев назад +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 11 месяцев назад

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

  • @98live17
    @98live17 3 месяца назад

    Can the app predict weather for a particular day?

    • @m_hussain_mustafa
      @m_hussain_mustafa  3 месяца назад +1

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

  • @Kingaran-r5x
    @Kingaran-r5x Месяц назад

    sir, how to get area names in local languages ? please

  • @sumeetshrivastava440
    @sumeetshrivastava440 7 месяцев назад

    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?

  • @sumitsonar1690
    @sumitsonar1690 3 месяца назад +1

    awesome tutorial straight to the point😚😍

  • @rash_nerd
    @rash_nerd 10 месяцев назад

    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  10 месяцев назад +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.

    • @rash_nerd
      @rash_nerd 10 месяцев назад

      @@m_hussain_mustafa Thank You. I will do that

  • @aqoonteach
    @aqoonteach 10 месяцев назад +1

    it good course thanks teach

  • @MyEdit365
    @MyEdit365 6 месяцев назад +1

    It's Working Appreciate It

    • @m_hussain_mustafa
      @m_hussain_mustafa  6 месяцев назад +1

      Hi,
      What issue are you running into?

    • @MyEdit365
      @MyEdit365 6 месяцев назад

      @@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

    • @dafmadzt
      @dafmadzt 2 месяца назад

      @@MyEdit365 how much time does it take to get access to the API?

    • @MyEdit365
      @MyEdit365 2 месяца назад

      @@dafmadzt probably 30 minutes to 1hr

  • @abdelrhmnmo9574
    @abdelrhmnmo9574 6 месяцев назад

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

    • @m_hussain_mustafa
      @m_hussain_mustafa  6 месяцев назад

      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.

  • @abhisheksingh8144
    @abhisheksingh8144 10 месяцев назад +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

  • @gamster9898
    @gamster9898 10 месяцев назад

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

    • @m_hussain_mustafa
      @m_hussain_mustafa  10 месяцев назад +1

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

  • @cheswinraj9472
    @cheswinraj9472 8 месяцев назад +1

    helped me to get the png file .thanks

  • @RonyHassan47
    @RonyHassan47 11 месяцев назад +1

    A very helpful video ❤❤❤

  • @MichaelDavisB
    @MichaelDavisB 5 месяцев назад +1

    sir, how to get the API KEY?

  • @moneyman-ne9lw
    @moneyman-ne9lw 11 месяцев назад

    Awesome tutorial my man.

  • @jkkdev
    @jkkdev 8 месяцев назад

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

    • @m_hussain_mustafa
      @m_hussain_mustafa  8 месяцев назад

      Are you referring to your API key not being active?

    • @jkkdev
      @jkkdev 8 месяцев назад

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

  • @smv1949
    @smv1949 11 месяцев назад

    Nice

  • @marvellouseabraham8436
    @marvellouseabraham8436 11 месяцев назад

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

    • @m_hussain_mustafa
      @m_hussain_mustafa  11 месяцев назад

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

    • @marvellouseabraham8436
      @marvellouseabraham8436 11 месяцев назад

      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 6 месяцев назад

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

    • @m_hussain_mustafa
      @m_hussain_mustafa  6 месяцев назад

      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 7 месяцев назад

    Quick reply please

  • @azizrajpoot999
    @azizrajpoot999 2 месяца назад +1