Flutter - Widget Swapping

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ต.ค. 2024

ความคิดเห็น • 31

  • @Zegger
    @Zegger 2 ปีที่แล้ว

    Gosh, so simple but so effective, thanks.

  • @lucasayala1125
    @lucasayala1125 4 ปีที่แล้ว +1

    Thanks Brandon! Gran trabajo

    • @BrandonDonnelson
      @BrandonDonnelson  4 ปีที่แล้ว

      You're welcome. Thanks for the feedback!

  • @Banik1103
    @Banik1103 3 ปีที่แล้ว

    This helped me very much, thank you!

  • @zarlishfar8892
    @zarlishfar8892 3 ปีที่แล้ว

    This is very helpful but I'm facing a problm ......i want to do that .....there are 2 buttons on a screen when screen loaded it display first widget When we tap second button then it display second widget data ....then we tap first button is display first widget ........ according to ur video i do this but when we tap 1 button it automatically works both ...but when i remove ! That button doesn't work

  • @RobertWildling
    @RobertWildling 5 ปีที่แล้ว

    +Brandon Donnelson Thank you for all your tutorials! Very impressive and most helpful!
    May I ask one question here: At 7.03 you say something that I do not understand: "...because there is no way I can get an [what do you say here?] here". Is it "NPE"? If so - and even if not -, what does it mean? Thank you very much!

  • @lucacavall8
    @lucacavall8 3 ปีที่แล้ว

    very useful

  • @musausman5656
    @musausman5656 6 ปีที่แล้ว

    Hey Brandon! Can you make a video on JSON Storage in detail, like map entries and stuff, thanks!

    • @BrandonDonnelson
      @BrandonDonnelson  6 ปีที่แล้ว +1

      Good idea. I'll queue that up on the videos I'd like to do. Thanks for the feedback!

  • @raoufrahiche2828
    @raoufrahiche2828 6 ปีที่แล้ว +3

    thnks

  • @fenofanikshotahotbishoasho6248
    @fenofanikshotahotbishoasho6248 3 ปีที่แล้ว

    THX!

  • @videosuperhero100
    @videosuperhero100 6 ปีที่แล้ว

    Great video! Small comment, question, maybe suggestion. On line 30 where you declare that variable to be swap, you could have changed that name to be another name, like: "swapInternal" or something else to just show that they are wiget.swap and the variable on line 30 are completely independent...or am I wrong on this?

    • @BrandonDonnelson
      @BrandonDonnelson  6 ปีที่แล้ว +1

      Thank you and thanks for the feedback. You're right I should have changed that variable. Typically I use private variables for internal state logic. I had forgot when I was making it and didn't want to re-record it. I wanted to use "_swap" for the internal value. I still felt I got the point across so I published it. Good point never the less.

    • @videosuperhero100
      @videosuperhero100 6 ปีที่แล้ว +1

      Brandon Donnelson I'm still new so wasn't 💯 sure. Ok so... Next demo idea: I got the flutter_gallery example working and modified the pesto section to read in data from an API. Would love to see you mess around in there and get an API data to load in stuff into pesto area, would love to see you also show how to make it do infinate scrolling with the pesto where the 2nd pagination is triggered when scrolling, ect, would love to see how to change the logo on pesto... Thought it would be simple... But it's not. Just a couple ideas!

    • @BrandonDonnelson
      @BrandonDonnelson  6 ปีที่แล้ว

      I plan to show how to use the Firebase list at some point. It takes care of the wiring for the infinite scrolling. github.com/flutter/plugins/tree/master/packages/firebase_database/lib/ui

    • @videosuperhero100
      @videosuperhero100 6 ปีที่แล้ว

      Eeek...still learning so this is a bit more intimidating...i dont really know how to apply this to the flutter_gallery example pesto area...but if I wonder i bet a lot of other people are trying to figure it out. There are some other examples online but nothing with real explicit code. You would be the first!

    • @BrandonDonnelson
      @BrandonDonnelson  6 ปีที่แล้ว

      There is another simple example I know of here. Nice job trying it out. github.com/flutter/plugins/blob/master/packages/firebase_database/example/lib/main.dart

  • @andiekoprastyo2844
    @andiekoprastyo2844 3 ปีที่แล้ว

    thanks

  • @zarlishfar8892
    @zarlishfar8892 3 ปีที่แล้ว

    Please reply me