Skip to content
pubscout

flutter_otp_kit

3.1.1, released a year ago by an unverified publisher

A comprehensive OTP verification package with SMS autofill, biometric integration, and custom animations.

WASM-readyUnverified publisher
$ flutter pub add flutter_otp_kit
Source repository

What it does

Provides fully customizable OTP and verification code input fields supporting SMS autofill, custom field shapes, animations, rate limiting, and biometric integration.

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

Use it when

  • You need a feature-rich OTP code entry screen with SMS autofill.
  • You require advanced error handling, animations, and security configurations for verification inputs.

Skip it when

  • You only need a basic single text input field without dedicated PIN digit segmentation.

Strengths

  • Extensive customization options for shapes, cursors, and animations
  • Built-in SMS autofill and biometric security features
  • Comprehensive error handling and rate-limiting support

Weaknesses

  • May be overly heavy or complex if you only require a simple standalone PIN view

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

Requires platform-specific configuration for SMS retrieval APIs on Android if SMS autofill is used.

OtpKit(
  title: 'Verify Phone Number',
  subtitle: 'Enter the code sent to +1 (555) 123-4567',
  fieldCount: 4,
  onVerify: (otp) async {
    return await verifyOtpWithBackend(otp);
  },
  onResend: () {
    resendOtp();
  },
)

Alternatives

Packages that do the same job and could replace flutter_otp_kit.