otp_pin 0.1.2 otp_pin: ^0.1.2 copied to clipboard
A Flutter OTP Pin package. It is very minimal and allows users to input obfsicated four digit pin and gets callback when done.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add otp_pin
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
otp_pin: ^0.1.2
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_pin/otp_pin.dart';