CheckoutWidget constructor
const
CheckoutWidget({
- Key? key,
- List<
CartItem> ? items, - String? administratorId,
- String? depositRequestId,
- String? gatewayPublicKey,
- void onSuccess()?,
- void onError()?,
- void onStatusChange()?,
- bool showPix = true,
- bool showCard = true,
- Widget? loadingWidget,
- Widget? errorWidget,
- bool showSubmitButton = true,
- CheckoutWidgetController? controller,
- CheckoutStore? store,
Implementation
const CheckoutWidget({
super.key,
this.items,
this.administratorId,
this.depositRequestId,
this.gatewayPublicKey,
this.onSuccess,
this.onError,
this.onStatusChange,
this.showPix = true,
this.showCard = true,
this.loadingWidget,
this.errorWidget,
this.showSubmitButton = true,
this.controller,
this.store,
});