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.bgcolorin
- 
          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 IconThemefor 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.shapein all
- 
          title_text_style(TextStyle | None) –Overrides the default value of 
Properties#
class-attribute
      instance-attribute
  
#
actions_padding: PaddingValue | None = None
Overrides the default value of
AlertDialog.actions_padding in all descendant
AlertDialog controls.
class-attribute
      instance-attribute
  
#
alignment: Alignment | None = None
Overrides the default value of AlertDialog.alignment
in all descendant AlertDialog controls.
class-attribute
      instance-attribute
  
#
barrier_color: ColorValue | None = None
Overrides the default value of
AlertDialog.barrier_color in all descendant
AlertDialog controls.
class-attribute
      instance-attribute
  
#
bgcolor: ColorValue | None = None
Overrides the default value of AlertDialog.bgcolor in
all descendant AlertDialog controls.
class-attribute
      instance-attribute
  
#
clip_behavior: ClipBehavior | None = None
Overrides the default value of
AlertDialog.clip_behavior in all descendant
AlertDialog controls.
class-attribute
      instance-attribute
  
#
content_text_style: TextStyle | None = None
Overrides the default value of
AlertDialog.content_text_style in all
descendant AlertDialog controls.
class-attribute
      instance-attribute
  
#
elevation: Number | None = None
Overrides the default value of
AlertDialog.elevation in all descendant dialog
controls.
class-attribute
      instance-attribute
  
#
icon_color: ColorValue | None = None
Used to configure the IconTheme for the
AlertDialog.icon control.
class-attribute
      instance-attribute
  
#
inset_padding: PaddingValue | None = None
Overrides the default value of
AlertDialog.inset_padding in all descendant
AlertDialog controls.
class-attribute
      instance-attribute
  
#
shadow_color: ColorValue | None = None
Overrides the default value of
AlertDialog.shadow_color in all descendant
AlertDialog controls.
class-attribute
      instance-attribute
  
#
shape: OutlinedBorder | None = None
Overrides the default value of AlertDialog.shape in all
descendant AlertDialog controls.
class-attribute
      instance-attribute
  
#
title_text_style: TextStyle | None = None
Overrides the default value of
AlertDialog.title_text_style in all
descendant AlertDialog controls.