Skip to content
pubscout

flutter_pin_code_widget

0.1.2, released 3 years ago by agoradesk.com

A Flutter widget for creating and checking local PIN code screens with flexible settings.

WASM-ready
$ flutter pub add flutter_pin_code_widget
Source repository

What it does

Provides a PIN code screen widget inspired by Android, supporting variable PIN lengths, enter callbacks, and a customizable center bottom widget.

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

Use it when

  • You need a dedicated PIN code input screen for local authentication.
  • You want a PIN widget with customizable minimum and maximum length.

Skip it when

  • You need complex form validation frameworks beyond PIN entry.
  • You require an out-of-the-box secure storage wrapper tied directly to the PIN.

Strengths

  • Supports flexible PIN lengths from minimum to maximum bounds.
  • Includes a centerBottomWidget property for additional buttons like biometrics.

Weaknesses

  • Limited documentation beyond basic usage examples.
  • Does not include built-in storage or crypto check mechanisms out-of-the-box.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
PinCodeWidget(
  minPinLength: 4,
  maxPinLength: 25,
  onChangedPin: (pin) {},
  onEnter: (pin, _) {},
)

Alternatives

Packages that do the same job and could replace flutter_pin_code_widget.

  • pinput

    Alternative customizable PIN input widget with extensive styling options.

  • pin_code_fields

    Popular alternative for OTP and PIN code fields with various styling features.