DialogModifier constructor
const
DialogModifier({
- Key? key,
- Widget? child,
- Key? modifierKey,
- Color? backgroundColor,
- double? elevation,
- Duration insetAnimationDuration = const Duration(milliseconds: 100),
- Curve insetAnimationCurve = Curves.decelerate,
- EdgeInsets? insetPadding,
- Clip clipBehavior = Clip.none,
- ShapeBorder? shape,
- AlignmentGeometry? alignment,
Creates a dialog.
Typically used in conjunction with showDialog.
Implementation
const DialogModifier({
super.key,
super.child,
super.modifierKey,
this.backgroundColor,
this.elevation,
this.insetAnimationDuration = const Duration(milliseconds: 100),
this.insetAnimationCurve = Curves.decelerate,
this.insetPadding,
this.clipBehavior = Clip.none,
this.shape,
this.alignment,
});