verification_code 0.0.4

SDKflutter
Platformandroidioswindowslinuxmacosweb

The project is a Dart library for SMS verification codes, Supports four types of display form, rectangle, line, and circle.

Description

The project is a Dart library for SMS verification codes.

Features

Getting started

verification_code:^0.0.4

Usage

   VerificationCode(
      height: 50,
      style: CodeStyle.form,
      maxLength: 4,
      itemWidth: 50,
      onCompleted: (String value) {
          print("CodeStyle.form value=$value");
      },
    ),

Code Style

stylecode
formVerificationCode(style: CodeStyle.form)
rectangleVerificationCode(style: CodeStyle.rectangle)
lineVerificationCode(style: CodeStyle.line)
circleVerificationCode(style: CodeStyle.circle)