CommonAlertDialog constructor

const CommonAlertDialog(
  1. String titleString, {
  2. Key? key,
  3. Icon? icon,
  4. Function? onPressed,
  5. Widget? content,
  6. TextStyle? textStyle,
  7. ShapeBorder? shape,
  8. double? elevation,
  9. bool error = false,
  10. bool? showOkButton,
})

Implementation

const CommonAlertDialog(
  this.titleString, {
  Key? key,
  this.icon,
  this.onPressed,
  this.content,
  this.textStyle,
  this.shape,
  this.elevation,
  this.error = false,
  this.showOkButton,
}) : super(key: key);