Skip to content

Commit 0082f2a

Browse files
style: fix lint warnings
1 parent 81af3c3 commit 0082f2a

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

lib/src/fields/form_builder_date_time_picker.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,6 @@ class _FormBuilderDateTimePickerState extends FormBuilderFieldDecorationState<
284284
case InputType.date:
285285
return DateFormat.yMd(languageCode);
286286
case InputType.both:
287-
default:
288287
return DateFormat.yMd(languageCode).add_Hms();
289288
}
290289
}
@@ -309,8 +308,6 @@ class _FormBuilderDateTimePickerState extends FormBuilderFieldDecorationState<
309308
newValue = combine(date, time);
310309
}
311310
break;
312-
default:
313-
throw 'Unexpected input type ${widget.inputType}';
314311
}
315312
if (!mounted) return null;
316313
final finalValue = newValue ?? currentValue;

lib/src/widgets/grouped_radio.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ class _GroupedRadioState<T> extends State<GroupedRadio<T?>> {
237237
child: Row(children: widgetList),
238238
);
239239
case OptionsOrientation.wrap:
240-
default:
241240
return SingleChildScrollView(
242241
child: Wrap(
243242
spacing: widget.wrapSpacing,

0 commit comments

Comments
 (0)