Class Export private key button matching the official Crossmint RN SDKDocumentation Index
Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
Use this file to discover all available pages before exploring further.
ExportPrivateKeyButton component.
wallet.canExportPrivateKey is true (email/phone signers).
Returns SizedBox.shrink otherwise.
Headless consumers can supply a childBuilder to swap the Material
default button for their own widget while keeping the eligibility check
and loading state management. Pure-headless consumers can bypass this
widget entirely and call wallet.exportPrivateKey() directly from their
own button.
Constructors
CrossmintExportPrivateKeyButton
Properties
wallet
CrossmintRuntimeWalletBase.canExportPrivateKey is true (email/phone signer wallets).
onExported
onError
childBuilder
null, falls back to the React Native parity Material OutlinedButton with a themed CircularProgressIndicator while the export is in flight. When non-null, the builder is invoked whenever the wallet is eligible to export and receives the current isLoading flag plus an onExport callback that the consumer wires to their own tap target. The onExport callback is null while loading so consumers can disable their button directly without a separate mounted check.

