otp_input 1.0.4 copy "otp_input: ^1.0.4" to clipboard
otp_input: ^1.0.4 copied to clipboard

A Flutter package that provides customizable OTP (One-Time Password) input fields. Supports multiple field styles (box, underline, dash), flexible spacing, text styling, and validation to easily integ [...]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add otp_input

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  otp_input: ^1.0.4

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:otp_input/otp_input.dart';
2
likes
120
points
50
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package that provides customizable OTP (One-Time Password) input fields. Supports multiple field styles (box, underline, dash), flexible spacing, text styling, and validation to easily integrate OTP verification into your apps.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on otp_input