CustomDialog constructor

const CustomDialog({
  1. Key? key,
  2. ShapeBorder shape = _shape,
  3. Widget? child,
  4. double elevation = 24,
  5. Alignment alignment = Alignment.center,
  6. EdgeInsets padding = const EdgeInsets.all(16),
  7. EdgeInsets margin = const EdgeInsets.all(24),
  8. 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)
});