[flutter roll] Revert "Reland "Add shadowColor and surfaceTintColor to Dialog and Di… (#109170)

This commit is contained in:
Xilai Zhang
2022-08-08 11:57:09 -07:00
committed by GitHub
parent 68164ad5cf
commit 72cd152f46
5 changed files with 12 additions and 120 deletions

View File

@@ -27,11 +27,9 @@ class _${blockName}DefaultsM3 extends DialogTheme {
@override
Color? get iconColor => _colors.secondary;
// TODO(darrenaustin): overlay should be handled by Material widget: https://github.com/flutter/flutter/issues/9160
@override
Color? get backgroundColor => ${componentColor("md.comp.dialog.container")};
@override
Color? get surfaceTintColor => ${componentColor("md.comp.dialog.container.surface-tint-layer")};
Color? get backgroundColor => ElevationOverlay.colorWithOverlay(${componentColor("md.comp.dialog.container")}, _colors.primary, ${elevation("md.comp.dialog.container")});
@override
TextStyle? get titleTextStyle => ${textStyle("md.comp.dialog.headline")};