ApplePayButton constructor

const ApplePayButton({
  1. Key? key,
  2. required String sessionId,
  3. void onResult(
    1. Map<String, dynamic> result
    )?,
  4. void onSuccess(
    1. Map<String, dynamic> result
    )?,
  5. void onFailure(
    1. Map<String, dynamic> result
    )?,
  6. void onError(
    1. Map<String, dynamic> result
    )?,
  7. double? width,
  8. double? height,
  9. double cornerRadius = 4.0,
})

Implementation

const ApplePayButton({
  super.key,
  required this.sessionId,
  this.onResult,
  this.onSuccess,
  this.onFailure,
  this.onError,
  this.width,
  this.height,
  this.cornerRadius = 4.0,
});