pin_input_text_field

PinInputTextField is a TextField widget to help display different style pin.

Example

Decoration

UnderlineDecoration

underline

BoxLooseDecoration

boxloose

BoxTightDecoration

boxtight

Installing

Install the latest version from pub.

ObscureStyle

/// Determine whether replace [obscureText] with number.
final bool isTextObscure;
/// The display text when [isTextObscure] is true
final String obscureText;

Known Issue

The PinEditingController listener will execute more than once in some situations, you can filter some duplicate values in your code.

GitHub

https://github.com/TinoGuo/pin_input_text_field