mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Minor cleanup of some no longer needed code. (#59111)
This commit is contained in:
parent
9c660c1b1e
commit
cd547c70b2
@ -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,
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user