SimpleDialog constructor

const SimpleDialog({
  1. Key? key,
  2. Widget? title,
  3. EdgeInsetsGeometry titlePadding = const EdgeInsets.fromLTRB(24.0, 24.0, 24.0, 0.0),
  4. TextStyle? titleTextStyle,
  5. List<Widget>? children,
  6. EdgeInsetsGeometry contentPadding = const EdgeInsets.fromLTRB(0.0, 12.0, 0.0, 16.0),
  7. Color? backgroundColor,
  8. double? elevation,
  9. Color? shadowColor,
  10. Color? surfaceTintColor,
  11. String? semanticLabel,
  12. EdgeInsets? insetPadding,
  13. Clip? clipBehavior,
  14. ShapeBorder? shape,
  15. AlignmentGeometry? alignment,
})

Creates a simple dialog.

Typically used in conjunction with showDialog.

Implementation

const SimpleDialog({
  super.key,
  this.title,
  this.titlePadding = const EdgeInsets.fromLTRB(24.0, 24.0, 24.0, 0.0),
  this.titleTextStyle,
  this.children,
  this.contentPadding = const EdgeInsets.fromLTRB(0.0, 12.0, 0.0, 16.0),
  this.backgroundColor,
  this.elevation,
  this.shadowColor,
  this.surfaceTintColor,
  this.semanticLabel,
  this.insetPadding,
  this.clipBehavior,
  this.shape,
  this.alignment,
});