CommerceWebViewPage constructor

const CommerceWebViewPage({
  1. Key? key,
  2. required CommercePayload payload,
  3. String environmentMode = 'production',
  4. bool showCloseButton = false,
  5. Widget? closeButton,
  6. CommerceDefaultCallback? onDone,
  7. CommerceDefaultCallback? onError,
  8. CommerceDefaultCallback? onCancel,
  9. CommerceDefaultCallback? onIssued,
  10. CommerceCloseCallback? onClose,
})

Implementation

const CommerceWebViewPage({
  Key? key,
  required this.payload,
  this.environmentMode = 'production',
  this.showCloseButton = false,
  this.closeButton,
  this.onDone,
  this.onError,
  this.onCancel,
  this.onIssued,
  this.onClose,
}) : super(key: key);