ArCaptchaController constructor
ArCaptchaController({})
Constructor initializes required fields and builds the HTML section.
Implementation
ArCaptchaController({
required this.siteKey,
this.lang = 'en',
this.domain = 'localhost',
this.onErrorMessage = 'Something went wrong, try again!',
this.errorPrint = 0,
this.captchaHeight = 550,
this.color = Colors.black,
this.theme = ThemeMode.light,
this.dataSize = DataSize.normal,
}) {
_htmlContent = _buildHtmlSection();
}