flutter_stripe icon indicating copy to clipboard operation
flutter_stripe copied to clipboard

Apple pay button color not change

Open PauloMendees opened this issue 1 year ago • 0 comments

Description Even when I call the PlatformPayButton with appearance: PlatformButtonStyle.white the button remains in black version.

To Reproduce Steps to reproduce the behavior:

  1. Render the Apple Pay button with the following code:
PlatformPayButton(
                appearance: PlatformButtonStyle.white,
                onPressed: widget.isDisabled ? () {} : handleApplePayPress,
                type: PlatformButtonType.buy,
                borderRadius: 8,
              )
  1. Run the code in simulator or your preferred device.
  2. Visualize the button, it will be black, not white.

Expected behavior The button should be white.

Smartphone / tablet

  • Any IOS

PauloMendees avatar Feb 02 '24 13:02 PauloMendees