DoubleButtonsModal constructor
const
DoubleButtonsModal({
- Key? key,
- required VoidCallback onOk,
- String? title,
- VoidCallback? onCancel,
- String? subTitle,
- String? okText,
- String? cancelText,
- Color? okColor,
- Color? cancelColor,
- required bool autoPop,
- bool reverseButtonsOrder = false,
- bool? okActive,
- Widget? extra,
- bool showCancelButton = true,
- TextStyle? titleStyle,
- Widget? titleIcon,
Implementation
const DoubleButtonsModal({
Key? key,
required this.onOk,
this.title,
this.onCancel,
this.subTitle,
this.okText,
this.cancelText,
this.okColor,
this.cancelColor,
required this.autoPop,
this.reverseButtonsOrder = false,
this.okActive,
this.extra,
this.showCancelButton = true,
this.titleStyle,
this.titleIcon,
}) : super(key: key);