Last updated:
0 purchases
simple captcha
Lightweight yet powerful, this package offers customizable CAPTCHA generation with varying difficulty levels.
Description #
This package offers two types of CAPTCHA generation: simple CAPTCHAs, which involve the sum of two numbers, and difficult CAPTCHAs, which involve the multiplication of two numbers. It's useful for adding CAPTCHA functionality to Flutter applications, such as user authentication forms or verification processes.
Supported Operating Systems #
This package is compatible with the following operating systems:
Android
iOS
Web
macOS
Windows
Linux
Installation #
To use this package, add your_package_name as a dependency in your pubspec.yaml file.
dependencies:
your_package_name: ^1.0.0
copied to clipboard
Then, import the package in your Dart code:
import 'package:your_package_name/captcha.dart';
copied to clipboard
Usage #
Once installed, you can use the SimpleCaptcha and DifficultCaptcha classes to generate CAPTCHAs in your Flutter application.
Simple CAPTCHA #
final simpleCaptcha = SimpleCaptcha();
print('Equation: ${simpleCaptcha.equation}');
print('Answer: ${simpleCaptcha.answer}');
copied to clipboard
Difficult CAPTCHA #
final difficultCaptcha = DifficultCaptcha();
print('Equation: ${difficultCaptcha.equation}');
print('Answer: ${difficultCaptcha.answer}');
copied to clipboard
☕️ Liked my work? Buy me a coffee to support my coding sessions!
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.