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"
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.
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.
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.
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?
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......😁
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
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?
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.
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.
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
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.
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.
Thank you very much.
Thank you so much sir. This helped for our project
You are most welcome
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
Thanks for reaching out ill take a look at it.
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"
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.😅
Same doubt did you get answer for this?
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.
You're welcome
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.
Such a nice video. Very helpful. Thank you so much
You’re very welcome.
How to pass city name dynamically. I tried but on launching the app itself it is throwing exception called city not found.
Hi,
I'd recommend taking a look at the OpenWeather api documentation.
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.
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.
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?
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......😁
Hi,
The openweather api key is free to get started with you just need to create an account.
There is problem that i face is a current time issue it does not show the time of different countries why?????
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
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.
@@m_hussain_mustafa Thank you so much. It will help many others. Because there is no valid tutorial on it. 😍
Can the app predict weather for a particular day?
If the data is avaliable from the api then you can display it within the app. The app itself can't predict anything.
sir, how to get area names in local languages ? please
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?
awesome tutorial straight to the point😚😍
Awesome to hear that 👏
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?
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.
@@m_hussain_mustafa Thank You. I will do that
it good course thanks teach
You're welcome. Glad you liked it.
It's Working Appreciate It
Hi,
What issue are you running into?
@@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
@@MyEdit365 how much time does it take to get access to the API?
@@dafmadzt probably 30 minutes to 1hr
How can i make this app to know the user location and show the weathet of this location
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.
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
very useful video, thanks for sharing, keep sharing more good videos like this
Awesome to hear that. I'll keep posting more content.
helped me to get the png file .thanks
What png file?
A very helpful video ❤❤❤
Thank you 🤩
sir, how to get the API KEY?
Hi, it's shown in the tutorial. At th3 start.
Awesome tutorial my man.
Thanks for your support
It's been 9 hours now and the API is still not working, any follow up?
Are you referring to your API key not being active?
@@m_hussain_mustafa if there's any way to know if it is active, my app is stuck on loading screen. Thank you!
Nice
Thank you.
so their was no need for model class just use Api keys ,
Yes you can do that if you like as well. There are many ways to solve a problem.
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
Sir, please place your cursor aside when you are typing. Its really annoying.
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.
Quick reply please
Thanks. :)