ApoloPayButton constructor
const
ApoloPayButton({
- Key? key,
- ApoloPayClient? client,
- String? processId,
- String? productTitle,
- void onSuccess(
- BuildContext context,
- ClientResponse<
QrResponseData> response
- void onPartialPayment(
- BuildContext context,
- ClientResponse<
PartialPaymentResponseData> response
- void onError(
- BuildContext context,
- ClientError error
- void onExpired(
- BuildContext context,
- ClientError error
- Widget builder(
- BuildContext context,
- void handlePress()
- String label = 'Apolo Pay',
- bool loading = false,
- bool disabled = false,
- I18nLocale? locale,
Implementation
const ApoloPayButton({
super.key,
this.client,
this.processId,
this.productTitle,
this.onSuccess,
this.onPartialPayment,
this.onError,
this.onExpired,
this.builder,
this.label = 'Apolo Pay',
this.loading = false,
this.disabled = false,
this.locale,
});