WebPlatformPayButton constructor

const WebPlatformPayButton({
  1. Key? key,
  2. PlatformPayWebPaymentRequestCreateOptions paymentRequestCreateOptions = PlatformPayWebPaymentRequestCreateOptions.defaultOptions,
  3. BoxConstraints? constraints,
  4. PlatformButtonType? type,
  5. PlatformButtonStyle? style,
  6. required VoidCallback onPressed,
})

Implementation

const WebPlatformPayButton(
    {super.key,
    this.paymentRequestCreateOptions =
        PlatformPayWebPaymentRequestCreateOptions.defaultOptions,
    this.constraints,
    this.type,
    this.style,
    required ui.VoidCallback this.onPressed});