otp_autofill_field 1.2.0
otp_autofill_field: ^1.2.0 copied to clipboard
Self-contained Flutter OTP field: PIN UI with automatic Android SMS Retriever and iOS one-time-code keyboard autofill, plus a resend timer. No external OTP/PIN dependency.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add otp_autofill_fieldThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
otp_autofill_field: ^1.2.0Alternatively, 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_autofill_field/otp_autofill_field.dart';