DialogTheme constructor Null safety

const DialogTheme(
  1. {Color? backgroundColor,
  2. double? elevation,
  3. ShapeBorder? shape,
  4. AlignmentGeometry? alignment,
  5. Color? iconColor,
  6. TextStyle? titleTextStyle,
  7. TextStyle? contentTextStyle,
  8. EdgeInsetsGeometry? actionsPadding}
)

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

Implementation

const DialogTheme({
  this.backgroundColor,
  this.elevation,
  this.shape,
  this.alignment,
  this.iconColor,
  this.titleTextStyle,
  this.contentTextStyle,
  this.actionsPadding,
});