CustomDialog constructor
const
CustomDialog({
- Key? key,
- ShapeBorder shape = _shape,
- Widget? child,
- double elevation = 24,
- Alignment alignment = Alignment.center,
- EdgeInsets padding = const EdgeInsets.all(16),
- EdgeInsets margin = const EdgeInsets.all(24),
- Duration insetDuration = const Duration(milliseconds: 100),
Implementation
const CustomDialog({
super.key,
this.shape = _shape,
this.child,
this.elevation = 24,
this.alignment = Alignment.center,
this.padding = const EdgeInsets.all(16),
this.margin = const EdgeInsets.all(24),
this.insetDuration = const Duration(milliseconds: 100)
});