PaymentDialog constructor

const PaymentDialog({
  1. Key? key,
  2. double? dialogHeight,
  3. double? dialogWidth,
  4. Icon? icon,
  5. Color? iconColor,
  6. double? iconSize,
  7. String? paymentStatus,
  8. TextStyle? paymentStatusStyle,
  9. String? message,
  10. TextStyle? messageStyle,
  11. String? buttonName,
  12. TextStyle? buttonStyle,
  13. Function? onPressButton,
  14. Color? buttonColor,
})

Function on press button

Implementation

const PaymentDialog(
    {Key? key,
    this.dialogHeight,
    this.dialogWidth,
    this.icon,
    this.iconColor,
    this.iconSize,
    this.paymentStatus,
    this.paymentStatusStyle,
    this.message,
    this.messageStyle,
    this.buttonName,
    this.buttonStyle,
    this.onPressButton,
    this.buttonColor})
    : super(key: key);