Skip to content

Commit 22da58d

Browse files
committed
Fixes InputDecoration filled property
Sets `filled` property of `InputDecoration` to `false` to resolve rendering issues.
1 parent 67beae1 commit 22da58d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/src/form_builder_phone_field.dart

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -243,12 +243,12 @@ class FormBuilderPhoneField extends FormBuilderFieldDecoration<String> {
243243
style: style,
244244
focusNode: state.effectiveFocusNode,
245245
decoration: InputDecoration(
246-
border: InputBorder.none,
247-
enabledBorder: InputBorder.none,
248-
errorBorder: InputBorder.none,
249-
hintText: decoration.hintText,
250-
hintStyle: decoration.hintStyle,
251-
),
246+
border: InputBorder.none,
247+
enabledBorder: InputBorder.none,
248+
errorBorder: InputBorder.none,
249+
hintText: decoration.hintText,
250+
hintStyle: decoration.hintStyle,
251+
filled: false),
252252
onChanged: (value) {
253253
// Use setValue instead didChange to avoid parseNumber
254254
state.setValue(value);

0 commit comments

Comments
 (0)