pin_otp_field library

Classes

BoxOtpDecorator
BoxOtpDecorator renders OTP fields with boxed borders and customizable corner radius. Uses an OutlineInputBorder with rounded corners and optional fill color. The hint character displays when the field is empty.
OtpFieldDecorator
Abstract interface for OTP field decoration Defines a method to obtain the input decoration for each OTP input box. This enables multiple different styles (boxed, circular, underline, custom).
PinOtpField
A customizable PIN/OTP input widget that allows input of fixed-length numeric codes.