CommonDialog constructor

const CommonDialog({
  1. Key? key,
  2. Color? backgroundColor,
  3. double? elevation,
  4. Duration insetAnimationDuration = const Duration(milliseconds: 100),
  5. Curve insetAnimationCurve = Curves.decelerate,
  6. EdgeInsets insetPadding = _defaultInsetPadding,
  7. Clip clipBehavior = Clip.none,
  8. ShapeBorder? shape,
  9. Widget? child,
})

Implementation

const CommonDialog({
  Key? key,
  this.backgroundColor,
  this.elevation,
  this.insetAnimationDuration = const Duration(milliseconds: 100),
  this.insetAnimationCurve = Curves.decelerate,
  this.insetPadding = _defaultInsetPadding,
  this.clipBehavior = Clip.none,
  this.shape,
  this.child,
})  : assert(clipBehavior != null),
      super(key: key);