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 - Наука та технологія
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?
ijodga omad videolar chiqarishda davom eting ) 🔥
Thank you 😊
Thank you very much for example with enum!
Glad it was helpful!
Hi can you explain how to save radioListTile clicked value using shared preferences with Enum data
I'll do that in my upcoming Playlist
You're great brother. Keep up the good work.
Thank you 😊
perfect bro 😎 keep going !!
Thank you 😊
very helpful video ..... thank you sir
Most welcome 🤗
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.
Most probably your ids (keys) are same
Having the same issue, did you get to fix this ?
@@camalmitchy3404 Same issue
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.
If any one come across this issue, make sure the following changes: value: ProductTypeEnum.Deliverable, to value : value inside the reusable widget
perfect
❤️❤️🤞🤞🤞