Skip to content

Commit dde5efd

Browse files
add hint to FormBuilderDropdown
1 parent 4d27723 commit dde5efd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/src/fields/form_builder_dropdown.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ class FormBuilderDropdown<T> extends FormBuilderFieldDecoration<T> {
253253
this.enableFeedback,
254254
this.borderRadius,
255255
this.alignment = AlignmentDirectional.centerStart,
256+
Widget? hint,
256257
}) : super(
257258
builder: (FormFieldState<T?> field) {
258259
final state = field as _FormBuilderDropdownState<T>;
@@ -289,6 +290,7 @@ class FormBuilderDropdown<T> extends FormBuilderFieldDecoration<T> {
289290
borderRadius: borderRadius,
290291
enableFeedback: enableFeedback,
291292
alignment: alignment,
293+
hint: hint,
292294
);
293295
},
294296
);

0 commit comments

Comments
 (0)