DialogTheme constructor

const DialogTheme({
  1. Color? backgroundColor,
  2. double? elevation,
  3. Color? shadowColor,
  4. Color? surfaceTintColor,
  5. ShapeBorder? shape,
  6. AlignmentGeometry? alignment,
  7. Color? iconColor,
  8. TextStyle? titleTextStyle,
  9. TextStyle? contentTextStyle,
  10. EdgeInsetsGeometry? actionsPadding,
  11. Color? barrierColor,
  12. EdgeInsets? insetPadding,
  13. Clip? clipBehavior,
})

Creates a dialog theme that can be used for ThemeData.dialogTheme.

Implementation

const DialogTheme({
  this.backgroundColor,
  this.elevation,
  this.shadowColor,
  this.surfaceTintColor,
  this.shape,
  this.alignment,
  this.iconColor,
  this.titleTextStyle,
  this.contentTextStyle,
  this.actionsPadding,
  this.barrierColor,
  this.insetPadding,
  this.clipBehavior,
});