PayUnitButton constructor

const PayUnitButton({
  1. required dynamic actionAfterProccess(
    1. String transactionId,
    2. String transactionStatus
    ),
  2. required String productName,
  3. required Color color,
  4. required String transactionId,
  5. required Color buttonTextColor,
  6. required String transactionAmount,
  7. required String transactionCallBackUrl,
  8. required String apiUser,
  9. required String apiPassword,
  10. required String apiKey,
  11. required String mode,
  12. required String notiFyUrl,
  13. required String currency,
  14. double width = double.infinity,
  15. bool isFixedHeight = true,
  16. bool isTerminalPayment = false,
  17. bool hasConnexion = true,
})

Implementation

const PayUnitButton({
  required this.actionAfterProccess,
  required this.productName,
  required this.color,
  required this.transactionId,
  required this.buttonTextColor,
  required this.transactionAmount,
  required this.transactionCallBackUrl,
  required this.apiUser,
  required this.apiPassword,
  required this.apiKey,
  required this.mode,
  required this.notiFyUrl,
  required this.currency,
  this.width = double.infinity,
  this.isFixedHeight = true,
  this.isTerminalPayment = false,
  this.hasConnexion = true,
});