Making generic widgets (The Boring Flutter Development Show, Ep. 58)

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ก.ย. 2024

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

  • @jajasaria
    @jajasaria 2 ปีที่แล้ว +5

    3years+ flutter dev here and still learning from boring show. keep it up

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

      Thanks for your continued support, John👍

  • @verticrow
    @verticrow 2 ปีที่แล้ว +5

    Now understanding generics way more than before. Thanks, and can't wait for the next episode.

  • @LaurivaldoLopes
    @LaurivaldoLopes 2 ปีที่แล้ว +8

    I'm from Brazil and no subtitles are available but that doesn't take away my desire to learn

    • @flutterdev
      @flutterdev  2 ปีที่แล้ว +1

      Great news! Auto-translate is now available on all channels. Click on settings, subtitles and auto-translate to pick the language you would like 🙌

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

      @@flutterdev Thank you for your attention, I will check

  • @rebarius
    @rebarius 2 ปีที่แล้ว +2

    perfect example for generic types ❤️ thank you so much :3

    • @flutterdev
      @flutterdev  2 ปีที่แล้ว +1

      Happy to hear the tutorial helped, Rebar 🙌

  • @mohammadawaisshabbir5045
    @mohammadawaisshabbir5045 2 ปีที่แล้ว +1

    hello, sir, I am a Software developer from Pakistan and I just start to read your book and here I get the link. I just reached your youtube channel and am really excited to see you here and learning from you

    • @flutterdev
      @flutterdev  2 ปีที่แล้ว +1

      Welcome aboard, Mohammad! We're happy you've joined us; make sure to subscribe for more content 😎👍

  • @ianmubangizi6721
    @ianmubangizi6721 2 ปีที่แล้ว +3

    you may have used an option builder function(T option) that returns a Widget?

    • @laybunzz
      @laybunzz 2 ปีที่แล้ว +1

      For sure, that's definitely another valid option. Which you choose often depends on how much control you want to surface to the user. By the end when we were getting in the weeds on colors, I think you're right that we'd reached the tipping point to switch to a builder function.

  • @rebarius
    @rebarius 2 ปีที่แล้ว +1

    hahahaha I love it how a Google Sticker was sticked onto the Apple Logo on the Laptop 😂

  • @bhupendrapundir4731
    @bhupendrapundir4731 2 ปีที่แล้ว +1

    Thanks khanh and craig for this boring show 😍

    • @flutterdev
      @flutterdev  ปีที่แล้ว

      Thank you for showing love to both Khanh and Craig! We're happy that you enjoy the show 😍

  • @homeofgamesnews
    @homeofgamesnews 2 ปีที่แล้ว +1

    You can make an abstuct class that provide a widget function to be built insted of using color propertiy.

  • @jesusmysavior7843
    @jesusmysavior7843 2 ปีที่แล้ว +1

    perfect

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

    I get the usefulness of Generic but I didn’t get it for this specific usecase. The options parameter could just be a set of SelectableOption without the need of generics. Right ?

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

    At 4:35, why don't you use Ctrl+. for showing the import material?

  • @ahmad-tl7gw
    @ahmad-tl7gw 2 ปีที่แล้ว

    So some thing is really cant out of my mind's, why flutter didnt create a full course or documentation thats show creating full app from zero to hero, thats would be amazing, for example laravel have full eccomerce example its helpful.

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

    Is there a difference in writing it OptionPickerState and OptionPickerState ?

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

      Hello!
      Yes there's a difference. In first option when you have it means that you have some field of the type T and this type should be *SelectableOption* or any other type that extends *SelectableOption* . But if you write OptionPickerState you will probably get error if you add field like this to your code *final T product*

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

    May I get link to the source code please :*

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

    is there source code availalbe?

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

    I would've named them _selectedOptionNames.

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

    What's the plugin that you use to collaborate in VS Code?

    • @jajasaria
      @jajasaria 2 ปีที่แล้ว +3

      i think they are using live share

    • @laybunzz
      @laybunzz 2 ปีที่แล้ว +2

      @@jajasaria Yep!

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

      Alright! Thanks

  • @RagehAzzazi
    @RagehAzzazi 2 ปีที่แล้ว +1

    Your code is messy and looks like a bedroom that has not been organized in 6 months
    And thats why u keep moving too much to find something

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

    make playlist in Urdu or Hindi please

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

    i like how this is actually trying to educate FE developers on abstract programming because JS is garbage