पैकेज, रिपॉज़िटरी और ऐप श्रेणियाँ खोजें

flutter_verification_code_field कवर
पैकेज विवरणv1.2.2

flutter_verification_code_field

Flutter सत्यापन कोड इनपुट। मुख्य रूप से प्रमाणीकरण ईमेल या संदेशों से OTP कोड दर्ज करने या चिपकाने के लिए उपयोग किया जाता है।

AndroidiOS
30-दिन डाउनलोड
96
लाइक
27
Pub अंक
160

पैकेज इंस्टॉल करें

flutter pub add flutter_verification_code_field

पैकेज अवलोकन

सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।

एक फ्लटर पैकेज जो साफ, कस्टमाइज़ेबल सत्यापन कोड इनपुट फील्ड बनाने के लिए है, जो ईमेल या एसएमएस से ओटीपी कोड दर्ज करने या पेस्ट करने के लिए आदर्श है। यह फील्ड्स के बीच स्वचालित फोकस मैनेजमेंट, पेस्ट डिटेक्शन और उपकरणों के बीच चिकनी उपयोगकर्ता अनुभव का समर्थन करता है। सरलता और उपयोगकर्ता अनुभव के लिए डिज़ाइन किया गया है, एक बार के पासवर्ड की आवश्यकता वाले प्रमाणीकरण प्रवाह में बिना किसी दिक्कत के एकीकृत होता है।

उपयोग

  • लॉगिन के दौरान OTP दर्ज करें
  • द्विकारक प्रमाणीकरण
  • ईमेल/एसएमएस के माध्यम से खाता सत्यापन
  • बिना पासवर्ड लॉगिन
  • 6-अंकीय कोड के लिए फॉर्म सत्यापन
  • मोबाइल ऐप ऑनबोर्डिंग

मुख्य विशेषताएँ

  • कोड फील्ड्स के बीच स्वचालित फोकस
  • क्लिपबोर्ड से पेस्ट डिटेक्शन
  • कस्टमाइज़ेबल स्टाइलिंग
  • सभी स्क्रीन आकारों के लिए अनुकूल डिज़ाइन
  • Android और iOS दोनों का समर्थन करता है
  • फॉर्म कंट्रोलर्स के साथ आसान एकीकरण

इनके लिए उपयुक्त

  • प्रमाणीकरण प्रवाह बना रहे विकासक
  • OTP इनपुट की आवश्यकता वाले ऐप्स
  • उपयोगकर्ता अनुभव-केंद्रित मोबाइल एप्लिकेशन
  • कोड फ़ील्ड के लिए न्यूनतम सेटअप की आवश्यकता वाले प्रोजेक्ट
  • प्राथमिकता देने वाली टीमें एक्सेसिबिलिटी और उपयोगकर्ता अनुभव को

विचार योग्य बातें

  • प्रामाणिकता तर्क के हस्तचालित संभाल की आवश्यकता है
  • एकल पंक्ति संख्यात्मक इनपुट पर सीमित
  • डायनामिक फील्ड काउंट के लिए बिल्ट-इन सपोर्ट नहीं है
  • गैर-डिफ़ॉल्ट थीम के लिए अतिरिक्त स्टाइलिंग की आवश्यकता हो सकती है
  • बहु-चरण सत्यापन कार्यप्रवाह के लिए डिज़ाइन नहीं किया गया है

मूल README

संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।

Flutter Verification Code Field

A flutter package which contains a verification code field with a number of advantages, namely with the ability to customize your own validation pattern, customize the number of OTP fields or their size, as well as the spacing between OTP fields, also supports text insertion or character replacement in any cell.


Platform


Table of contents

Installing

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  flutter_verification_code_field: ^1.0.0
2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get
3. Import it

Now in your Dart code, you can use:

import 'package:flutter_verification_code_field/flutter_verification_code_field.dart';

Usage

VerificationCodeField is a Hook Widget that can be used for OTP verification. Include it in your code like:

    VerificationCodeField(
      length: 5,
      onFilled: (value) => print(value),
      size: Size(30, 60),
      spaceBetween: 16,
      matchingPattern: RegExp(r'^\d+$'),
    );

It has many configurable properties, including:

  • length – Number of the OTP Fields
  • size – Size of the single OTP Field
  • spaceBetween – Space between the OTP fields
  • matchingPattern – Pattern for validation

There are also custom callback:

  • onFilled – Callback function that is called when the verification code is filled

Bugs or Requests

If you encounter any problems feel free to open an issue. If you feel the library is missing a feature, please raise a ticket on GitHub and I'll look into it. Pull request are also welcome.

श्रेणियाँ

निर्भरताएँ

निर्भरता सूची 2 आइटम

सोर्स रिपॉज़िटरी

इस पैकेज का उपयोग करने वाले प्रोजेक्ट

अभी कोई डेटा उपलब्ध नहीं है।