WarningDialog constructor

const WarningDialog({
  1. Key? key,
  2. required String description,
  3. String? leftButtonText,
  4. bool showRight = true,
  5. dynamic leftPressed()?,
  6. dynamic rightPressed()?,
})

Implementation

const WarningDialog({
  super.key,
  required this.description,
  this.leftButtonText,
  this.showRight = true,
  this.leftPressed,
  this.rightPressed,
});