Pakete, Repositories und App-Kategorien suchen

GitHub-Repositoryenescerrahoglu/verification_code_field

Bestätigungscode-Feld

Dieses Paket bietet ein Eingabefeld, mit dem Sie in Ihren Anwendungen eine 4-, 5- oder 6-stellige Bestätigungsnummer eingeben können.

Projektcover von Bestätigungscode-Feld
Sterne
1
Forks
1
Letzter Push (UTC)
09.04.2026
Projektstatus
Aktiv

Original-README

Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.

VerificationCodeField

This package provides an input field that allows you to enter a 4, 5 or 6 digit verification code in your applications.

verification_code_field

Features

  • Customizable Digit Count: Supports verification codes of 4, 5, or 6 digits with CodeDigit enumeration, making it flexible for different authentication requirements.
  • Cursor and Focus Management: Allows seamless focus navigation between fields, automatically moving to the next field on entry or previous field on deletion.
  • Styling Options: Provides customization for border, fill color, cursor color, text style, and font to fit seamlessly into your app's theme.
  • Event Listener: Includes onSubmit callback to easily retrieve the entered code once all fields are filled.
  • Built-in Input Formatting: Ensures only digits are entered by default, preventing unintended characters in the verification code.
  • and more...

Getting started

Run this command:

flutter pub add verification_code_field

Usage

WhatsApp Image 2024-11-10 at 19 49 36

Additional information

  • Focus Management: The widget automatically handles focus changes, allowing a smooth user experience as users enter or delete code digits. The focus will move forward as the user types and backward if the current field is empty and the user deletes.
  • Event Handling: With onSubmit, you can easily retrieve the entire code once all fields are filled, making it perfect for submission in forms.
  • Modular and Reusable: The VerificationCodeField is designed to be reusable and adaptable, making it a valuable addition to any authentication or verification form within your app.

Screenshots

Enes Cerrahoğlu GitHub avatar
GitHub-Autor

Enes Cerrahoğlu ↗

Tech Entrepreneur | Software Engineer | Flutter Developer

Istanbul
SprachenDartC++CMakeRubySwiftCHTMLKotlinObjective-C

Kategorien

Von diesem Repository veröffentlichte Pakete

Verwendete Abhängigkeiten

Abhängigkeiten 4 Einträge

Wie wähle ich ein passendes Repository?

Nach Anwendungsfall filtern, Aktivität vergleichen und vor der Nutzung das Originalprojekt prüfen.

  1. Nach Name, Autor oder Beschreibung suchen und nach Thema eingrenzen.
  2. Sterne, Forks und letzte Pushes vergleichen. Sterne zeigen Interesse, garantieren aber keine Qualität.
  3. Vor der Nutzung README, Lizenz und Issues auf GitHub prüfen.

Quellen und Pflege

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗