InfoDialog constructor

InfoDialog({
  1. Widget? child,
  2. String? message,
  3. FutureOr onCancel()?,
  4. String? onCancelText,
  5. Color? onCancelTextColor,
  6. FutureOr onApply()?,
  7. String? onApplyText,
  8. Color? onApplyTextColor,
  9. bool showCancelButton = true,
  10. bool showApplyButton = true,
  11. double borderRadius = 10.0,
  12. Color backgroundColor = Colors.white,
  13. Color actionLineColor = const Color(0xFFF0F2F4),
  14. EdgeInsetsGeometry contentPadding = const EdgeInsets.symmetric(vertical: 25),
})

Implementation

InfoDialog({
  this.child,
  this.message,
  this.onCancel,
  this.onCancelText,
  this.onCancelTextColor,
  this.onApply,
  this.onApplyText,
  this.onApplyTextColor,
  this.showCancelButton = true,
  this.showApplyButton = true,
  this.borderRadius = 10.0,
  this.backgroundColor = Colors.white,
  this.actionLineColor = const Color(0xFFF0F2F4),
  this.contentPadding = const EdgeInsets.symmetric(vertical: 25),
});