Closed Bekzod101001 closed 1 year ago
Is your feature request related to a problem? Please describe. Make available to use ValidationBuilder not only for TextFormField, but for other elements like DropdownButtonFormField
Describe the solution you'd like
DropdownButtonFormField( validator: ValidationBuilder().required().build(), ),
Right now it's returning error
"The argument type 'String? Function(String?)' can't be assigned to the parameter type 'String? Function(dynamic)?'. (Documentation)"
Have you tried using annotating field widget explicitly like DropdownButtonFormField<String>?
DropdownButtonFormField<String>
Is your feature request related to a problem? Please describe. Make available to use ValidationBuilder not only for TextFormField, but for other elements like DropdownButtonFormField
Describe the solution you'd like
Right now it's returning error