payBtnKey property
If you would like to control the pay button state to display text or icons
based on the current stage of the payment process, you will need to
provide a CardPayButtonState
key to update it.
Implementation
final GlobalKey<CardPayButtonState>? payBtnKey;