flutter_stripe
flutter_stripe copied to clipboard
Apple pay button color not change
Description
Even when I call the PlatformPayButton with
appearance: PlatformButtonStyle.white
the button remains in black version.
To Reproduce Steps to reproduce the behavior:
- Render the Apple Pay button with the following code:
PlatformPayButton(
appearance: PlatformButtonStyle.white,
onPressed: widget.isDisabled ? () {} : handleApplePayPress,
type: PlatformButtonType.buy,
borderRadius: 8,
)
- Run the code in simulator or your preferred device.
- Visualize the button, it will be black, not white.
Expected behavior The button should be white.
Smartphone / tablet
- Any IOS