File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff 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;
Original file line number Diff line number Diff 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,
You can’t perform that action at this time.
0 commit comments