SimpleDialog constructor
- Key? key,
- Widget? title,
- EdgeInsetsGeometry titlePadding = const EdgeInsets.fromLTRB(24.0, 24.0, 24.0, 0.0),
- TextStyle? titleTextStyle,
- List<
Widget> ? children, - EdgeInsetsGeometry contentPadding = const EdgeInsets.fromLTRB(0.0, 12.0, 0.0, 16.0),
- Color? backgroundColor,
- double? elevation,
- Color? shadowColor,
- Color? surfaceTintColor,
- String? semanticLabel,
- EdgeInsets? insetPadding,
- Clip? clipBehavior,
- ShapeBorder? shape,
- 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,
});