GithubHelp home page GithubHelp logo

tiny-express / flutter_verification_code_input Goto Github PK

View Code? Open in Web Editor NEW
48.0 4.0 35.0 3.01 MB

Verify code input. You can create a verify code input.

License: MIT License

Java 3.65% Objective-C 7.55% Dart 88.81%
verification verify-input flutter-verify-code flutter-demo flutter

flutter_verification_code_input's Introduction

flutter_verification_code_input

  • A Flutter package that help you create a verification input.

Installing

  flutter_verification_code_input:
    git:
      url: git://github.com/tiny-express/flutter_verification_code_input
    version: ^0.1.2
import'package:flutter_verification_code_input/flutter_verification_code_input.dart';

Usage

  VerificationCodeInput(
      keyboardType: TextInputType.number,
      length: 4,
      autofocus: true,
      onCompleted: (String value) {
        //...
        print(value);
      },
  )

Showcase

Showcase|100x100, 10%

flutter_verification_code_input's People

Contributors

dendle avatar kientux avatar loint avatar nploi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

flutter_verification_code_input's Issues

Changing VerificationCodeInput length

I changed the length of VerificationCodeInput form 4 to 6 and I'm having errors like this.
RangeError (index): Invalid value: Not in range 0..3, inclusive: 4

Invalid value: Not in range 0..3, inclusive: 4

VerificationCodeInput(
keyboardType: TextInputType.number,
length: 5,
autofocus: true,
onCompleted: (String value) {
code = value;
},
),
If I set input length more than 4 (for example 5 or 6) I get this error:

Invalid value: Not in range 0..3, inclusive: 4

Could not find a file named

Could not find a file named "pubspec.yaml" in git://github.com/tinylife-io/flutter_verification_code_input.git b712a172f9694745f50505c93340883493b505e5.

How to disable autofocus?

Hi there,

How can I avoid the autofocus when loading a screen that contains this resource?

Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.