Last updated:
0 purchases
jc captcha
jc_captcha #
A captcha plugin of Flutter.
Getting Started #
You can install jc_captcha in your project by flutter pub add:
flutter pub add jc_captcha
copied to clipboard
import 'package:flutter/material.dart';
import 'package:jc_captcha/jc_captcha.dart';
void main() {
runApp(MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Captcha Plugin Example'),
),
body: CaptchaWidget(
imageUrl:
'http://thispage.tech:9680/jclee1995/flutter-jc-captcha/-/raw/master/example/test_picture.png',
onSuccess: () {
print('CAPTCHA验证成功');
},
onFail: () {
print('CAPTCHA验证失败');
},
),
),
));
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.