Skip to content

Commit 17267e5

Browse files
committed
Added default to timePickerInitialEntryMode to be consistent with showTimePicker API. See https://api.flutter.dev/flutter/material/showTimePicker.html
1 parent be38a25 commit 17267e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/fields/form_builder_date_time_picker.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ class FormBuilderDateTimePicker extends StatefulWidget {
217217
this.helpText,
218218
this.initialEntryMode = DatePickerEntryMode.calendar,
219219
this.currentDate,
220-
this.timePickerInitialEntryMode,
220+
this.timePickerInitialEntryMode = TimePickerEntryMode.dial,
221221
}) : super(key: key);
222222

223223
final StrutStyle strutStyle;

0 commit comments

Comments
 (0)