AlertDialog constructor

const AlertDialog({
  1. Key? key,
  2. required String title,
  3. Widget? trailing,
  4. List<Widget>? actions,
  5. Widget? child,
  6. EdgeInsets? padding,
  7. bool hasFields = false,
  8. bool destructive = false,
})

Implementation

const AlertDialog({
  super.key,
  required this.title,
  this.trailing,
  this.actions,
  this.child,
  this.padding,
  this.hasFields = false,
  this.destructive = false,
});