Skip to content

DialogTheme

Customizes the appearance of AlertDialog across the app.

Properties

Properties#

actions_padding class-attribute instance-attribute #

actions_padding: PaddingValue | None = None

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

alignment class-attribute instance-attribute #

alignment: Alignment | None = None

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

barrier_color class-attribute instance-attribute #

barrier_color: ColorValue | None = None

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

bgcolor class-attribute instance-attribute #

bgcolor: ColorValue | None = None

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

clip_behavior class-attribute instance-attribute #

clip_behavior: ClipBehavior | None = None

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

content_text_style class-attribute instance-attribute #

content_text_style: TextStyle | None = None

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

elevation class-attribute instance-attribute #

elevation: Number | None = None

Overrides the default value of AlertDialog.elevation in all descendant dialog controls.

icon_color class-attribute instance-attribute #

icon_color: ColorValue | None = None

Used to configure the IconTheme for the AlertDialog.icon control.

inset_padding class-attribute instance-attribute #

inset_padding: PaddingValue | None = None

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

shadow_color class-attribute instance-attribute #

shadow_color: ColorValue | None = None

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

shape class-attribute instance-attribute #

shape: OutlinedBorder | None = None

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

title_text_style class-attribute instance-attribute #

title_text_style: TextStyle | None = None

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