[flutter roll] Revert "Reland "Add shadowColor and surfaceTintColor to Dialog and Di… (#109170)
This commit is contained in:
@@ -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")};
|
||||
|
||||
Reference in New Issue
Block a user