RecaptchaVerifier class Null safety

An reCAPTCHA-based application verifier.

Constructors

RecaptchaVerifier({String? container, RecaptchaVerifierSize size = RecaptchaVerifierSize.normal, RecaptchaVerifierTheme theme = RecaptchaVerifierTheme.light, RecaptchaVerifierOnSuccess? onSuccess, RecaptchaVerifierOnError? onError, RecaptchaVerifierOnExpired? onExpired})
Creates a new RecaptchaVerifier instance used to render a reCAPTCHA widget when calling signInWithPhoneNumber. [...]
factory

Properties

delegate RecaptchaVerifierFactoryPlatform
Returns the underlying factory delegate instance.
@protected, read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type String
The application verifier type. For a reCAPTCHA verifier, this is 'recaptcha'.
read-only

Methods

clear() → void
Clears the reCAPTCHA widget from the page and destroys the current instance.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
render() Future<int>
Renders the reCAPTCHA widget on the page. [...]
toString() String
A string representation of this object. [...]
inherited
verify() Future<String>
Waits for the user to solve the reCAPTCHA and resolves with the reCAPTCHA token.

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited