otp_pin_field_fork 1.3.1
otp_pin_field_fork: ^1.3.1 copied to clipboard
A flutter package which will help you to generate pin code fields with beautiful design and animations. Can be useful for OTP or pin code inputs.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add otp_pin_field_fork
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
otp_pin_field_fork: ^1.3.1
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_field_fork/main.dart';
import 'package:otp_pin_field_fork/otp_pin_field.dart';
import 'package:otp_pin_field_fork/otp_pin_field_method_channel.dart';
import 'package:otp_pin_field_fork/otp_pin_field_platform_interface.dart';
import 'package:otp_pin_field_fork/otp_pin_field_web.dart';