DialogModifier constructor

const DialogModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. Color? backgroundColor,
  5. double? elevation,
  6. Duration insetAnimationDuration = const Duration(milliseconds: 100),
  7. Curve insetAnimationCurve = Curves.decelerate,
  8. EdgeInsets? insetPadding,
  9. Clip clipBehavior = Clip.none,
  10. ShapeBorder? shape,
  11. 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,
});