AboutToClose constructor

AboutToClose({
  1. required Widget child,
  2. required String dialogTitle,
  3. String noOption = 'No',
  4. String yesOption = 'Yes',
  5. TextStyle? noOptionTextStyle,
  6. TextStyle? yesOptionTextStyle,
  7. bool withAnimation = false,
  8. int animationDurationInMs = 100,
  9. DialogType dialogType = DialogType.cupertino,
})

Implementation

AboutToClose({
  required this.child,
  required this.dialogTitle,
  this.noOption = 'No',
  this.yesOption = 'Yes',
  this.noOptionTextStyle,
  this.yesOptionTextStyle,
  this.withAnimation = false,
  this.animationDurationInMs = 100,
  this.dialogType = DialogType.cupertino,
});