slider_captcha
BrianTV98/slider_captcha open-source repository details.
- Stars
- 34
- Forks
- 26
- Last push (UTC)
- Sep 12, 2023
- Project status
- Active
Original README
English project snapshot. Visit GitHub for the latest content.
SLIDER CAPTCHA
Authentication by image
Install
- In your
pubspec.yamlroot add:
Demo
Code Example
Slider Captcha verify with client
SliderCaptcha(
controller: controller,
image: Image.asset(
'assets/image.jpeg',
fit: BoxFit.fitWidth,
),
colorBar: Colors.blue,
colorCaptChar: Colors.blue,
onConfirm: (value) {
Future.delayed(const Duration(seconds: 1)).then(
(value) {
controller.create();
},
);
},
),
Slider Captcha verify with server:
SliderCaptchaClient(
provider: SliderCaptchaClientProvider(
base64Image,
base64Piece,
coordinateY,
),
onConfirm: (value) async {
/// Can you verify captcha at here
await Future.delayed(const Duration(seconds: 1));
debugPrint(value.toString());
},
),
How to implement server: reference:github
Thank you i5hi recommended and supported 'verify by server' feature.
For details refer to the discussion
LanguagesDartHTMLRubySwiftKotlinObjective-C
Dependencies used
Dependency list 3 items
- flutter
{"sdk":"flutter"} - flutter_testDevelopment
{"sdk":"flutter"} - lintsDevelopment
^1.0.1
How do I choose a repository?
Start with your use case, compare repository activity, and check the original project before adopting it.
- Search by repository name, owner or description, then narrow the results by topic.
- Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
- Read the README, license and issues on GitHub before using a project.
Sources and maintenance
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗
- BrianTV98/slider_captcha · GitHub ↗
- GitHub Docs — Saving repositories with stars ↗
- Directory maintained by Ducafecat ↗
