Skip to content

Commit 502f7f5

Browse files
deandreamatiasgeronimol
authored andcommitted
style: fix lint warnings
1 parent 83f083a commit 502f7f5

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
}
@@ -313,8 +312,6 @@ class _FormBuilderDateTimePickerState extends FormBuilderFieldDecorationState<
313312
}
314313
}
315314
break;
316-
default:
317-
throw 'Unexpected input type ${widget.inputType}';
318315
}
319316
if (!mounted) return null;
320317
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)