SelectFieldBuilder
SelectFieldBuilder is a customised searchable Dropdown widget along with the label for the dropdown.
Features
isRequired
: Developers can make a text field mandatory / non-mandatory for the users based on theisRequired
value as true/false. (*) indicates mandatory field.requiredMessage
: Customise your error validation message usingrequiredMessage
variableisEnabled
: IfisEnabled
is false , then the text field becomes read-only (non-editable).
Widgets used from Flutter Material Library
SL No | Widgets | Description |
---|---|---|
1 |
| options for the drop down |
2 |
| Text Box Decoration |
3 |
| Text Field |
4 |
| Drop down options tile |
Files Path :
Primary Files : https://github.com/misdwss/punjab-mgramseva/blob/master/frontend/mgramseva/lib/widgets/SelectFieldBuilder.dart ,