DialogTheme
Customizes the appearance of AlertDialog across the app.
Properties
actions_padding- Overrides the default value of flet.AlertDialog.actions_padding in all descendant AlertDialog controls.alignment- Overrides the default value of flet.AlertDialog.alignment in all descendant AlertDialog controls.barrier_color- Overrides the default value of flet.AlertDialog.barrier_color in all descendant AlertDialog controls.bgcolor- Overrides the default value of flet.AlertDialog.bgcolor in all descendant AlertDialog controls.clip_behavior- Overrides the default value of flet.AlertDialog.clip_behavior in all descendant AlertDialog controls.content_text_style- Overrides the default value of flet.AlertDialog.content_text_style in all descendant AlertDialog controls.elevation- Overrides the default value of flet.AlertDialog.elevation in all descendant dialog controls.icon_color- Used to configure the IconTheme for the flet.AlertDialog.icon control.inset_padding- Overrides the default value of flet.AlertDialog.inset_padding in all descendant AlertDialog controls.shadow_color- Overrides the default value of flet.AlertDialog.shadow_color in all descendant AlertDialog controls.shape- Overrides the default value of flet.AlertDialog.shape in all descendant AlertDialog controls.title_text_style- Overrides the default value of flet.AlertDialog.title_text_style in all descendant AlertDialog controls.
Properties
actions_paddingclass-attributeinstance-attribute
actions_padding: Optional[PaddingValue] = NoneOverrides the default value of flet.AlertDialog.actions_padding in all descendant AlertDialog controls.
alignmentclass-attributeinstance-attribute
alignment: Optional[Alignment] = NoneOverrides the default value of flet.AlertDialog.alignment in all descendant AlertDialog controls.
barrier_colorclass-attributeinstance-attribute
barrier_color: Optional[ColorValue] = NoneOverrides the default value of flet.AlertDialog.barrier_color in all descendant AlertDialog controls.
bgcolorclass-attributeinstance-attribute
bgcolor: Optional[ColorValue] = NoneOverrides the default value of flet.AlertDialog.bgcolor in all descendant AlertDialog controls.
clip_behaviorclass-attributeinstance-attribute
clip_behavior: Optional[ClipBehavior] = NoneOverrides the default value of flet.AlertDialog.clip_behavior in all descendant AlertDialog controls.
content_text_styleclass-attributeinstance-attribute
content_text_style: Optional[TextStyle] = NoneOverrides the default value of flet.AlertDialog.content_text_style in all descendant AlertDialog controls.
elevationclass-attributeinstance-attribute
elevation: Optional[Number] = NoneOverrides the default value of flet.AlertDialog.elevation in all descendant dialog controls.
icon_colorclass-attributeinstance-attribute
icon_color: Optional[ColorValue] = NoneUsed to configure the IconTheme for the flet.AlertDialog.icon control.
inset_paddingclass-attributeinstance-attribute
inset_padding: Optional[PaddingValue] = NoneOverrides the default value of flet.AlertDialog.inset_padding in all descendant AlertDialog controls.
shadow_colorclass-attributeinstance-attribute
shadow_color: Optional[ColorValue] = NoneOverrides the default value of flet.AlertDialog.shadow_color in all descendant AlertDialog controls.
shapeclass-attributeinstance-attribute
shape: Optional[OutlinedBorder] = NoneOverrides the default value of flet.AlertDialog.shape in all descendant AlertDialog controls.
title_text_styleclass-attributeinstance-attribute
title_text_style: Optional[TextStyle] = NoneOverrides the default value of flet.AlertDialog.title_text_style in all descendant AlertDialog controls.