jc_captcha 1.0.1 copy "jc_captcha: ^1.0.1" to clipboard
jc_captcha: ^1.0.1 copied to clipboard

A captcha plugin.

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
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验证失败');
        },
      ),
    ),
  ));
}

Alt text

3
likes
145
points
23
downloads

Publisher

unverified uploader

Weekly Downloads

A captcha plugin.

Repository

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on jc_captcha