CommonDialog constructor
const
CommonDialog({
- Key? key,
- Color? backgroundColor,
- double? elevation,
- Duration insetAnimationDuration = const Duration(milliseconds: 100),
- Curve insetAnimationCurve = Curves.decelerate,
- EdgeInsets insetPadding = _defaultInsetPadding,
- Clip clipBehavior = Clip.none,
- ShapeBorder? shape,
- 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);