ConfirmAction constructor
const
ConfirmAction({
- String title = '',
- String message = '',
- String caption = '',
- String confirmLabel = 'OK',
- String cancelLabel = 'Cancel',
- bool destructive = false,
- List<
ActionDef> actions = const [], - List<
ActionDef> cancelActions = const [], - String dialog = '',
- Json params = const {},
- ModalPresentation presentation = ModalPresentation.dialog,
- PopoverPlacement placement = PopoverPlacement.belowStart,
- bool barrierDismissible = true,
- Json style = const {},
- Map<
String, String> variables = const {}, - bool enabled = true,
- bool nonBlocking = false,
- 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,
});