> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CrossmintCheckoutCryptoPayment

> Flutter Final Class

**Final Class**

Crypto payment configuration — on-chain payment via a user-connected wallet or the Crossmint-hosted wallet flow.

```dart theme={null}
final class CrossmintCheckoutCryptoPayment
```

Set `enabled` to `false` to hide the crypto tab. When enabled, optionally
attach a `payer` to let the app drive signing —
`CrossmintEvmWalletCheckoutPayer` is the easiest way to bridge a
`CrossmintEvmWallet` into a payer.

## Constructors

### CrossmintCheckoutCryptoPayment

```dart theme={null}
const CrossmintCheckoutCryptoPayment({
  required this.enabled,
  this.defaultChain,
  this.defaultCurrency,
  this.payer,
})
```

Creates a crypto payment config.

## Properties

### enabled

```dart theme={null}
final bool enabled
```

Whether crypto payments are enabled.

### defaultChain

```dart theme={null}
final String? defaultChain
```

Chain preselected in the crypto tab (e.g. `"base"`, `"solana"`). Must appear in the payer's `CrossmintCheckoutPayer.supportedChains` when a payer is attached.

### defaultCurrency

```dart theme={null}
final String? defaultCurrency
```

Currency preselected in the crypto tab (e.g. `"USDC"`).

### payer

```dart theme={null}
final CrossmintCheckoutPayer? payer
```

Optional app-side signer bridge. When null, the hosted page presents its own wallet-connect flow.
