Skip to main content

DialogTheme

Customizes the appearance of AlertDialog across the app.

DialogTheme class has the following properties:

actions_padding

Overrides the default value of Dialog.actions_padding in all descendant Dialog controls.

alignment

Overrides the default value of Dialog.alignment in all descendant Dialog controls.

barrier_color

Overrides the default value of Dialog.barrier_color in all descendant Dialog controls.

bgcolor

Overrides the default value of Dialog.bgcolor in all descendant Dialog controls.

content_text_style

Overrides the default value of Dialog.content_text_style in all descendant Dialog controls.

clip_behavior

Overrides the default value of Dialog.clip_behavior in all descendant Dialog controls.

elevation

Overrides the default value of Dialog.elevation in all descendant Dialog controls.

icon_color

Overrides the default value of Dialog.icon_color in all descendant Dialog controls.

inset_padding

Overrides the default value of Dialog.inset_padding in all descendant Dialog controls.

shadow_color

Overrides the default value of Dialog.shadow_color in all descendant Dialog controls.

shape

Overrides the default value of Dialog.shape in all descendant Dialog controls.

surface_tint_color

Overrides the default value of Dialog.surface_tint_color in all descendant Dialog controls.

title_text_style

Overrides the default value of Dialog.title_text_style in all descendant Dialog controls.