AltchaWidget constructor
AltchaWidget({
- Key? key,
- Map<
String, dynamic> ? challengeJson, - String? challengeUrl,
- bool debug = false,
- int? delay,
- bool? hideLogo,
- ValueChanged<
Object> ? onFailed, - ValueChanged<
AltchaServerVerification> ? onServerVerification, - ValueChanged<
String> ? onVerified, - String? verifyUrl,
- Client? httpClient,
- Map<
String, String> ? httpHeaders,
Implementation
AltchaWidget({
super.key,
this.challengeJson,
this.challengeUrl,
this.debug = false,
this.delay,
this.hideFooter,
this.hideLogo,
this.onFailed,
this.onServerVerification,
this.onVerified,
this.verifyUrl,
http.Client? httpClient,
Map<String, String>? httpHeaders,
}) : httpClient = httpClient ?? http.Client(),
httpHeaders = httpHeaders ?? const {};