Skip to content

Commit eb97011

Browse files
authored
Merge pull request #236 from AlexHartford/master
Fix warning during initialization
2 parents dc1348e + 654aca4 commit eb97011

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/flutter_datetime_picker.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ class _DatePickerState extends State<_DatePickerComponent> {
308308
),
309309
child: GestureDetector(
310310
child: Material(
311-
color: theme.backgroundColor ?? Colors.white,
311+
color: theme.backgroundColor,
312312
child: _renderPickerView(theme),
313313
),
314314
),

0 commit comments

Comments
 (0)