DialogTheme
Customizes the appearance of AlertDialog across the app.
Properties
-
actions_padding(PaddingValue | None) –Overrides the default value of
AlertDialog.actions_paddingin all descendantAlertDialogcontrols. -
alignment(Alignment | None) –Overrides the default value of
AlertDialog.alignmentin all descendantAlertDialogcontrols. -
barrier_color(ColorValue | None) –Overrides the default value of
AlertDialog.barrier_colorin all descendantAlertDialogcontrols. -
bgcolor(ColorValue | None) –Overrides the default value of
AlertDialog.bgcolorin all descendantAlertDialogcontrols. -
clip_behavior(ClipBehavior | None) –Overrides the default value of
AlertDialog.clip_behaviorin all descendantAlertDialogcontrols. -
content_text_style(TextStyle | None) –Overrides the default value of
AlertDialog.content_text_stylein all descendantAlertDialogcontrols. -
elevation(Number | None) –Overrides the default value of
AlertDialog.elevationin all descendant dialog controls. -
icon_color(ColorValue | None) –Used to configure the
IconThemefor theAlertDialog.iconcontrol. -
inset_padding(PaddingValue | None) –Overrides the default value of
AlertDialog.inset_paddingin all descendantAlertDialogcontrols. -
shadow_color(ColorValue | None) –Overrides the default value of
AlertDialog.shadow_colorin all descendantAlertDialogcontrols. -
shape(OutlinedBorder | None) –Overrides the default value of
AlertDialog.shapein all descendantAlertDialogcontrols. -
title_text_style(TextStyle | None) –Overrides the default value of
AlertDialog.title_text_stylein all descendantAlertDialogcontrols.
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.