childOnError property

Widget? childOnError
final

A replacement widget shown instead of the button when the payment process errors. This can be used to show a different checkout button or an error message.

Implementation

final Widget? childOnError;