EzYesNo constructor

const EzYesNo({
  1. required void onConfirm(),
  2. required void onDeny(),
  3. Axis axis = Axis.vertical,
  4. double? spacer,
  5. String confirmMsg = 'Yes',
  6. String denyMsg = 'No',
  7. Icon? confirmIcon,
  8. Icon? denyIcon,
})

Implementation

const EzYesNo({
  required this.onConfirm,
  required this.onDeny,
  this.axis = Axis.vertical,
  this.spacer,
  this.confirmMsg = 'Yes',
  this.denyMsg = 'No',
  this.confirmIcon,
  this.denyIcon,
});