DoubleButtonsModal constructor

const DoubleButtonsModal({
  1. Key? key,
  2. required VoidCallback onOk,
  3. String? title,
  4. VoidCallback? onCancel,
  5. String? subTitle,
  6. String? okText,
  7. String? cancelText,
  8. Color? okColor,
  9. Color? cancelColor,
  10. required bool autoPop,
  11. bool reverseButtonsOrder = false,
  12. bool? okActive,
  13. Widget? extra,
  14. bool showCancelButton = true,
  15. TextStyle? titleStyle,
  16. 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);