CrossmintPaymentMethodManagementLoadingBuilder typedef

CrossmintPaymentMethodManagementLoadingBuilder = Widget Function(BuildContext context)

Builder signature for the overlay rendered on top of the hosted payment-method-management WebView while the hosted page is loading. Consumers can supply a custom builder via CrossmintPaymentMethodManagement.loadingBuilder to swap the default Material spinner for their own design-system loading state. Mirrors the CrossmintCheckoutLoadingBuilder pattern exposed by CrossmintEmbeddedCheckout.

Implementation

typedef CrossmintPaymentMethodManagementLoadingBuilder =
    Widget Function(BuildContext context);