dxcaptcha_flutter 0.0.1+1 dxcaptcha_flutter: ^0.0.1+1 copied to clipboard
DingXiang Captcha for Flutter
DingXiang Captcha for Flutter #
Getting Started #
DxCaptchaFlutter.setMethodCallHandler((MethodCall call) async {
if (call.method == 'success' && call.arguments != null) {
final res = call.arguments as Map<dynamic, dynamic>;
final dxToken = res['token'] as String?;
} else if (call.method == 'error') {
}
});
await DxCaptchaFlutter.show({
'appId': '26ba29b6a3744dbebee8e46fbe3f311a',
'language': 'en',
});