verify_code_field 0.1.0 copy "verify_code_field: ^0.1.0" to clipboard
verify_code_field: ^0.1.0 copied to clipboard

Clean, responsive verification code (OTP) field with any number of boxes, easy delete and paste, and SMS code auto-fill on Android and iOS.

0.1.0 #

  • Initial release: VerifyCodeField, a verification code (OTP) field drawn as a row of boxes. 6 boxes by default; any count (4, 5, 8…) with length.
  • Typing fills left to right, Backspace removes the last character, and pasting a whole SMS keeps just the code. Hardware keyboards work too.
  • Boxes, gaps and text shrink to fit narrow screens and large text sizes.
  • Three shapes (outlined, filled, underline), colours from ThemeData, error message with a short shake, hidden characters, letters-and-digits codes.
  • SMS auto-fill: the keyboard's one-time-code suggestion on iOS, and Google's SMS User Consent or SMS Retriever API on Android (no SMS permission).
  • extractVerifyCode to find a code in any message.
1
likes
160
points
53
downloads

Documentation

API reference

Publisher

verified publisherljthao.com

Weekly Downloads

Clean, responsive verification code (OTP) field with any number of boxes, easy delete and paste, and SMS code auto-fill on Android and iOS.

Repository (GitHub)
View/report issues

Topics

#otp #pin-code #verification-code #sms #autofill

License

MIT (license)

Dependencies

flutter, flutter_web_plugins

More

Packages that depend on verify_code_field

Packages that implement verify_code_field