Dialog constructor

const Dialog({
  1. Key? key,
  2. String? title,
  3. String? subtitle,
  4. Widget? content,
  5. List<Widget>? actions,
  6. IconData? icon,
  7. Color? iconColor,
  8. Gradient? gradient,
  9. bool showHeader = true,
  10. EdgeInsets padding = const EdgeInsets.all(24),
  11. TextStyle? titleStyle,
})

Implementation

const Dialog({
  super.key,
  this.title,
  this.subtitle,
  this.content,
  this.actions,
  this.icon,
  this.iconColor,
  this.gradient,
  this.showHeader = true,
  this.padding = const EdgeInsets.all(24),
  this.titleStyle,
});