패키지, 저장소 및 앱 카테고리 검색

GitHub 저장소enescerrahoglu/verification_code_field

인증 코드 필드

이 패키지는 애플리케이션에서 4자, 5자 또는 6자인 인증 코드를 입력할 수 있는 입력 필드를 제공합니다.

인증 코드 필드 프로젝트 이미지
스타
1
포크
1
최근 푸시(UTC)
2026. 4. 9.
프로젝트 상태
활성

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 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 작성자

Enes Cerrahoğlu ↗

Tech Entrepreneur | Software Engineer | Flutter Developer

Istanbul
언어DartC++CMakeRubySwiftCHTMLKotlinObjective-C

분류

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 4 개

프로젝트에 맞는 저장소를 선택하려면?

사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.

  1. 이름, 작성자 또는 설명으로 검색하고 기술 주제로 범위를 좁힙니다.
  2. 스타, 포크, 최근 푸시를 함께 비교하세요. 스타는 관심의 지표이며 품질을 보장하지 않습니다.
  3. 사용하기 전에 GitHub에서 README, 라이선스, Issues를 확인하세요.

출처 및 관리

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

GitHub Docs — About repositories ↗