Skip to content

Commit 68a52dd

Browse files
Jordan Nelsondanvick
authored andcommitted
add support for underline to FormBuilderDropdown (#77)
1 parent 4e7621a commit 68a52dd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/src/fields/form_builder_dropdown.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class FormBuilderDropdown extends StatefulWidget {
1919
final int elevation;
2020
final Widget disabledHint;
2121
final double iconSize;
22+
final Widget underline;
2223

2324
FormBuilderDropdown({
2425
@required this.attribute,
@@ -36,6 +37,7 @@ class FormBuilderDropdown extends StatefulWidget {
3637
this.disabledHint,
3738
this.onChanged,
3839
this.valueTransformer,
40+
this.underline,
3941
});
4042

4143
@override
@@ -97,6 +99,7 @@ class _FormBuilderDropdownState extends State<FormBuilderDropdown> {
9799
disabledHint: widget.disabledHint,
98100
elevation: widget.elevation,
99101
iconSize: widget.iconSize,
102+
underline: widget.underline,
100103
onChanged: _readonly
101104
? null
102105
: (value) {

0 commit comments

Comments
 (0)