Skip to main content

DialogTheme

Customizes the appearance of descendant AlertDialog controls.

Properties

Properties​

actions_paddingclass-attributeinstance-attribute​

actions_padding: PaddingValue | None = None

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

alignmentclass-attributeinstance-attribute​

alignment: Alignment | None = None

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

barrier_colorclass-attributeinstance-attribute​

barrier_color: ColorValue | None = None

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

bgcolorclass-attributeinstance-attribute​

bgcolor: ColorValue | None = None

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

clip_behaviorclass-attributeinstance-attribute​

clip_behavior: ClipBehavior | None = None

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

content_text_styleclass-attributeinstance-attribute​

content_text_style: TextStyle | None = None

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

elevationclass-attributeinstance-attribute​

elevation: Number | None = None

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

icon_colorclass-attributeinstance-attribute​

icon_color: ColorValue | None = None

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

inset_paddingclass-attributeinstance-attribute​

inset_padding: PaddingValue | None = None

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

shadow_colorclass-attributeinstance-attribute​

shadow_color: ColorValue | None = None

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

shapeclass-attributeinstance-attribute​

shape: OutlinedBorder | None = None

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

title_text_styleclass-attributeinstance-attribute​

title_text_style: TextStyle | None = None

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