Skip to main content

DialogTheme

Customizes the appearance of AlertDialog across the app.

Properties

Properties

actions_paddingclass-attributeinstance-attribute

actions_padding: Optional[PaddingValue] = None

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

alignmentclass-attributeinstance-attribute

alignment: Optional[Alignment] = None

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

barrier_colorclass-attributeinstance-attribute

barrier_color: Optional[ColorValue] = None

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

bgcolorclass-attributeinstance-attribute

bgcolor: Optional[ColorValue] = None

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

clip_behaviorclass-attributeinstance-attribute

clip_behavior: Optional[ClipBehavior] = None

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

content_text_styleclass-attributeinstance-attribute

content_text_style: Optional[TextStyle] = None

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

elevationclass-attributeinstance-attribute

elevation: Optional[Number] = None

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

icon_colorclass-attributeinstance-attribute

icon_color: Optional[ColorValue] = None

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

inset_paddingclass-attributeinstance-attribute

inset_padding: Optional[PaddingValue] = None

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

shadow_colorclass-attributeinstance-attribute

shadow_color: Optional[ColorValue] = None

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

shapeclass-attributeinstance-attribute

shape: Optional[OutlinedBorder] = None

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

title_text_styleclass-attributeinstance-attribute

title_text_style: Optional[TextStyle] = None

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