basic_otp_field 0.1.5 basic_otp_field: ^0.1.5 copied to clipboard
The `BasicOTPInput` widget is a customizable One Time Password (OTP) input widget for Flutter applications.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add basic_otp_field
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
basic_otp_field: ^0.1.5
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:basic_otp_field/basic_otp_field.dart';