Weather App • FLUTTER - BLOC & API Tutorial for Beginners 🔥

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

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

  • @Romain_Girou
    @Romain_Girou  Год назад +28

    Don't forget to subscribe if you liked the video !
    Here is the GitHub of the project :
    github.com/romain-girou/weather_app_youtube

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

      I am subscribed from the TODO App, you do it very well, I am sure you will be a great channel, something I would like to see is an app that is a little more real, and with clean architecture, with firebase that would be great

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

      I've done an entire perhaps you've seen it (ruclips.net/video/W6Vnv5kmzfk/видео.html) What kind of App you'd like to see ? A social media, chat, ... ?

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

      @@Romain_Girou a social media

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

      Thank you, Romain, for creating such a fantastic video! I stumbled upon your content and couldn't resist watching it. I was genuinely impressed and, as a result, I've become a subscriber to your channel. I have high hopes that you'll continue delivering excellent content in the future.
      I have a request for you that I hope you can consider. Could you possibly create tutorials on the following three topics?
      Ensuring App Responsiveness: I'm interested in learning how to make an app adapt seamlessly to various mobile devices and tablets, regardless of their screen size.
      Live Location Tracking with Google Maps: It would be incredibly helpful if you could provide guidance on implementing live location tracking similar to what we see in apps like Food Panda, where customers can track the delivery rider's location in real-time.
      High-Quality Video Player: Lastly, I'd love to see a tutorial on building a video player with features akin to RUclips, including playback controls and the ability to play RUclips videos within the app, complete with quality control options.
      Your expertise would be greatly appreciated in these areas, and I believe many of your subscribers would find these tutorials incredibly valuable. Thank you in advance for considering my request!

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

      you don't format your code ?

  • @mahmutdawut6998
    @mahmutdawut6998 Год назад +9

    Beautiful UI and great lesson for beginner. Wishing to see more content like this.

  • @zeeshandev-lh9xl
    @zeeshandev-lh9xl Месяц назад +1

    dear brother i love your teaching method i have seen so much tuturial on the youtube related flutter development scenarios but your's are awesome , God bless you and bunch of enless happiness on you and long live with near's one

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

    Create background with froze glass effect is outstanding.. the way you created it is stunning.. your explanation also is very clear.. thank you..

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

      Thank you so much 🙏 you made my day !

  • @jeromemf
    @jeromemf Год назад +6

    After watching another video of yours I already liked the way you explain and present your content.
    After this video I subscribed to your channel. Nice work Romain!

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

      Thanks a lot ! I'll keep on delivering 💪

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

    I love the way you explain and the trial and error it's super amusing Keep it Up Brother !

  • @AmanAgarwal-gv1il
    @AmanAgarwal-gv1il 3 месяца назад

    great video loved it and also I have added a feature in which if the time is between sunrise and 12 noon its gonna say 'Good Morning' and if time is between 12 noon and 4 pm its gonna say 'Good Afternoon' and if the time is between 4pm and sunset its gonna say 'Good Evening' and after that 'Good Night'.

  • @dbtfitness8655
    @dbtfitness8655 Год назад +4

    Sir please make a complete project with bloc , really appreciate your teaching, thankyou very much ❤

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

    Waiting to see that clean app structure, as a beginner in flutter it will help me a lot

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

    I'm learning Flutter and Dart on my own for a couple of weeks now, but never found a video or online lesson that explains the coding and the logic as greatly as you! You, sir, just gained a new subscriber, I'm gonna start your To-Do app next week! 😊
    Also I had an idea: at the end of the video, maybe we could use the "Icon" column from the "Weather condition codes" page as well?

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

      That is very nice of you to say and it goes a long way, Thanks 🙏
      Yes of course you can and you should if you want to push to app !

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

      @@Romain_Girou Thank you so much, I'm gonna give it a try. 😍

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

      Best of luck ! Don’t hesitate if you’re struggling

  • @ergashev_uzb
    @ergashev_uzb 27 дней назад

    It's beautiful

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

    Informative video. Thanks Romain.

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

    thanks for this video it really helped me to build my mobile app, which is now live! it has been few days only but this video was very helpful!
    API was a bit trickier but could make it work :) cheers

  • @AhmedHassan-sd1ty
    @AhmedHassan-sd1ty 27 дней назад

    good tutorial. thanks!

  • @petervilson3357
    @petervilson3357 Год назад +2

    Awesome video! Thank You! :) However, building this with cubit, dio and freezed for json deseralization would be a gem!
    Thank You again and looking forward for Your next video!

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

    Hi, thank you for the tutorial with clear explanation, do you use windows? How did u manage to emulate IOS on windows?

  • @SumitSS-t5s
    @SumitSS-t5s 3 месяца назад

    nice explain. love from India bro. please make a app with lots of navigation. with bloc navigation becomes problem for many of us. like auto navigation and state updates. timer functions. web socket

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

    I want to add a bit where you can edit it more to make it more combust : Do change the "Good Morning" text by comparing it with the current time. Its a small tweak but perfection is what everyone desires for. Kudos to everyone and Romain you too!
    Subscribed to you and will following you for some more contents.

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

      Love the dedication and attention to details ! That’s the way to go

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

      @@Romain_Girou All thanks to you sir!
      Pretty compact and smooth tutorial.

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

    Awesome vid ! Thank you very much for that nice course ! Gonna help me make my app

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

      I’m glad you liked it ! Don’t hesitate to check out other videos if you need more and good luck with your app !

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

    I would love this example with clean architecture.

  • @LalitKumar-qv9xn
    @LalitKumar-qv9xn 9 месяцев назад

    yes sir please make videos on how to structure your code and project and also explain how to fellow clean architecture

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

      Already uploaded ! Check out the channel 😊

  • @Ha-it-ha-99-99
    @Ha-it-ha-99-99 3 месяца назад

    hi , i can use the images of your app for construct my app or not. Thanks

  • @LalitKumar-qv9xn
    @LalitKumar-qv9xn 9 месяцев назад

    yes sir please make videos on how to structure your code and project

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

    Thank you for your valuable Flutter content. Keep it up, Romain.👏👏👏

  • @clovisstanford6515
    @clovisstanford6515 Год назад +4

    The switch case expression type 'bool' must be a subtype of the switch expression type . The error is " >= 600 && 700". In every case it showing this error. But I used if else statements and solved it .

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

      Fair enough with an if else statement ! Perhaps they changed something in the API or I didn't cover a type of weather that you are experiencing !

  • @Tyrone-Ward
    @Tyrone-Ward 3 месяца назад +3

    10 seconds into the video: "please like the video of you like the content"... bro you haven't even given us content to like yet IT'S 10 SECONDS INTO THE VIDEO 😂

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

    Great video, thanks. But what was the point of using an event in this case? Wouldn't a cubit have been better? I'm still trying to work out when an event would be beneficial

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

      Thanks !
      Yes in theory cubit are for « eventless » actions like requesting the weather data and bloc when the user actually interacts with the app like when a button is pressed

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

    Thanks, what if i want to show the user the movement of the raining clouds on the map. Could you please show us how?

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

    Thanks

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

    Very gooooood! 🤩

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

    thanks for sharing this..., its really helpfull for beginners like me.

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

    Just found the channel love it !!! Can you do a small sample stockmarket app with api ?

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

      Yes that’s a nice idea 💡

  • @theyouthmedia9451
    @theyouthmedia9451 6 месяцев назад +4

    Those who wants Part 2 ------------------------>

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

    Good explanation 👍👍 subscribed

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

    Sir, I appreciated the way you explain things, I'm new to flutter and learning from you. I have a question: I can't run the app with geolocator package added, I think it is conflicting with another package, any idea to fix that or another package to get geolocation?

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

      hmm conflicts are always a pain... Perhaps try a pub upgrade and otherwise look carefully at the output message, it will tell you which package as a conflict and what version it should be in

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

      @@Romain_Girou tks for you reply, I did it, I fixed the conflict and everything is working fine. keep it up bro, you're doing a nice job.

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

      Perfect 👌
      I will thanks 🙏

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

    Very beautiful ❤️ thanks for the video ✨
    Will you make one more with login screen where user having different scopes for loging in like student login scope and teacher login scope in single login button? I am working on it currently 😅 trying with single button and with bloc

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

      Thanks 🙏
      Yes that could be a cool video to go through all logins possibly !

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

    Very helpful tutorial thank you

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

    Thanks for this pearl of knowledge!!
    What about if Geolocator shows up a wrong location example: San francisco(US) instead the correct location? while all the other informations are correct

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

      You are very welcome !
      It’s the location of your emulator that’s why it’s SF instead of the place you’re really at, change it in the settings

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

      @@Romain_Girou thanks a lot! Looking forward for new content! This channel deserves 100k subs!! 🫶

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

    Great tutorial, the nesting in Flutter is crazy though.

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

      Thanks !
      Yes it is but you can manage it very nicely with a good separation for each widget

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

      @@Romain_Girou I'll watch your clean coding video, hopefully it's there, be good to know when and how much to break up too.

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

    thanks for the video

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

    Hey, thanks for the tutorial, i have a question, if I put some button to refresh the data, how to call the API again ?

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

      Hey there !
      Simply by calling the Bloc Event again

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

      @@Romain_Girou took me a while to figure out how to call it again, but it works now, thanks!

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

      Amazing, well done 👏

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

    Thank you, Romain! Such a great tutorial.
    But, in the package, there is an option for five-day weather forecast, when i try do that, it is throwing some error. and when i tried logging, there is actually no weather-related data, only the city name, and the latitude and longitude.
    Do you know whether the package is limited to only use the current weather or is five day forecast available?

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

      You are very welcome !
      Yes perhaps the package has some errors into it I don't really know and I could tell you for sure.
      What I know is that you can try to fetch weather data from an api directly. Perhaps that something I could do as a small part 2 ?

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

      @@Romain_Girou yeah same, I'm also thinking to use the api directly, working on another project rn, so thought of implementing the easy way using the package. 😅🤛

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

      I understand ! Well feel free if you have time to do it to create a branch in the GitHub if you do it before me 👌
      Good day 🔥

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

    thank bro

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

    next tut would love to see ecommerce with firebase bloc stripe :)

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

      Yes good idea ! I plan to start a serie where I create a SAAS business using flutter and bringing you guys along 👌

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

    Great tutorial, waiting for the clean app structure tutorial 👍

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

    cuteapp )

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

    just like this we need complete apps with bloC and clean architecture

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

      You have other tutorials on the channel if you need !

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

    такое ощцщение, что это видео из прошлого ))

  • @DEVKushal-t8b
    @DEVKushal-t8b Год назад

    wow
    exicted

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

    Video on app structure please. Thanks for the video. Subscribed.

  • @071-ramprasathvk9
    @071-ramprasathvk9 7 месяцев назад +1

    Awesome UI..Perfect Teaching but for me idk why the code is working fine in my android emulator but its not working in real device like i found the issue is in if-else..for me if(state is WeatherBlocSuccess) is not running..else part is working in phone. I checked by providing a colour in a container at else part

    • @071-ramprasathvk9
      @071-ramprasathvk9 7 месяцев назад

      And i added all the neccessary parts for androidmanifest files....Is i need to few min to get data or anything else..
      and your video is really helpful for my project but i stucked bw this

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

      Perhaps you should replace the if statements by a switch

  •  Год назад

    Harika.

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

    Really Helpful
    Learnt a lot
    Thank You

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

    Hi, Thank you, What is the name of the vs code extension that shows the name and colors?

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

      Well you have a few of them but I'm using at the moment only "bloc", "flutter" and "dart".

  • @sejal9773
    @sejal9773 Год назад +2

    I'm on the end part almost done but the app just keeps loading ig it is entering the else part of the 'main.dart' code.
    I checked the entire code there are no errors and i have provided Api key and everything.
    Could you please tell why this would be happening.
    Thankyou for this amazing video!!

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

      Do you have a github link ?

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

      @@Romain_Girou i have the same problem !!

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

      I think the problem is in the switch statement, I'll fix it but you can replace it with an if else statement and that should fix it

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

      @@Romain_Girou I am facing the same issue. The app is loading only.

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

    Amazing 🔥

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

    Subscribed

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

    Thanks for this video. It helped improve my knowledge of flutter!

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

    Wow your explanation is awesome 🔥

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

      Thanks a lot for saying it ! That goes a long way 🔥

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

    i want more icons like fog, haze but i didn't find any free icon how can i get icons like yours

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

      ooh, actually u have already provided it. so thank you!

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

    Hey it's a good tutorial, I want to know one thing how to get hold of these widgets, there are too many widgets and attributes, and I am Mostly struggling with which one will do what and when to use, any help will be appreciated

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

      Yes I can imagine .. it’s a practice thing ! The more you’re gonna develop the better you will get selecting widgets and the most important ones will come more often !

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

    i hope this tutorial is full not cutted im new subscriber here

  • @ARIFFOYSAL-nb6zr
    @ARIFFOYSAL-nb6zr 6 месяцев назад

    what is the extension name that you have used to see the image in the vscode

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

      It's by default isn't it ?

  • @abodikheder3626
    @abodikheder3626 Год назад +2

    perfection

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

    Hello Romain and thanks for this great tutorial, I've encountered a problem in this part of the video 41:00 it tells me that the method _determinePosition isnt defined for the type MyApp, I can't seem to find any fix for that

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

      Weird.. did you tried to relaunch the App completely ? Go check the GitHub to see if you didn’t miss anything !

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

    I have a question how do you get the constant colors, like the source
    of the specific colors

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

      Hello there !
      Well you can get the codes in many ways using Canva, or other website that will give you the Hex code for the color you are looking for.

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

    Nice Video. You didn't include any link to the github, or assets. I was following along and realized I can't continue because I have no assets. Kindly would you like to include the link perhaps where we can download the assets if not necessarily github?

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

      GitHub is in the pin comment !

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

      Ooooh Sorry, I didn't see 😂 Thanks I can now continue @@Romain_Girou

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

    Subscribed
    😍

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

    Could you pease make a complete guide video on bloc beginer to advance

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

    Subscribed 😌🔥

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

    can I use provider instead of bloc usually everyone uses bloc but I don't understand why

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

      Of course you can ! Those state management system are just more advanced

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

    amazing keep up the amazing work man do you teach I will gladly perches your course

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

      Thank you man !
      I’m in the process of creating one but I want it to be amazing and bring you real value so it’s gonna take a bit of time 😇

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

    thanks ...........a lot
    google map with flutter

  • @jamalkhan-my4tg
    @jamalkhan-my4tg Год назад

    Awesome❤

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

    I'm an absolute beginner can I watch this ?

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

      I mean of course you can ! But if you have no coding experience I'm afraid it's gonna br a bit hard to understand

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

      @@Romain_Girou thanks 👍

  • @JEAN-PIERRERAPP
    @JEAN-PIERRERAPP 3 месяца назад

    coooooooooooooooooooooooooooooooooooollllllll

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

    Sir when i build the apk and try to run in my real Android phone it gives error state , and when i run in my Android studio emulator it runs,and also when i connect my real device to Android studio it runs perfect. Why this happens,

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

    18:14 deepPurple circles are aligned exactly in the center for me (not getting the mirror effect for the values (AlignmentDirectional(-3, -0.3), AlignmentDirectional(3, -0.3))). I'm using an android emulator. What am I doing wrong here?

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

      Perhaps you forgot the blur effect under all those widget ? Checkout the Github and compare, good luck !

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

      @@Romain_Girou even i had the same error on android emulator, the way i fixed it was by adjust the padding in EdgeInsets.fromLTRB, changed L AND R from 40 to 10.
      I'm not sure if this will be an issue later as I've only completed 20% of the tutorial. Will update this if I find any issues.

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

    We want same with using http or Dio package please, it will be useful for other projects with APIs. Thank you.

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

      Will do ! Thanks for your feedback and there are some other videos like this on my channel you should go check them out 🔥

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

      @@Romain_Girou Also I need to know how to manage multiple API endpoints in same project and call those api and feed them in same UI. Thanks.

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

      Give me some examples of API calls you're looking for and I'll make a video !

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

      @@Romain_Girou OpenWeatherMap API dosen't provide specific location names it provides an area name I know weather is based on an area but I want to show specific area name using Reverse Geocoding API by locationiq and Altitude(Elevation) from open-elevation can you please make a video including this API? you can also upgrade the same project using these APIs and not using Weather package. using http or Dio pacakage. Thank you.

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

      yep noted ! Will come soon. I'll make a v2 of this video with http or Dio and pointing out as well precise location

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

    sir pls make a flutter bloc beginner to advance tutorial

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

    Could you share the code repository please?, I can't find similar weather icons

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

      Yes incoming !

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

      ​@@Romain_GirouThank you! I appreciate your way to explain

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

      I am very glad to hear it, it goes a long way 😊
      Github link is in the pin comment 👌 Good luck in your learning journey !

  • @shailjaiswal-fd1xy
    @shailjaiswal-fd1xy 8 месяцев назад

    What we display when there is night because it's displaying sun image which is not appropriate

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

      Well feel free to improve it !

    • @shailjaiswal-fd1xy
      @shailjaiswal-fd1xy 8 месяцев назад

      @@Romain_Girou Sir i am not getting any idea to implement moon image could u please suggest me how to do that because in night the sun image is not looking appropriate.

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

      Well you get the time of the phone and if the time is between 7am-7pm you display the sun image and if between 7pm-7am then the moon image or something like this

    • @shailjaiswal-fd1xy
      @shailjaiswal-fd1xy 8 месяцев назад

      Ok thanks will try to implement this

    • @shailjaiswal-fd1xy
      @shailjaiswal-fd1xy 8 месяцев назад

      It worked perfectly thanks a lot sir. I also added some animation from rive. ❤️

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

    where are the images that u use in the tutorial?

  • @mr.kashyapsandesh1084
    @mr.kashyapsandesh1084 Год назад

    make more small projects with bloc

  • @John-son-007
    @John-son-007 Месяц назад +1

    can somebody help me i have a problem in the main.dart line 19 [future: _determinePositon(),]
    // This is what the error says
    The method '_determinePositon' isn't defined for the type 'MainApp'.
    Try correcting the name to the name of an existing method, or defining a method named '_determinePositon'.dartundefined_method
    Type: InvalidType
    i have follow all the instrucstion i don't know why its having error I'm stuck at 41:58 in the vid i can't move forward haha
    I already solve it LOL
    the error was an typo i wrote _determinePositon hahaa

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

    How to get such images for different weather conditions for free?????

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

    thanks, but how can I get an API key to make the app work?

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

      U can use free random APIs or if u know backend u can make them urselves

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

      so what do you use in this project?
      @@sarveshyadav6175

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

      You have to request you own from the weater API !

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

    how did you get the png ???

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

      I’ve created them !
      You can find some online for sure

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

      @@Romain_Girou Image.network("openweathermap.org/img/wn/${state.weather.weatherIcon}@4x.png")
      add this i saw in some other video

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

    app keeps on loading and the all of the code is correct ?? any fixes urgent

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

      If the Apps keeps on loading it's because perhaps the switch statement for code weather code is not valid. Replace it with an if statement

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

    Please watchout for latest issue with the geolocator package, the app wont run without the latest Kotlin, and if Kotlin is the latest version, geolocator won't work . I tried every possible resolutions in the universe, I 'm quitting this project.

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

      change the kotlin version to new version in your gradil file

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

      @@NaveenG777 i tried that too, but it also return
      error , when i commented out the geolocator dependency, the error disappeared.

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

    I tried to build the APK and it gets stucks on loading any idea why? IT works find in the emulator

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

      Perhaps have something to do with the login ? Did you logout before building the apk ?
      Otherwise could be the location package not right initialise, on android you also need to do some stuff to make it work

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

      Or it’s the switch statement for the weather code that’s not right

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

      @@Romain_Girou Im assuming the switch statment is right as it works fine on the emulator and im still logged in on the emulator. Every works fine on the android emulator. just not the built APK

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

      @@Romain_Girou got it working added to the manafestio

  • @noorulhaq8993
    @noorulhaq8993 29 дней назад

    whats the point of using bloc if you are asking for permission in main.dart the whole purpose of seperating logic is destroyed.

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

    Sir, you forgot to change the good morning text

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

      Indeed but I think you can figure this one out on your own using DateTime.now() and accessing the current hour of the day 😁

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

    Can we have this sorce code in github ..? ❤

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

    Sir please different apps develop with provider or firebase or API

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

    Excellent video sir. I have a question too: can we fetch data from an api without a package like 'weather'?

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

      Thanks !
      Of course you can, I'll make a video showing how to connect direct with http to an API

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

    The app is getting stuck at loading screen.

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

      I also tried changing switch block with if else but still the app isn't loading

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

      Check the GitHub !

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

    SIr there is no API key for free ,Is it possible any website to get api key for free

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

      Yes there is no ? They removed it ?

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

    How can i get api key can you please tell us

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

      You just create an account on the website and then in your profile your will find a spot where you can generate and see your API Keys

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

    Romain come on mate give us api that u used

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

      It’s all in the video ☺️