RadioButtonFieldBuilder
RadioButtonFieldBuilder
RadioButtonFieldBuilder is a customised list of radio button tiles along with the label text.
Features
isRequired
: Developers can make a text field mandatory / non-mandatory for the users based on theisRequired
value as true/false. (*) indicates mandatory field.secondaryBox
: Based on the option selected, developers can get another widget( like TextField / drop down etc. ) beside the selected radio button.
Widgets used from Flutter Material Library
SL No | Widgets | Description |
---|---|---|
1 |
| Label text |
2 |
| options tile |
Files Path :
Primary Files : https://github.com/misdwss/punjab-mgramseva/blob/master/frontend/mgramseva/lib/widgets/RadioButtonFieldBuilder.dart