3.5 - Radio Button in Flutter Example - Flutter Crash Course

Поділитися
Вставка
  • Опубліковано 15 жов 2024
  • In this flutter tutorial, we are about to create a radio button in flutter example.
    PLAYLIST: • Flutter Crash Course f...
    There are two types of radio widgets in a flutter, Radio() and RadioListTile() widgets. We will learn both but use the RadioListTile widget in flutter to design our radio button.
    SOURCE CODE
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    🧑‍💻 CODE & RESOURCES codingwitht.co...
    ❤️ COURSES
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    ► FLUTTER CRASH COURSE • Flutter Crash Course f...
    ► LOGIN APP with GETX • Flutter Login App - UI...
    ► E-COMMERCE APP • Professional Flutter E...
    ❤️ SUPPORT
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    Like and Subscribe @CODINGwithT for more amazing content
    ► Subscribe www.youtube.co...
    FOLLOW @CodingwithT on SOCIAL MEDIA!
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    💻 Facebook: / codingwithtea
    💻 Instagram: / coding_with_tea
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    📝 VIDEO SUMMARY:
    In this flutter tutorial, we are about to create a radio button in flutter. There are two type of radio widgets in flutter, Radio() and RadioListTile() widgets. In today's tutorial, we will learn not only to create a radio button but we will focus on
    1. Designing Flutter Radio Button & Flutter RadioListTile
    2. Make single or multiple radio button group
    3. Add Interactivity with the radio button using setState
    4. Make your own Custom Widget in flutter to get Custom Radio button
    If you like this video please don't forget to hit the like button and if you are new to this channel please don't forget to subscribe to it as more amazing free videos and courses are coming. :)
    #flutter_crash_course_2023 #coding_with_T #flutter_course_2023
  • Наука та технологія

КОМЕНТАРІ • 21

  • @reem3063
    @reem3063 Рік тому

    I have a question , I hope u answer
    I tried using form where inside we have textfieldform and radiolisttile .
    The issue i’m getting : when i fill the textfield then I change the radio value , the textfield values get cleared because of setstate.
    How can I solve this?

  • @azamovdev
    @azamovdev Рік тому +2

    ijodga omad videolar chiqarishda davom eting ) 🔥

  • @shohzodzet
    @shohzodzet Рік тому +1

    Thank you very much for example with enum!

  • @paranthamana949
    @paranthamana949 2 роки тому +1

    Hi can you explain how to save radioListTile clicked value using shared preferences with Enum data

    • @CodingwithT
      @CodingwithT  2 роки тому

      I'll do that in my upcoming Playlist

  • @lalremlianbtlung9042
    @lalremlianbtlung9042 2 роки тому +1

    You're great brother. Keep up the good work.

  • @raidtemmar9037
    @raidtemmar9037 2 роки тому +3

    perfect bro 😎 keep going !!

  • @durgeshpatidar7676
    @durgeshpatidar7676 5 місяців тому

    very helpful video ..... thank you sir

  • @UtifeInc.-up1jf
    @UtifeInc.-up1jf Рік тому

    Sir please help me. I followed all your steps but when I click on one radio button, the two get selected. Idk what’s wrong.

    • @CodingwithT
      @CodingwithT  Рік тому

      Most probably your ids (keys) are same

    • @camalmitchy3404
      @camalmitchy3404 Рік тому

      Having the same issue, did you get to fix this ?

    • @TemmyCodingLifestyle
      @TemmyCodingLifestyle Рік тому

      @@camalmitchy3404 Same issue

    • @CodingwithT
      @CodingwithT  Рік тому

      Buddy's you are using the same keys and that's why when one key is selected the second one will be auto-populated. So make them unique.

    • @igbafemike8792
      @igbafemike8792 Рік тому

      If any one come across this issue, make sure the following changes: value: ProductTypeEnum.Deliverable, to value : value inside the reusable widget

  • @farazsikander8179
    @farazsikander8179 2 роки тому +1

    perfect