Skip to content

aaort/verification_code_field

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This package is only tested on Android and iOS !!!

Overview

Simple verification code input field.

Carefully read available props and functionalities to be able to decide whether this package is what you're looking for or not. In case you need more advanced features you can take a look at Flutter_Pinput and pin_code_fields.

Demo


Features

Create verification code field with custom look and behavior.

  • Provide custom header widget to be displayed above the field.
  • Customize cells to look the way that is required by your design.

Getting started

  • Add package to your dependencies in pubspec.yaml file.
  • Run flutter pug get.
  • Import it: import 'package:verification_code_field/verification_code_field.dart';.

Usage

The only required prop is length, here is a minimal example that you can copy and paste inside your project.

VerificationCodeField(
    length: 4,
    onSubmit: () => print('Submitted'),
    //...
)

Additional information

I'm open to contributions and suggestions, in case of any issues you can DM me or open a new issue.

About

A simple package for code verification

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published