I've created a Widget that shows the correct button depending on the platform.
There is a big problem.
If the parent widget changes priceInCents, the widget DOES rebuild, however the original price is still saved in the Button.
This is for a donate page, the $18 option is selected by default.
However if a user selects another amount and we call setState(), the button will still charge the original amount.
This is a very significant bug!!!
I've created a Widget that shows the correct button depending on the platform. There is a big problem. If the parent widget changes
priceInCents
, the widget DOES rebuild, however the original price is still saved in the Button.This is for a donate page, the $18 option is selected by default. However if a user selects another amount and we call
setState()
, the button will still charge the original amount. This is a very significant bug!!!