Skip to content
pubscout

gesture_password_widget

2.0.1, released 4 years ago by an unverified publisher

A highly customizable gesture-unlocking widget for Flutter applications.

WASM-readyUnverified publisher
$ flutter pub add gesture_password_widget
Source repository

What it does

Provides a grid-based gesture lock widget where users can draw patterns to unlock or authenticate. Supports custom items for normal, selected, error, and arrow states, as well as line color adjustments, answer validation, and loose point matching.

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

Use it when

  • You need a gesture unlock or pattern confirmation screen in your app.
  • You require high customization of the gesture nodes, arrows, and lines.

Skip it when

  • You need standard biometric authentication (Face ID / Fingerprint) instead of a drawn pattern.

Strengths

  • Highly customizable appearance for normal, selected, and error states.
  • Supports answer validation, minimum length constraints, and custom arrow indicators.

Weaknesses

  • Limited to gesture lock UI use cases.
  • Does not include built-in persistent storage for the secret pattern.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

None

GesturePasswordWidget(
  lineColor: const Color(0xff0C6BFE),
  errorLineColor: const Color(0xffFB2E4E),
  singleLineCount: 3,
  identifySize: 80.0,
  minLength: 4,
  answer: [0, 1, 2, 4, 7],
  onComplete: (data) {
    print(data);
  },
)

Alternatives

Packages that do the same job and could replace gesture_password_widget.