ClassicGeneralDialogWidget constructor

const ClassicGeneralDialogWidget({
  1. required String titleText,
  2. required String contentText,
  3. String negativeText = "Cancel",
  4. String positiveText = "OK",
  5. TextStyle? negativeTextStyle,
  6. TextStyle? positiveTextStyle,
  7. required VoidCallback onNegativeClick,
  8. required VoidCallback onPositiveClick,
  9. List<Widget>? actions,
  10. Key? key,
})

Implementation

const ClassicGeneralDialogWidget({
  required this.titleText,
  required this.contentText,
  this.negativeText = "Cancel",
  this.positiveText = "OK",
  this.negativeTextStyle,
  this.positiveTextStyle,
  required this.onNegativeClick,
  required this.onPositiveClick,
  this.actions,
  Key? key,
}) : super(key: key);