buildPaymentRequestButton method

  1. @override
Widget buildPaymentRequestButton({
  1. Key? key,
  2. required VoidCallback onPressed,
  3. required PlatformPayWebPaymentRequestCreateOptions paymentRequestCreateOptions,
  4. BoxConstraints? constraints,
  5. PlatformButtonType? type,
  6. PlatformButtonStyle? style,
})
override

Implementation

@override
Widget buildPaymentRequestButton({
  Key? key,
  required ui.VoidCallback onPressed,
  required PlatformPayWebPaymentRequestCreateOptions
      paymentRequestCreateOptions,
  BoxConstraints? constraints,
  PlatformButtonType? type,
  PlatformButtonStyle? style,
}) {
  return WebPlatformPayButton(
    onPressed: onPressed,
    paymentRequestCreateOptions: paymentRequestCreateOptions,
    constraints: constraints,
    type: type,
    style: style,
  );
}