ConfirmAction constructor

const ConfirmAction({
  1. String title = '',
  2. String message = '',
  3. String caption = '',
  4. String confirmLabel = 'OK',
  5. String cancelLabel = 'Cancel',
  6. bool destructive = false,
  7. List<ActionDef> actions = const [],
  8. List<ActionDef> cancelActions = const [],
  9. String dialog = '',
  10. Json params = const {},
  11. ModalPresentation presentation = ModalPresentation.dialog,
  12. PopoverPlacement placement = PopoverPlacement.belowStart,
  13. bool barrierDismissible = true,
  14. Json style = const {},
  15. Map<String, String> variables = const {},
  16. bool enabled = true,
  17. bool nonBlocking = false,
  18. Predicate? when,
})

Implementation

const ConfirmAction({
  this.title = '',
  this.message = '',
  this.caption = '',
  this.confirmLabel = 'OK',
  this.cancelLabel = 'Cancel',
  this.destructive = false,
  this.actions = const [],
  this.cancelActions = const [],
  this.dialog = '',
  this.params = const {},
  this.presentation = ModalPresentation.dialog,
  this.placement = PopoverPlacement.belowStart,
  this.barrierDismissible = true,
  this.style = const {},
  this.variables = const {},
  super.enabled,
  super.nonBlocking,
  super.when,
});