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

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

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

  • @ahmadabouzeid4640
    @ahmadabouzeid4640 7 дней назад +1

    wow,actual wow! Thank you so much for this nice video,fast great explanation and cuts right into it !Now Ill try making it by myself

  • @MHM-jy4uj
    @MHM-jy4uj Год назад +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 8 месяцев назад +2

    Thank you so much sir. This helped for our project

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

  • @ZibonNahar-ts5cu
    @ZibonNahar-ts5cu 10 месяцев назад +2

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

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

      Same doubt did you get answer for this?

  • @owenrupnow7873
    @owenrupnow7873 Месяц назад +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"

  • @YoniTube
    @YoniTube Год назад +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

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

    awesome tutorial straight to the point😚😍

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

    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.

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

    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.

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

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

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

  • @BlackKnight-ju9st
    @BlackKnight-ju9st Год назад +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  Год назад +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?

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

    It's Working Appreciate It

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

      Hi,
      What issue are you running into?

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

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

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

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

      @@dafmadzt probably 30 minutes to 1hr

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

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

  • @gamster9898
    @gamster9898 Год назад

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

  • @rafaymushtaq2316
    @rafaymushtaq2316 Год назад +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  Год назад +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 Год назад

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

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

    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?

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

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

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

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

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

  • @moneyman-ne9lw
    @moneyman-ne9lw Год назад

    Awesome tutorial my man.

  • @RonyHassan47
    @RonyHassan47 Год назад +1

    A very helpful video ❤❤❤

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

    Can the app predict weather for a particular day?

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

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

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

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

      @@m_hussain_mustafa Thank You. I will do that

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

    it good course thanks teach

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

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

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

      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.

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

    helped me to get the png file .thanks

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

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

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

      Are you referring to your API key not being active?

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

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

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

    sir, how to get the API KEY?

  • @smv1949
    @smv1949 Год назад

    Nice

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

    Are you from pakistan

  • @marvellouseabraham8436
    @marvellouseabraham8436 Год назад

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

    • @m_hussain_mustafa
      @m_hussain_mustafa  Год назад

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

    • @marvellouseabraham8436
      @marvellouseabraham8436 Год назад

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

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

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

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

    Quick reply please

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