Skip to content
pubscout

slider_captcha

1.1.0, released 5 months ago by brian98.com

A slider captcha widget for user authentication and drag-and-drop validation.

WASM-ready
$ flutter pub add slider_captcha
Source repository

What it does

Provides customizable slide captcha widgets (similar to Binance) for client-side or server-side validation. Allows users to drag and drop puzzle pieces or rotate circular images to verify authentication.

AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a slide captcha widget for user verification.
  • You want support for both client-side and server-side captcha verification.

Skip it when

  • You need standard text-based or reCAPTCHA-style validation.
  • You do not require user-facing captcha widgets.

Strengths

  • Supports both client and server verification workflows.
  • Offers customization options such as circle mode, custom sizes, and styling.
  • Includes built-in error threshold configuration.

Weaknesses

  • Changelog entries are minimal and lack detailed feature documentation.
  • Depends entirely on manual custom setup for server validation endpoints.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
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();
      },
    );
  },
)

Alternatives

Packages that do the same job and could replace slider_captcha.