ctocto / pw_edit_field

flutter 密码框

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pw_edit_field

flutter 密码输入框

flutter password input box

Supported Platforms

  • Android
  • iOS

How to Use

# add this line to your dependencies
pw_edit_field: ^1.0.1+2
import 'package:pw_edit_field/pw_edit_field.dart';
///输入完成后自动关闭输入法,并返回输入值
///Automatically close the input method after the input is completed, and return the input value

 PWEditField(
    textFieldCount: 6,
    onInputDone: (pw){
      
    },
  ),
  
  ///输入后,通过controller.text获取输入值
  ///After input, get the input value through controller.text
  
  PWEditField(
     textFieldCount: 3,
     controller: _controller,
   ),
  

About

flutter 密码框

License:Apache License 2.0


Languages

Language:Dart 93.4%Language:Java 3.4%Language:Swift 2.9%Language:Objective-C 0.3%