pin_input_text_field 3.0.0 pin_input_text_field: ^3.0.0 copied to clipboard
A textField widget to help display different style pin written in pure dart, no extra dependency.
[3.0.0] - 2019/12/30 #
- Update: minimum sdk version - 2.7
- New: add built-in
CircleDecoration
- New: support customized decoration, you can draw anything you want from now!
[2.1.0] - 2019/10/24 #
- New: add
hintText
for allPinDecoration
. - New: custom gapSpace support for
UnderlineDecoration
andBoxLooseDecoration
.
[2.0.3] - 2019/10/16 #
- New: add
onChanged
parameter. - Fix: fix null controller will not work in
PinInputTextFormField
.
[2.0.1] - 2019/09/27 #
- New: add 'PinInputTextFormField' to support form validate. Thanks to rajajain08.
[2.0.0] - 2019/08/12 #
- Update: parameter
pinEditingController
renamed tocontroller
. - Remove: remove the
PinEditingController
class, just simply useTextEditingController
. - Fix: support dynamically changing of length & controller.
- New: allow custom
key
. - Notice: Please set the selection when you set the text programmatically.
[1.0.1] - 2019/06/23 #
- Fix: fix fatal error
[1.0.0] - 2019/06/23 #
- Update: obscure text support emoji now.
[0.4.0] - 2019/05/23 #
- New: add 'enable' to control pin input.
[0.3.1] - 2019/05/12 #
- Update: complete example
readme.md
andpubspec.yaml
.
[0.3.0] - 2019/04/09 #
- New: no need to correct user's input.
- New: align actual text in center to make popup window more natural.
- New: obscure mode is always on now.
- New: add
textInputAction
to control TextInputAction.
Breaking Change #
PinEditingController
constructor must provide pinLength.PinEditingController
constructor provide new fieldautoDispose
to simplify dispose.PinTextField
constructor removewidth
andheight
field, if you want customize size of thePinInputTextField
, you can wrap aContainer
widget.
[0.2.1] - 2019/01/20 #
- change default color of underlineDecoration from Colors.Black to Colors.cyan.
- add more detail example.
[0.2.0] - 2019/01/20 #
- add keyboardType & inputFormatters control.
- add autoFocus & focusNode control.
- add controller to assign pin.
[0.1.1] - 2019/01/09 #
- change license from MIT to Apache.
[0.1.0] - 2019/01/09 #
- add comment to help understand source code.
- add obscure style to be more customize.
- add onPinChanged to observe the text changed.
- add solidColor to set background color in BoxLooseDecoration & BoxTightDecoration.
- add enteredColor for UnderlineDecoration&BoxLooseDecoration.
- remove const default variable in PinInputTextField.
- fix wrong place in painting
[0.0.1] - 2018/12/24. #
- first commit.