Unverified Commit cd547c70 authored by Darren Austin's avatar Darren Austin Committed by GitHub

Minor cleanup of some no longer needed code. (#59111)

parent 9c660c1b
......@@ -12,7 +12,6 @@ import '../button_theme.dart';
import '../color_scheme.dart';
import '../debug.dart';
import '../dialog.dart';
import '../dialog_theme.dart';
import '../flat_button.dart';
import '../icons.dart';
import '../material_localizations.dart';
......@@ -456,7 +455,6 @@ class _DatePickerDialogState extends State<_DatePickerDialog> {
);
final Size dialogSize = _dialogSize(context) * textScaleFactor;
final DialogTheme dialogTheme = Theme.of(context).dialogTheme;
return Dialog(
child: AnimatedContainer(
width: dialogSize.width,
......@@ -503,7 +501,6 @@ class _DatePickerDialogState extends State<_DatePickerDialog> {
),
),
insetPadding: const EdgeInsets.symmetric(horizontal: 16.0, vertical: 24.0),
shape: dialogTheme.shape,
clipBehavior: Clip.antiAlias,
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment