Skip to main content

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.

Class Shared base layout for OAuth sign-in buttons matching the official Crossmint RN SDK OAuthButton component.
class CrossmintOAuthButtonBase extends StatelessWidget
Full-width, 56px min height, icon positioned left, label centered.

Constructors

CrossmintOAuthButtonBase

const CrossmintOAuthButtonBase({
  super.key,
  required this.icon,
  required this.label,
  this.onPressed,
  this.isLoading = false,
})

Properties

icon

final Widget icon
Leading icon rendered on the left side of the button. Typically a provider logo (Google, Twitter/X, …).

label

final String label
Centered button label. The shared layout does not auto-prefix the label with “Continue with”; pass the full string.

onPressed

final VoidCallback? onPressed
Called when the user taps the button. When null, the button is rendered in a disabled visual state and ignores taps.

isLoading

final bool isLoading
When true, the button is non-interactive and a loading indicator is shown in place of the icon. Defaults to false.

Methods

build

Widget build(BuildContext context)