CustomDialog constructor
const
CustomDialog({
- Key? key,
- Widget? child,
- Duration insetAnimationDuration = const Duration(milliseconds: 100),
- Curve insetAnimationCurve = Curves.decelerate,
- ShapeBorder? shape,
- BoxConstraints constraints = const BoxConstraints(minWidth: 280.0, minHeight: 280.0, maxHeight: 400.0, maxWidth: 400.0),
Creates a dialog.
Typically used in conjunction with showDialog.
Implementation
const CustomDialog({
super.key,
this.child,
this.insetAnimationDuration = const Duration(milliseconds: 100),
this.insetAnimationCurve = Curves.decelerate,
this.shape,
this.constraints = const BoxConstraints(
minWidth: 280.0, minHeight: 280.0, maxHeight: 400.0, maxWidth: 400.0),
});