CallbackFn typedef

CallbackFn = void Function(CredentialResponse credentialResponse)

The type of the callback used to create an IdConfiguration.

Describes a JavaScript function that handles ID tokens from CredentialResponses.

Google One Tap and the Sign In With Google button popup UX mode use this attribute.

Implementation

typedef CallbackFn = void Function(CredentialResponse credentialResponse);