show static method
Implementation
static Future<Map?> show(BuildContext context) async {
if (_initialUrl == null && _siteKey == null) {
throw Exception(
'hCaptcha not yet initialized. Initialize it with siteKey or initialUrl');
}
return Navigator.push<Map>(
context,
MaterialPageRoute(
builder: (context) => const HCaptchaScreen(),
),
);
}