diff --git a/lib/src/fields/form_builder_date_time_picker.dart b/lib/src/fields/form_builder_date_time_picker.dart index 7517c22e5..46c3ba422 100644 --- a/lib/src/fields/form_builder_date_time_picker.dart +++ b/lib/src/fields/form_builder_date_time_picker.dart @@ -307,7 +307,7 @@ class _FormBuilderDateTimePickerState extends FormBuilderFieldDecorationState< if (date != null) { if (!mounted) break; final time = await _showTimePicker(currentValue); - if(time == null) { + if (time == null) { newValue = null; } else { newValue = combine(date, time);