DialogAction constructor
const
DialogAction({
- Key? key,
- required String title,
- required String message,
- required VoidCallback onPressedOk,
- required VoidCallback onPressCancel,
- String okText = 'Ok',
- String cancelText = 'Close',
- Color color = Colors.blue,
Implementation
const DialogAction({
super.key,
required this.title,
required this.message,
required this.onPressedOk,
required this.onPressCancel,
this.okText = 'Ok',
this.cancelText = 'Close',
this.color = Colors.blue,
});