jc_captcha 1.0.0 copy "jc_captcha: ^1.0.0" to clipboard
jc_captcha: ^1.0.0 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

2
likes
145
pub points
0%
popularity

Publisher

unverified uploader

A captcha plugin.

Repository

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on jc_captcha