DialogTheme
Customizes the appearance of AlertDialog
across the app.
Properties
-
actions_padding
(PaddingValue | None
) –Overrides the default value of
-
alignment
(Alignment | None
) –Overrides the default value of
AlertDialog.alignment
-
barrier_color
(ColorValue | None
) –Overrides the default value of
-
bgcolor
(ColorValue | None
) –Overrides the default value of
AlertDialog.bgcolor
in -
clip_behavior
(ClipBehavior | None
) –Overrides the default value of
-
content_text_style
(TextStyle | None
) –Overrides the default value of
-
elevation
(Number | None
) –Overrides the default value of
-
icon_color
(ColorValue | None
) –Used to configure the
IconTheme
for the -
inset_padding
(PaddingValue | None
) –Overrides the default value of
-
shadow_color
(ColorValue | None
) –Overrides the default value of
-
shape
(OutlinedBorder | None
) –Overrides the default value of
AlertDialog.shape
in all -
title_text_style
(TextStyle | None
) –Overrides the default value of
Properties#
actions_padding
#
actions_padding: PaddingValue | None = None
Overrides the default value of
AlertDialog.actions_padding
in all descendant
AlertDialog
controls.
alignment
#
alignment: Alignment | None = None
Overrides the default value of AlertDialog.alignment
in all descendant AlertDialog
controls.
barrier_color
#
barrier_color: ColorValue | None = None
Overrides the default value of
AlertDialog.barrier_color
in all descendant
AlertDialog
controls.
bgcolor
#
bgcolor: ColorValue | None = None
Overrides the default value of AlertDialog.bgcolor
in
all descendant AlertDialog
controls.
clip_behavior
#
clip_behavior: ClipBehavior | None = None
Overrides the default value of
AlertDialog.clip_behavior
in all descendant
AlertDialog
controls.
content_text_style
#
content_text_style: TextStyle | None = None
Overrides the default value of
AlertDialog.content_text_style
in all
descendant AlertDialog
controls.
elevation
#
elevation: Number | None = None
Overrides the default value of
AlertDialog.elevation
in all descendant dialog
controls.
icon_color
#
icon_color: ColorValue | None = None
Used to configure the IconTheme
for the
AlertDialog.icon
control.
inset_padding
#
inset_padding: PaddingValue | None = None
Overrides the default value of
AlertDialog.inset_padding
in all descendant
AlertDialog
controls.
shadow_color
#
shadow_color: ColorValue | None = None
Overrides the default value of
AlertDialog.shadow_color
in all descendant
AlertDialog
controls.
shape
#
shape: OutlinedBorder | None = None
Overrides the default value of AlertDialog.shape
in all
descendant AlertDialog
controls.
title_text_style
#
title_text_style: TextStyle | None = None
Overrides the default value of
AlertDialog.title_text_style
in all
descendant AlertDialog
controls.