> ## 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.

# CrossmintExportPrivateKeyButtonBuilder

> Flutter Type Alias

**Type Alias**

Builder signature for the visual of `CrossmintExportPrivateKeyButton`. The widget owns the loading state and the eligibility check; the builder receives `isLoading` and `onExport` so the consumer can render any tap target that fits their design system. `onExport` is `null` while the export is in flight so a consumer button (e.g. `ElevatedButton`) is automatically disabled without a separate mounted check.

```dart theme={null}
typedef CrossmintExportPrivateKeyButtonBuilder = Widget Function( BuildContext context, { required bool isLoading, required VoidCallback? onExport, })
```
